mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-03 00:38:21 +00:00
Update teleport.rb
Was never adding xp for teleporting
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user