Fix: Wizards' Guild Portals and more Taverley Dungeon work

This commit is contained in:
skelsoft
2021-09-02 11:38:51 +00:00
committed by Ceikry
parent 1673c0e5b4
commit 56a2be9aec
4 changed files with 20 additions and 5 deletions
@@ -12,17 +12,23 @@ class WizardGuildPortals : InteractionListener() {
override fun defineListeners() {
on(WTOWER_PORTAL, SCENERY, "enter"){player, _ ->
ContentAPI.teleport(player, Location.create(3114, 3171, 0))
ContentAPI.teleport(player, Location.create(3109, 3159, 0))
ContentAPI.sendMessage(player, "You enter the magic portal...")
ContentAPI.sendMessage(player, "You teleport to the Wizards' tower.")
return@on true
}
on(DWTOWER_PORTAL, SCENERY, "enter"){player, _ ->
ContentAPI.teleport(player, Location.create(2916, 3335, 0))
ContentAPI.teleport(player, Location.create(2907, 3333, 0))
ContentAPI.sendMessage(player, "You enter the magic portal...")
ContentAPI.sendMessage(player, "You teleport to the Dark Wizards' tower.")
return@on true
}
on(SORC_TOWER_PORTAL, SCENERY, "enter"){player, _ ->
ContentAPI.teleport(player, Location.create(2701, 3395, 0))
ContentAPI.teleport(player, Location.create(2703, 3406, 0))
ContentAPI.sendMessage(player, "You enter the magic portal...")
ContentAPI.sendMessage(player, "You teleport to Thormac the Sorceror's house.")
return@on true
}
}