mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-05 00:38:14 +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.stop_graphic
|
||||||
mob.play_animation(MODERN_TELE_END_ANIM)
|
mob.play_animation(MODERN_TELE_END_ANIM)
|
||||||
mob.teleport(@spell.destination)
|
mob.teleport(@spell.destination)
|
||||||
mob.skill_set.add_experience(MAGIC_SKILL_ID, @spell.experience)
|
mob.skill_set.add_experience(Skill::MAGIC, @spell.experience)
|
||||||
stop
|
stop
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user