Merge pull request #118 from WizardJesse1/patch-4

Fixed Adding xp to teleporting
This commit is contained in:
Major
2015-12-30 16:16:31 +00:00
+1 -1
View File
@@ -52,7 +52,7 @@ class TeleportingAction < SpellAction
mob.stop_graphic
mob.play_animation(MODERN_TELE_END_ANIM)
mob.teleport(@spell.destination)
mob.skill_set.add_experience(MAGIC_SKILL_ID, @spell.experience)
mob.skill_set.add_experience(Skill::MAGIC, @spell.experience)
stop
end
end