summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-06-26 01:33:06 -0300
committerJesusaves <cpntb1@ymail.com>2020-06-26 01:33:06 -0300
commitc9792249998672e2bb3a64fec59df6344967bebe (patch)
tree639ebee2e2a56a76ff15101af36b718819ee7b16 /npc
parentfcf75684217a17c76a85810eca4bac209e2f0e2b (diff)
downloadserverdata-c9792249998672e2bb3a64fec59df6344967bebe.tar.gz
serverdata-c9792249998672e2bb3a64fec59df6344967bebe.tar.bz2
serverdata-c9792249998672e2bb3a64fec59df6344967bebe.tar.xz
serverdata-c9792249998672e2bb3a64fec59df6344967bebe.zip
Nilfheim and Mana Bomb will now give Magic EXP as well
Diffstat (limited to 'npc')
-rw-r--r--npc/functions/hub.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt
index 16f8344ab..99d197994 100644
--- a/npc/functions/hub.txt
+++ b/npc/functions/hub.txt
@@ -314,6 +314,7 @@ function script HUB_SkillInvoke {
// And is a good starter offensive skill
areaharm(@skillTarget, 0, Sp*@skillLv, HARM_MAGI, Ele_Ghost);
Sp=0;
+ GetManaExp(@skillId, 1);
break;
case TMW2_NILFHEIM:
// Nilfheim cast on self?
@@ -321,6 +322,7 @@ function script HUB_SkillInvoke {
areaharm(getcharid(3), 8, AdjustSpellpower(.@PW), HARM_MAGI, Ele_Water);
areasc(8, 15000, SC_FREEZE, BL_PC | BL_MOB | BL_MER | BL_HOM, "filter_hostile");
// Maybe filter_notme() would work better, indeed
+ GetManaExp(@skillId, rand2(1,3));
break;
/*