Fix: Wizards' Guild Portals and more Taverley Dungeon work
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user