* 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://svn.code.sf.net/p/rathena/svn/trunk@13288 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
samuray22 2008-10-12 17:30:44 +00:00
parent 2d9497a09d
commit 03e543b35a
4 changed files with 27 additions and 19 deletions

View File

@ -1,5 +1,9 @@
Date Added Date Added
====== ======
2008/10/12
* Changed An nonexistent variable in Refine NPC. (bugreport:2340) [Samuray22]
* Fixed a Exploit in Thief Quest Skill. (bugreport:2332)
* Fixed donpcevent to doevent. (bugreport:2311)
2008/09/30 2008/09/30
* Rev. 13250 Added Mercenary System related NPCs. [L0ne_W0lf] * Rev. 13250 Added Mercenary System related NPCs. [L0ne_W0lf]
* Rev. 13249 Full implementation of all Episode 11.3 Quests. [L0ne_W0lf] * Rev. 13249 Full implementation of all Episode 11.3 Quests. [L0ne_W0lf]

View File

@ -4,7 +4,7 @@
//= (Aegis) Translated by yoshiki, converted by kobra_k88 //= (Aegis) Translated by yoshiki, converted by kobra_k88
//= Further bugfixed and tested by Lupus //= Further bugfixed and tested by Lupus
//===== Current Version: ===================================== //===== Current Version: =====================================
//= 2.7 //= 2.8
//===== Compatible With: ===================================== //===== Compatible With: =====================================
//= eAthena SVN //= eAthena SVN
//===== Description: ========================================= //===== Description: =========================================
@ -20,6 +20,7 @@
//= 2.7 Now uses enable and disable waitingroomevent. [L0ne_W0lf] //= 2.7 Now uses enable and disable waitingroomevent. [L0ne_W0lf]
//= Other minor fixes to various NPCs. //= Other minor fixes to various NPCs.
//= 2.7a Added end; :D (bugreport:2038) [Yommy] //= 2.7a Added end; :D (bugreport:2038) [Yommy]
//= 2.8 Fixed donpcevent to doevent. (bugreport:2311) [SoulBlaker]
//============================================================ //============================================================
gef_tower,111,37,4 script Wizard Guildsman 70,{ gef_tower,111,37,4 script Wizard Guildsman 70,{
@ -1099,7 +1100,7 @@ OnMyMobDead:
if (.MyMobs < 1) { if (.MyMobs < 1) {
set WIZ_Q2,WIZ_Q2+1; set WIZ_Q2,WIZ_Q2+1;
mapannounce "job_wiz",strcharinfo(0)+" has succeeded in eliminating the monsters.",bc_map; mapannounce "job_wiz",strcharinfo(0)+" has succeeded in eliminating the monsters.",bc_map;
donpcevent "Room of Water#Door::OnEnable"; doevent "Room of Water#Door::OnEnable";
stopnpctimer; stopnpctimer;
} }
end; end;
@ -1188,8 +1189,8 @@ OnMyMobDead:
mapannounce "job_wiz",strcharinfo(0)+" has succeeded in eliminating the monsters.",bc_map; mapannounce "job_wiz",strcharinfo(0)+" has succeeded in eliminating the monsters.",bc_map;
warp "job_wiz",116,97; warp "job_wiz",116,97;
percentheal 100,100; percentheal 100,100;
donpcevent "Room of Water#Door::OnDisable"; doevent "Room of Water#Door::OnDisable";
donpcevent "Room of Earth::OnEnable"; doevent "Room of Earth::OnEnable";
stopnpctimer; stopnpctimer;
} }
end; end;
@ -1269,7 +1270,7 @@ OnMyMobDead:
set .MyMobs,.MyMobs-1; set .MyMobs,.MyMobs-1;
if (.MyMobs < 1) { if (.MyMobs < 1) {
mapannounce "job_wiz",strcharinfo(0) + " has succeeded in eliminating the monsters.",bc_map; mapannounce "job_wiz",strcharinfo(0) + " has succeeded in eliminating the monsters.",bc_map;
donpcevent "Room of Earth#Door::OnEnable"; doevent "Room of Earth#Door::OnEnable";
stopnpctimer; stopnpctimer;
} }
end; end;
@ -1360,8 +1361,8 @@ OnMyMobDead:
mapannounce "job_wiz",strcharinfo(0) + " has succeeded in eliminating the monster.",bc_map; mapannounce "job_wiz",strcharinfo(0) + " has succeeded in eliminating the monster.",bc_map;
percentheal 100,100; percentheal 100,100;
warp "job_wiz",46,99; warp "job_wiz",46,99;
donpcevent "Room of Earth#Door::OnDisable"; doevent "Room of Earth#Door::OnDisable";
donpcevent "Room of Fire::OnEnable"; doevent "Room of Fire::OnEnable";
stopnpctimer; stopnpctimer;
} }
end; end;
@ -1439,7 +1440,7 @@ OnMyMobDead:
set .MyMobs,.MyMobs-1; set .MyMobs,.MyMobs-1;
if (.MyMobs < 1) { if (.MyMobs < 1) {
mapannounce "job_wiz",strcharinfo(0) + " has succeeded in eliminating the monsters.",bc_map; mapannounce "job_wiz",strcharinfo(0) + " has succeeded in eliminating the monsters.",bc_map;
donpcevent "Room of Fire#Door::OnEnable"; doevent "Room of Fire#Door::OnEnable";
stopnpctimer; stopnpctimer;
} }
end; end;
@ -1525,8 +1526,8 @@ OnMyMobDead:
if (.MyMobs < 1) { if (.MyMobs < 1) {
mapannounce "job_wiz","Congratulations, " + strcharinfo(0) + ". You have passed the job change test.",bc_map; mapannounce "job_wiz","Congratulations, " + strcharinfo(0) + ". You have passed the job change test.",bc_map;
set WIZ_Q,7; set WIZ_Q,7;
donpcevent "Room of Fire#Door::OnDisable"; doevent "Room of Fire#Door::OnDisable";
donpcevent "Test Helper#wiz::OnEnable"; doevent "Test Helper#wiz::OnEnable";
stopnpctimer; stopnpctimer;
} }
end; end;
@ -1912,6 +1913,7 @@ gef_tower,107,36,4 script White Dog#wiz 81,{
mes "[Maria]"; mes "[Maria]";
mes "As I thought, I knew you'd be able to do it, I could smell it in yah! *Woof*"; mes "As I thought, I knew you'd be able to do it, I could smell it in yah! *Woof*";
mes "Now I can call you Wizard."; mes "Now I can call you Wizard.";
next; next;
mes "[Maria]"; mes "[Maria]";
mes "Congratulations. Always give your best at everything, no matter what."; mes "Congratulations. Always give your best at everything, no matter what.";
@ -1939,4 +1941,4 @@ gef_tower,107,36,4 script White Dog#wiz 81,{
//= 1.8 Removed callfunc Is_####_Class in favor of baseClass [Silentdragon] //= 1.8 Removed callfunc Is_####_Class in favor of baseClass [Silentdragon]
//= 2.1 Changed numbers to constants. [Vicious] //= 2.1 Changed numbers to constants. [Vicious]
//= 2.2 Merged back JFunc [Lupus] 2.2a Removed extra MES, added missing NEXT //= 2.2 Merged back JFunc [Lupus] 2.2a Removed extra MES, added missing NEXT
//= 2.3 Bigfoot monster summon corrected [Zairik] //= 2.3 Bigfoot monster summon corrected [Zairik]

View File

@ -3,7 +3,7 @@
//===== By: ================================================== //===== By: ==================================================
//= Syrus22 (1.1) dafide18 (1.4) Skotlex (1.5) //= Syrus22 (1.1) dafide18 (1.4) Skotlex (1.5)
//===== Current Version: ===================================== //===== Current Version: =====================================
//= 2.7a //= 2.8
//===== Compatible With: ===================================== //===== Compatible With: =====================================
//= Any Athena Version //= Any Athena Version
//===== Description: ========================================= //===== Description: =========================================
@ -49,7 +49,8 @@
//= 2.7 Refiner function accepts additional paramater. [L0ne_W0lf] //= 2.7 Refiner function accepts additional paramater. [L0ne_W0lf]
//= 0 = No special features; 1 = new refining features //= 0 = No special features; 1 = new refining features
//= Updated Repairmen and function. No longer shows menu. //= Updated Repairmen and function. No longer shows menu.
//= 2.76a A couple touch-ups to the repairman function. [L0ne_w0lf] //= 2.7a A couple touch-ups to the repairman function. [L0ne_w0lf]
//= 2.8 Changed the nonexistent variable .@matname$ for getitemname(.@material). (bugreport:2340) [Samuray22]
//============================================================ //============================================================
@ -606,7 +607,7 @@ function script refinemain {
} }
set .@fullprice,.@price * .@refinecnt; set .@fullprice,.@price * .@refinecnt;
mes "[" + getarg(0) + "]"; mes "[" + getarg(0) + "]";
mes "That will cost you " + .@refinecnt + " " + .@matname$ + " and " + .@fullprice + " Zeny. Is that ok?"; mes "That will cost you " + .@refinecnt + " " + getitemname(.@material) + " and " + .@fullprice + " Zeny. Is that ok?";
next; next;
if(select("Yes","No...") == 2){ if(select("Yes","No...") == 2){
mes "[" + getarg(0) + "]"; mes "[" + getarg(0) + "]";

View File

@ -3,7 +3,7 @@
//===== By: ================================================== //===== By: ==================================================
//= kobra_k88 //= kobra_k88
//===== Current Version: ===================================== //===== Current Version: =====================================
//= 1.5 //= 1.6
//===== Compatible With: ===================================== //===== Compatible With: =====================================
//= eAthena SVN //= eAthena SVN
//===== Description: ========================================= //===== Description: =========================================
@ -12,6 +12,7 @@
//= Stone Fling. //= Stone Fling.
//===== Additional Comments: ================================= //===== Additional Comments: =================================
//= 1.5 Rescripted to Aegis 10.3 stadards. [L0ne_W0lf] //= 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,{ 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: case 1:
switch(THIEF_SK) { switch(THIEF_SK) {
case 0: 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 "[Alcouskou]";
mes "Luckily, you have brought some"; mes "Luckily, you have brought some";
mes "sand with you. It is very important"; mes "sand with you. It is very important";
@ -152,7 +153,7 @@ moc_prydb1,154,128,4 script Alcouskou#qsk_tf 118,{
close; close;
} }
case 2: 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 "[Alcouskou]";
mes "Okay! Let¡¯s practice!"; mes "Okay! Let¡¯s practice!";
next; next;
@ -231,7 +232,7 @@ moc_prydb1,154,128,4 script Alcouskou#qsk_tf 118,{
close; close;
} }
case 3: 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 "[Alcouskou]";
mes "Wow, you have already prepared?"; mes "Wow, you have already prepared?";
mes "Great, I see promise in you. -"; mes "Great, I see promise in you. -";
@ -323,7 +324,7 @@ moc_prydb1,154,128,4 script Alcouskou#qsk_tf 118,{
close; close;
} }
case 4: 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 "[Alcouskou]";
mes "Wow! Have you already gathered the items!"; mes "Wow! Have you already gathered the items!";
mes "Very well, do you wish to begin?"; mes "Very well, do you wish to begin?";