From 09bb56c253ec6cf7a18b76883a5c9eef22d92e8b Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 26 Jul 2019 01:29:23 -0300 Subject: Fix typo in Nard --- npc/002-3/nard.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc/002-3/nard.txt') diff --git a/npc/002-3/nard.txt b/npc/002-3/nard.txt index bd0fa8109..b127315d0 100644 --- a/npc/002-3/nard.txt +++ b/npc/002-3/nard.txt @@ -143,7 +143,7 @@ L_Referral: close; -L_NeedHead: +L_NeedHelp: mes ""; mesn; mesq l("You're pretty much stranded on this forsaken island if you don't help me!"); -- cgit v1.2.3-60-g2f50 From ea72764cc1c8a817c8476d26c68bf799eda70063 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 27 Jul 2019 20:52:03 -0300 Subject: Change Elmo and Nard EXP boost ID to one which doesn't expires on death. --- npc/002-3/elmo.txt | 4 ++-- npc/002-3/nard.txt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'npc/002-3/nard.txt') diff --git a/npc/002-3/elmo.txt b/npc/002-3/elmo.txt index 3aa022b19..70669e1b4 100644 --- a/npc/002-3/elmo.txt +++ b/npc/002-3/elmo.txt @@ -149,8 +149,8 @@ function ExpBoost { // Current (2019-04-27) top is 80/80/75, meaning a 19% EXP Boost. .@AVG_LEVEL=($@hoblvl_value[0]+$@hoblvl_value[1]+$@hoblvl_value[2])/3; .@BONUS=.@AVG_LEVEL/4; - sc_end SC_OVERLAPEXPUP; - sc_start SC_OVERLAPEXPUP, 3600000, min(25, .@BONUS); + sc_end SC_CASH_PLUSEXP; + sc_start SC_CASH_PLUSEXP, 3600000, min(25, .@BONUS); mesc l("EXP Gain raised in @@% for one hour!", min(25, .@BONUS)), 2; return; } diff --git a/npc/002-3/nard.txt b/npc/002-3/nard.txt index b127315d0..a45c9c40c 100644 --- a/npc/002-3/nard.txt +++ b/npc/002-3/nard.txt @@ -64,8 +64,8 @@ L_Checker: // Actually, why don't we apply it right now...? .@AVG_LEVEL=($@hoblvl_value[0]+$@hoblvl_value[1]+$@hoblvl_value[2])/3; .@BONUS=.@AVG_LEVEL/4; - sc_end SC_OVERLAPEXPUP; - sc_start SC_OVERLAPEXPUP, 3600000, min(25, .@BONUS); + sc_end SC_CASH_PLUSEXP; + sc_start SC_CASH_PLUSEXP, 3600000, min(25, .@BONUS); specialeffect FX_SPECIAL, SELF, getcharid(3); mesc l("EXP Gain raised in @@% for one hour!", min(25, .@BONUS)), 2; next; -- cgit v1.2.3-60-g2f50 From 10d91ca8cb040a67bc4a283b68f8b01192739414 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 27 Jul 2019 20:56:44 -0300 Subject: Pre-level 15 bonus will now raise drop rates, too, because new players need them. Fix the code which expires both bonuses on level up because it became deprecated. --- npc/002-3/elmo.txt | 9 ++++++--- npc/002-3/nard.txt | 8 +++++--- npc/003-3/malindou.txt | 3 ++- 3 files changed, 13 insertions(+), 7 deletions(-) (limited to 'npc/002-3/nard.txt') diff --git a/npc/002-3/elmo.txt b/npc/002-3/elmo.txt index 70669e1b4..e75f7c575 100644 --- a/npc/002-3/elmo.txt +++ b/npc/002-3/elmo.txt @@ -148,10 +148,13 @@ function ExpBoost { // Level 100 ("max") = 25% EXP BOOST (max) // Current (2019-04-27) top is 80/80/75, meaning a 19% EXP Boost. .@AVG_LEVEL=($@hoblvl_value[0]+$@hoblvl_value[1]+$@hoblvl_value[2])/3; - .@BONUS=.@AVG_LEVEL/4; + .@BONUS=min(25, .@AVG_LEVEL/4); sc_end SC_CASH_PLUSEXP; - sc_start SC_CASH_PLUSEXP, 3600000, min(25, .@BONUS); - mesc l("EXP Gain raised in @@% for one hour!", min(25, .@BONUS)), 2; + sc_end SC_CASH_RECEIVEITEM; + sc_start SC_CASH_PLUSEXP, 3600000, .@BONUS; + sc_start SC_CASH_RECEIVEITEM, 3600000, .@BONUS; + specialeffect FX_SPECIAL, SELF, getcharid(3); + mesc l("EXP Gain raised in @@% for one hour!", .@BONUS, 2; return; } diff --git a/npc/002-3/nard.txt b/npc/002-3/nard.txt index a45c9c40c..80ade6443 100644 --- a/npc/002-3/nard.txt +++ b/npc/002-3/nard.txt @@ -63,11 +63,13 @@ L_Checker: mesc l("Talk to Elmo to get an EXP UP Boost until level 15!"), 2; // Actually, why don't we apply it right now...? .@AVG_LEVEL=($@hoblvl_value[0]+$@hoblvl_value[1]+$@hoblvl_value[2])/3; - .@BONUS=.@AVG_LEVEL/4; + .@BONUS=min(25, .@AVG_LEVEL/4); sc_end SC_CASH_PLUSEXP; - sc_start SC_CASH_PLUSEXP, 3600000, min(25, .@BONUS); + sc_end SC_CASH_RECEIVEITEM; + sc_start SC_CASH_PLUSEXP, 3600000, .@BONUS; + sc_start SC_CASH_RECEIVEITEM, 3600000, .@BONUS; specialeffect FX_SPECIAL, SELF, getcharid(3); - mesc l("EXP Gain raised in @@% for one hour!", min(25, .@BONUS)), 2; + mesc l("EXP Gain raised in @@% for one hour!", .@BONUS, 2; next; showavatar NPC_NARD; mesn; diff --git a/npc/003-3/malindou.txt b/npc/003-3/malindou.txt index 475d5275d..9e41b9196 100644 --- a/npc/003-3/malindou.txt +++ b/npc/003-3/malindou.txt @@ -470,7 +470,8 @@ OnInit: OnPCBaseLvUpEvent: switch (BaseLevel) { case 15: - sc_end SC_OVERLAPEXPUP; + sc_end SC_CASH_PLUSEXP; + sc_end SC_CASH_RECEIVEITEM; break; case 25: case 50: -- cgit v1.2.3-60-g2f50 From 6f018e8ed2d501d266ef47e7449a3fff939548ea Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 27 Jul 2019 21:18:37 -0300 Subject: Fix a really minor typo --- npc/002-3/elmo.txt | 2 +- npc/002-3/nard.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'npc/002-3/nard.txt') diff --git a/npc/002-3/elmo.txt b/npc/002-3/elmo.txt index e75f7c575..4fa12f700 100644 --- a/npc/002-3/elmo.txt +++ b/npc/002-3/elmo.txt @@ -154,7 +154,7 @@ function ExpBoost { sc_start SC_CASH_PLUSEXP, 3600000, .@BONUS; sc_start SC_CASH_RECEIVEITEM, 3600000, .@BONUS; specialeffect FX_SPECIAL, SELF, getcharid(3); - mesc l("EXP Gain raised in @@% for one hour!", .@BONUS, 2; + mesc l("EXP Gain raised in @@% for one hour!", .@BONUS), 2; return; } diff --git a/npc/002-3/nard.txt b/npc/002-3/nard.txt index 80ade6443..c9060ffd3 100644 --- a/npc/002-3/nard.txt +++ b/npc/002-3/nard.txt @@ -69,7 +69,7 @@ L_Checker: sc_start SC_CASH_PLUSEXP, 3600000, .@BONUS; sc_start SC_CASH_RECEIVEITEM, 3600000, .@BONUS; specialeffect FX_SPECIAL, SELF, getcharid(3); - mesc l("EXP Gain raised in @@% for one hour!", .@BONUS, 2; + mesc l("EXP Gain raised in @@% for one hour!", .@BONUS), 2; next; showavatar NPC_NARD; mesn; -- cgit v1.2.3-60-g2f50