From 080204a2d70958d7a3a94bb5e6340f6db287dce0 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 9 Jun 2019 16:25:46 -0300 Subject: Register FX Particles with constants, and force players on Nard to get the Exp Boost --- npc/002-3/nard.txt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'npc/002-3') diff --git a/npc/002-3/nard.txt b/npc/002-3/nard.txt index 3e8432b79..bdb6d7c1d 100644 --- a/npc/002-3/nard.txt +++ b/npc/002-3/nard.txt @@ -61,6 +61,13 @@ L_Checker: mesn l("Elmo"); mesq l("I, Elmo, captain's deputy, will help you to make the maximum possible money in Candor!"); 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; + sc_end SC_OVERLAPEXPUP; + sc_start SC_OVERLAPEXPUP, 3600000, min(25, .@BONUS); + specialeffect FX_SPECIAL, SELF, getcharid(3); + mesc l("EXP Gain raised in @@% for one hour!", .@BONUS), 2; next; showavatar NPC_NARD; mesn; -- cgit v1.2.3-70-g09d2