Hello, I have a request for a script; Hopefully some of you guys will be able to help me out with this. I'd really appreciate any help with this, thanks in advance.
Note: ItemsX, Item Y and Item Z are only illustrations names.
Note: None of the NPCs mentioned have already be created, I'd appreciate if you included those
Now let's get to the NPC and the Quest.
A GuildMaster has the option to purchase a Service called "HQ" for his guild in the "Guild Services" NPC in prontera (152, 183). Once the "HQ" service is purchased, the guild master may upgrade it if he has the required items for each upgrade. There are 3 Upgrades available (Level 1, Level 2, Level 3, Level 4.).
Upgrade Cost:
Activate HQ: 2 itemX + 35itemY+ 200m (zeny)
Level 2: 4 itemX + 1itemZ + 15itemY+250m
Level 3: 5 itemX + 1item Z + 25itemY + 350m
Level 4: 10 itemX +2itemZ + 500m
Note: If the guild has a Level 4 Upgrade, players from said guild will be able to use the "Guild Quests" in (ayothaya 157 155). For everyone else, the NPC should say "This is only available for Guilds with a level 4 HQ"
During WoE, a second NPC called "Services NPC" is supposed to appear in (prt_gld 142, 72) and (pay_gld 294 123);
If a player clicks this Services NPC, the "Services NPC" will check if the player's guild has purchased the HQ services. If so, the npc will instantly buff him according to the player's guild current HQ level.
Buffs:
Level 1 HQ = Weapon Protection Level 2 HQ = Full Protection
Level 3 HQ = Agi Up, Blessing
Level 4 HQ = Wind Walk
For every other player the NPC should say "Your guild does not posses an HQ"
Thank you very much.