diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-07-17 02:11:56 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-07-17 02:11:56 -0300 |
commit | c0fa3c6014d9059ba5222a983dc628cbdefa4c75 (patch) | |
tree | 7a5adc6312b2e92765e8ac5ca459b3c4a4aa77a1 | |
parent | da24c435eac8647e698bf003194d944bd86a557e (diff) | |
download | serverdata-c0fa3c6014d9059ba5222a983dc628cbdefa4c75.tar.gz serverdata-c0fa3c6014d9059ba5222a983dc628cbdefa4c75.tar.bz2 serverdata-c0fa3c6014d9059ba5222a983dc628cbdefa4c75.tar.xz serverdata-c0fa3c6014d9059ba5222a983dc628cbdefa4c75.zip |
Fix major bugs at Warrior
-rw-r--r-- | npc/00000SAVE/016-1_NewPaxel.forum.deserthelmet.txt | 173 |
1 files changed, 86 insertions, 87 deletions
diff --git a/npc/00000SAVE/016-1_NewPaxel.forum.deserthelmet.txt b/npc/00000SAVE/016-1_NewPaxel.forum.deserthelmet.txt index 902faa28c..a5ee35f70 100644 --- a/npc/00000SAVE/016-1_NewPaxel.forum.deserthelmet.txt +++ b/npc/00000SAVE/016-1_NewPaxel.forum.deserthelmet.txt @@ -4,142 +4,141 @@ // Create Quest: Darlord (Depredador) //---------------------------------------------------- -012-1.gat,122,115,0 script Warrior 126,{ -if(QUEST_Warrior1 == 2) goto L_Done1; -if(QUEST_Warrior1 == 1) goto L_Ask2; +012-1.gat,122,115,0 script Paxel 126,{ + if(QUEST_Warrior1 == 2) goto L_Done1; + if(QUEST_Warrior1 == 1) goto L_Ask2; -if (BaseLevel >= 60 && countitem("IronOre") > 0) -goto L_Ask1; + if (BaseLevel >= 60 && countitem(IronIngot) > 0) goto L_Ask1; -mes "[Warrior]"; -mes "\"Hello! Calm wind today!\""; -menu -"Yes, but I like windy days.", L_Wind, -"Hmm... sorry but gotta go...", L_Go; -close; + mesn; + mes "\"Hello! Calm wind today!\""; + menu + "Yes, but I like windy days.", L_Wind, + "Hmm... sorry but gotta go...", L_Go; + close; L_Go: -mes "[Warrior]"; -mes "\"Ok, good trip then.\""; -close; + mesn; + mes "\"Ok, good trip then.\""; + close; L_Wind: -mes "[Warrior]"; -mes "\"I don't like them, i can't fly straight.\""; -close; + mesn; + mes "\"I don't like them, i can't fly straight.\""; + close; // ---------------------------------------------------- // Desert Helmet quest start // ---------------------------------------------------- L_Ask1: -mes "[Warrior]"; -mes "\"Hello "+ strcharinfo(0) + "! I see you have some [Iron Ore] with you!\""; + mesn; + mes "\"Hello "+ strcharinfo(0) + "! I see you have some [Iron Ore] with you!\""; -menu -"Yes... right... what about [Iron Ore]?", L_Quest1, -"Yes, but i have grown attached to [Iron Ore]...", L_No, -"Right, but now i have business in other places.", L_Rude; -close; + menu + "Yes... right... what about [Iron Ore]?", L_Quest1, + "Yes, but i have grown attached to [Iron Ore]...", L_No, + "Right, but now i have business in other places.", L_Rude; + close; L_Quest1: -mes "[Warrior]"; -mes "\"Iron Ore is a really special item. People without helmets can't understand [Iron Ore] real power, anyway if you could give me some of them you would understand why they are so special.\""; + mesn; + mes "\"Iron Ore is a really special item. People without helmets can't understand [Iron Ore] real power, anyway if you could give me some of them you would understand why they are so special.\""; -menu -"Certainly, you can have all my [Iron Ore]", L_Check1, -"Sorry but i am not interested in that.", L_No; -close; + menu + "Certainly, you can have all my [Iron Ore]", L_Check1, + "Sorry but i am not interested in that.", L_No; + close; L_No: -mes "[Warrior]"; -mes "\"Ok, come back me when you want to know [Iron Ore] real power\""; -close; + mesn; + mes "\"Ok, come back me when you want to know [Iron Ore] real power\""; + close; L_Rude: -mes "[Warrior]"; -mes "\"Well, good luck with your business.\""; -close; + mesn; + mes "\"Well, good luck with your business.\""; + close; L_Check1: -if (countitem("IronOre") > 11) -goto L_Progress1; -goto L_More_Needed1; + if (countitem(IronIngot) > 11) + goto L_Progress1; + goto L_More_Needed1; L_More_Needed1: -mes "[Warrior]"; -mes "\"Your [Iron Ore] are not enough, please look for more.\""; -close; + mesn; + mes "\"Your [Iron Ore] are not enough, please look for more.\""; + close; // ---------------------------------------------------- // Got Iron Ores // ---------------------------------------------------- L_Progress1: -delitem "IronOre", 12; -getexp 10000, 0; -set QUEST_Warrior1, 1; -mes "[Angel]"; -mes "\"Perfect! you have enough Iron Ore, i will take them for now but i need other items in order to bring them to life.\""; + delitem IronIngot, 12; + getexp 10000, 0; + set QUEST_Warrior1, 1; + mes "[Angel]"; + mes "\"Perfect! you have enough Iron Ore, i will take them for now but i need other items in order to bring them to life.\""; L_Ask2: -mes "[Warrior]"; -mes "\"I need a two Infantry Helmet to enchant them, one Warlord Helmet to make them full of vitality and a lot of Terrnaite Ore to bleach them.\""; + mesn; + mes "\"I need a two Infantry Helmet to enchant them, one Warlord Helmet to make them full of vitality and a lot of Terranite Ore to make it more magical.\""; -menu -"Please have a look, i have what you asked", L_Check2, -"On my way to get what you need.", -; -close; + menu + "Please have a look, i have what you asked", L_Check2, + "On my way to get what you need.", -; + close; L_Check2: -if (countitem("InfantryHelmet") > 0 && countitem("WarlordHelmet") > 0 && countitem("TerraniteOre") > 0) -goto L_Progress2; -goto L_More_Needed2; + if (countitem(InfantryHelmet) > 0 && countitem(WarlordHelmet) > 0 && countitem(TerraniteOre) > 0) + goto L_Progress2; + goto L_More_Needed2; L_More_Needed2: -mes "[Warrior]"; -mes "\"I am sorry but i can see that you don't have all that i asked you.\""; -next; -mes "[Warrior]"; -mes "\"Please bring me that or i won't be able to make something really special for you.\""; -close; + mesn; + mes "\"I am sorry but i can see that you don't have all that i asked you.\""; + next; + mesn; + mes "\"Please bring me that or i won't be able to make something really special for you.\""; + close; // ---------------------------------------------------- // Got Desert // ---------------------------------------------------- L_Progress2: -if (@inventorylist_count == 100) goto L_noRoom; -delitem "InfantryHelmet", 1; -delitem "WarlordHelmet", 1; -delitem "TerraniteOre", 20; -getexp 60000, 0; -getitem "DesertHelmet", 1; -set QUEST_Warrior1, 2; -mes "[Warrior]"; -mes "\"There you go a special Desert Helmet!.\""; -close; + if (@inventorylist_count == 100) goto L_noRoom; + delitem InfantryHelmet, 1; + delitem WarlordHelmet, 1; + delitem TerraniteOre, 20; + getexp 60000, 0; + getitem PrsmHelmet, 1; + set QUEST_Warrior1, 2; + mesn; + mes "\"There you go a special Desert Helmet!.\""; + close; L_noRoom: -mes "[Warrior]"; -mes "\"You don't have enough room left for helmet... Please do spring cleaning in your inventory.\""; -close; + mesn; + mes "\"You don't have enough room left for helmet... Please do spring cleaning in your inventory.\""; + close; L_Done1: -mes "[Warrior]"; -mes "\"Hello winged friend! How is the wind today?\""; + mesn; + mes "\"Hello winged friend! How is the wind today?\""; -menu -"Calm, perfect for a fly!", L_Fly, -"Gale, not good to fly.", L_Wind2; -close; + menu + "Calm, perfect for a fly!", L_Fly, + "Gale, not good to fly.", L_Wind2; + close; L_Fly: -mes "[Warrior]"; -mes "\"Haha yes, you are right!\""; -close; + mesn; + mes "\"Haha yes, you are right!\""; + close; L_Wind2: -mes "[Warrior]"; -mes "\"Yep, i never fly in these days.\""; -close; + mesn; + mes "\"Yep, i never fly in these days.\""; + close; } |