From e4e2d2b7a3d7460ca39bdd95a551aad8f62a37c0 Mon Sep 17 00:00:00 2001 From: samuray22 Date: Sun, 12 Oct 2008 17:30:44 +0000 Subject: * Changed An nonexistent variable in Refine NPC. (bugreport:2340) * Fixed a Exploit in Thief Quest Skill. (bugreport:2332) * Fixed donpcevent to doevent. (bugreport:2311) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13288 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/quests/skills/thief_skills.txt | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'npc/quests/skills') diff --git a/npc/quests/skills/thief_skills.txt b/npc/quests/skills/thief_skills.txt index 9373e3ec5..a38f0020d 100644 --- a/npc/quests/skills/thief_skills.txt +++ b/npc/quests/skills/thief_skills.txt @@ -3,7 +3,7 @@ //===== By: ================================================== //= kobra_k88 //===== Current Version: ===================================== -//= 1.5 +//= 1.6 //===== Compatible With: ===================================== //= eAthena SVN //===== Description: ========================================= @@ -12,6 +12,7 @@ //= Stone Fling. //===== Additional Comments: ================================= //= 1.5 Rescripted to Aegis 10.3 stadards. [L0ne_W0lf] +//= 1.6 Fixed a Exploit for Assassins and Rogues. (bugreport:2332) [Samuray22] //============================================================ moc_prydb1,154,128,4 script Alcouskou#qsk_tf 118,{ @@ -28,7 +29,7 @@ moc_prydb1,154,128,4 script Alcouskou#qsk_tf 118,{ case 1: switch(THIEF_SK) { case 0: - if (countitem(7041) > 4 && (BaseJob == Job_Thief && JobLevel > 24) || BaseJob == Job_Assassin || BaseJob == Job_Rogue) { + if (countitem(7041) > 4 && ((BaseJob == Job_Thief && JobLevel > 24) || BaseJob == Job_Assassin || BaseJob == Job_Rogue)) { mes "[Alcouskou]"; mes "Luckily, you have brought some"; mes "sand with you. It is very important"; @@ -152,7 +153,7 @@ moc_prydb1,154,128,4 script Alcouskou#qsk_tf 118,{ close; } case 2: - if (countitem(940) > 19 && (BaseJob == Job_Thief && JobLevel > 34) || BaseJob == Job_Assassin || BaseJob == Job_Rogue) { + if (countitem(940) > 19 && ((BaseJob == Job_Thief && JobLevel > 34) || BaseJob == Job_Assassin || BaseJob == Job_Rogue)) { mes "[Alcouskou]"; mes "Okay! Let¡¯s practice!"; next; @@ -231,7 +232,7 @@ moc_prydb1,154,128,4 script Alcouskou#qsk_tf 118,{ close; } case 3: - if (countitem(912) > 0 && countitem(948) > 0 && countitem(908) > 4 && (BaseJob == Job_Thief && JobLevel > 19) || BaseJob == Job_Assassin || BaseJob == Job_Rogue) { + if (countitem(912) > 0 && countitem(948) > 0 && countitem(908) > 4 && ((BaseJob == Job_Thief && JobLevel > 19) || BaseJob == Job_Assassin || BaseJob == Job_Rogue)) { mes "[Alcouskou]"; mes "Wow, you have already prepared?"; mes "Great, I see promise in you. -"; @@ -323,7 +324,7 @@ moc_prydb1,154,128,4 script Alcouskou#qsk_tf 118,{ close; } case 4: - if (countitem(910) > 1 && countitem(911) > 1 && (BaseJob == Job_Thief && JobLevel > 14) || BaseJob == Job_Assassin || BaseJob == Job_Rogue) { + if (countitem(910) > 1 && countitem(911) > 1 && ((BaseJob == Job_Thief && JobLevel > 14) || BaseJob == Job_Assassin || BaseJob == Job_Rogue)) { mes "[Alcouskou]"; mes "Wow! Have you already gathered the items!"; mes "Very well, do you wish to begin?"; -- cgit v1.2.3-60-g2f50