summaryrefslogtreecommitdiff
path: root/npc/quests/skills/thief_skills.txt
diff options
context:
space:
mode:
authorsamuray22 <samuray22@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-10-12 17:30:44 +0000
committersamuray22 <samuray22@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-10-12 17:30:44 +0000
commite4e2d2b7a3d7460ca39bdd95a551aad8f62a37c0 (patch)
tree68a6cb15ebc7187b9bc70b5a06e05f2b0a4b121b /npc/quests/skills/thief_skills.txt
parenta8403380c4c7b0b2c45f29e4a31645ebcafc2b4e (diff)
downloadhercules-e4e2d2b7a3d7460ca39bdd95a551aad8f62a37c0.tar.gz
hercules-e4e2d2b7a3d7460ca39bdd95a551aad8f62a37c0.tar.bz2
hercules-e4e2d2b7a3d7460ca39bdd95a551aad8f62a37c0.tar.xz
hercules-e4e2d2b7a3d7460ca39bdd95a551aad8f62a37c0.zip
* 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
Diffstat (limited to 'npc/quests/skills/thief_skills.txt')
-rw-r--r--npc/quests/skills/thief_skills.txt11
1 files changed, 6 insertions, 5 deletions
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?";