summaryrefslogtreecommitdiff
path: root/npc/002-3
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-06-09 16:25:46 -0300
committerJesusaves <cpntb1@ymail.com>2019-06-09 16:25:46 -0300
commit080204a2d70958d7a3a94bb5e6340f6db287dce0 (patch)
tree5719eb257ab7a3084adfabd3913e0b77d96bd3be /npc/002-3
parentd970624d6127ee9e8add09d811d4ee0ff9e04b2a (diff)
downloadserverdata-080204a2d70958d7a3a94bb5e6340f6db287dce0.tar.gz
serverdata-080204a2d70958d7a3a94bb5e6340f6db287dce0.tar.bz2
serverdata-080204a2d70958d7a3a94bb5e6340f6db287dce0.tar.xz
serverdata-080204a2d70958d7a3a94bb5e6340f6db287dce0.zip
Register FX Particles with constants, and force players on Nard to get the Exp Boost
Diffstat (limited to 'npc/002-3')
-rw-r--r--npc/002-3/nard.txt7
1 files changed, 7 insertions, 0 deletions
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;