summaryrefslogtreecommitdiff
path: root/npc/005-1/maya.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/005-1/maya.txt')
-rw-r--r--npc/005-1/maya.txt89
1 files changed, 89 insertions, 0 deletions
diff --git a/npc/005-1/maya.txt b/npc/005-1/maya.txt
index 14cbe4027..d990abcfc 100644
--- a/npc/005-1/maya.txt
+++ b/npc/005-1/maya.txt
@@ -14,6 +14,7 @@
// 05 wolvern tooth +20k + 2000monster point ->claw pendant
005-1,49,47,0 script Maya NPC_RAIJIN_FEMALE_LEGION_ARTIS,{
+ function itemCombo;
.@maya = getq(CandorQuest_Maya);
if (.@maya == 0)
@@ -131,8 +132,96 @@ L_Quest2Completed:
L_NextQuestPending:
mesn;
mesq l("Thanks again for the help. You have proven that you are resourceful. Come back again later.");
+ switch (getequipid(EQI_HEAD_MID)) {
+ case CreasedShirt:
+ itemCombo(l("Creased"), l("All Stats +1"),
+ CreasedShirt, CreasedBoots, CreasedGloves, CreasedShorts);
+ break;
+ case CandorShirt:
+ itemCombo(l("Candor"), l("All Stats +1, Max HP +1%"),
+ CandorShirt, CandorBoots, CandorGloves, CandorShorts, CandorHeadBand);
+ break;
+ case CottonShirt:
+ itemCombo(l("Cotton"), l("All Stats +1, Max HP +1%, Max MP +5%"),
+ CottonShirt, CottonBoots, CottonGloves, 0,
+ CottonShorts, CottonTrousers, CottonSkirt, MiniSkirt);
+ break;
+ case MinerTankTop:
+ itemCombo(l("Miner"), l("All Stats +1, Vit +2"),
+ MinerTankTop, MinerGloves, MinerHat, 0,
+ MinerKnife, Pickaxe);
+ break;
+ case WarlordPlate:
+ itemCombo(l("Warlord"), l("All Stats +1, Block +2%"),
+ WarlordPlate, WarlordBoots, WarlordGloves, WarlordPants, WarlordHelmet);
+ break;
+ case GoldenWarlordPlate:
+ itemCombo(l("Golden Warlord"), l("All Stats +1, Block +2%"),
+ GoldenWarlordPlate, WarlordBoots, WarlordGloves, WarlordPants, WarlordHelmet);
+ break;
+ case Chainmail:
+ itemCombo(l("Chainmail"), l("Block +1%"),
+ Chainmail, ChainmailSkirt);
+ break;
+ case GoldenChainmail:
+ itemCombo(l("Golden Chainmail"), l("Block +1%"),
+ GoldenChainmail, ChainmailSkirt);
+ break;
+ case TerraniteArmor:
+ itemCombo(l("Terranite"), l("All Stats +1, MDEF +30%"),
+ TerraniteArmor, TerraniteBoots,
+ TerranitePants, TerraniteMask);
+ break;
+ case LeatherShirt:
+ itemCombo(l("Leather"), l("All Stats +2"),
+ LeatherShirt, LeatherBoots, LeatherGloves, LeatherTrousers);
+ break;
+ case AssassinChest:
+ itemCombo(l("Assassin"), l("All Stats +1, Agi +5"),
+ AssassinChest, AssassinBoots, AssassinGloves, AssassinPants);
+ break;
+ case SaviorArmor:
+ itemCombo(l("Savior"), l("All Stats +5"),
+ SaviorArmor, SaviorBoots, SaviorPants, SaviorHelmet, 0,
+ SaviorShield, Skypiercer);
+ break;
+ case SilkRobe:
+ itemCombo(l("Silk"), l("Passive MP Regen"),
+ SilkRobe, CottonBoots, 0,
+ SilkGloves, CottonGloves);
+ break;
+ case SorcererRobe:
+ itemCombo(l("Sorcerer"), l("Passive MP Regen"),
+ SorcererRobe, 0,
+ CottonBoots, WizardMoccasins, WitchBoots, 0,
+ CottonGloves, SilkGloves);
+ break;
+ }
close;
+function itemCombo {
+ next;
+ mesn;
+ mesq l("I see you're trying to use the %s set, nice!", b(getarg(0)));
+ mesq l("This set grants the following effect when complete:");
+ mesc getarg(1), 3;
+ next;
+ mesn;
+ mesq l("This set is composed by the following items:");
+ mes "";
+ for (.@i = 2; .@i < getargcount(); .@i++) {
+ if (getarg(.@i) <= 0)
+ mesc l("--- AND ANY OF ---");
+ else
+ mesc l("* %s", getitemlink(getarg(.@i))),(countitem(getarg(.@i)) ? 3 : 9);
+ }
+ mes "";
+ next;
+ mesn;
+ mesq l("To get the combo, you must fill all slots if one of the listed items. Usually any of the listed ones will do, but in rare cases it won't!");
+ return;
+}
+
L_Close:
closedialog;
goodbye;