* 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
======
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
* Rev. 13250 Added Mercenary System related NPCs. [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
//= Further bugfixed and tested by Lupus
//===== Current Version: =====================================
//= 2.7
//= 2.8
//===== Compatible With: =====================================
//= eAthena SVN
//===== Description: =========================================
@ -20,6 +20,7 @@
//= 2.7 Now uses enable and disable waitingroomevent. [L0ne_W0lf]
//= Other minor fixes to various NPCs.
//= 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,{
@ -1099,7 +1100,7 @@ OnMyMobDead:
if (.MyMobs < 1) {
set WIZ_Q2,WIZ_Q2+1;
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;
}
end;
@ -1188,8 +1189,8 @@ OnMyMobDead:
mapannounce "job_wiz",strcharinfo(0)+" has succeeded in eliminating the monsters.",bc_map;
warp "job_wiz",116,97;
percentheal 100,100;
donpcevent "Room of Water#Door::OnDisable";
donpcevent "Room of Earth::OnEnable";
doevent "Room of Water#Door::OnDisable";
doevent "Room of Earth::OnEnable";
stopnpctimer;
}
end;
@ -1269,7 +1270,7 @@ OnMyMobDead:
set .MyMobs,.MyMobs-1;
if (.MyMobs < 1) {
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;
}
end;
@ -1360,8 +1361,8 @@ OnMyMobDead:
mapannounce "job_wiz",strcharinfo(0) + " has succeeded in eliminating the monster.",bc_map;
percentheal 100,100;
warp "job_wiz",46,99;
donpcevent "Room of Earth#Door::OnDisable";
donpcevent "Room of Fire::OnEnable";
doevent "Room of Earth#Door::OnDisable";
doevent "Room of Fire::OnEnable";
stopnpctimer;
}
end;
@ -1439,7 +1440,7 @@ OnMyMobDead:
set .MyMobs,.MyMobs-1;
if (.MyMobs < 1) {
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;
}
end;
@ -1525,8 +1526,8 @@ OnMyMobDead:
if (.MyMobs < 1) {
mapannounce "job_wiz","Congratulations, " + strcharinfo(0) + ". You have passed the job change test.",bc_map;
set WIZ_Q,7;
donpcevent "Room of Fire#Door::OnDisable";
donpcevent "Test Helper#wiz::OnEnable";
doevent "Room of Fire#Door::OnDisable";
doevent "Test Helper#wiz::OnEnable";
stopnpctimer;
}
end;
@ -1912,6 +1913,7 @@ gef_tower,107,36,4 script White Dog#wiz 81,{
mes "[Maria]";
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.";
next;
mes "[Maria]";
mes "Congratulations. Always give your best at everything, no matter what.";

View File

@ -3,7 +3,7 @@
//===== By: ==================================================
//= Syrus22 (1.1) dafide18 (1.4) Skotlex (1.5)
//===== Current Version: =====================================
//= 2.7a
//= 2.8
//===== Compatible With: =====================================
//= Any Athena Version
//===== Description: =========================================
@ -49,7 +49,8 @@
//= 2.7 Refiner function accepts additional paramater. [L0ne_W0lf]
//= 0 = No special features; 1 = new refining features
//= 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;
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;
if(select("Yes","No...") == 2){
mes "[" + getarg(0) + "]";

View File

@ -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?";