Skip to content

Commit

Permalink
Add essence mine teleport area to avoid teleporting into walls
Browse files Browse the repository at this point in the history
  • Loading branch information
GregHib committed May 15, 2024
1 parent 840934f commit c4a14b2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions data/map/areas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1017,7 +1017,7 @@ sedridor_return:
area:
x: [ 3105, 3106 ]
y: [ 9572, 9573 ]
essence_mine:
essence_mine_teleport:
area:
x: [ 2880, 2943 ]
y: [ 4800, 4863 ]
x: [ 2898, 2893, 2887, 2894, 2898, 2905, 2905, 2902, 2892, 2884, 2893, 2900, 2900, 2910, 2913, 2919, 2920, 2920, 2932, 2932, 2922, 2914, 2917, 2925, 2935, 2935, 2928, 2921, 2923, 2915, 2906, 2900, 2900 ]
y: [ 4807, 4807, 4814, 4821, 4821, 4827, 4836, 4841, 4841, 4849, 4857, 4852, 4844, 4838, 4838, 4842, 4848, 4856, 4856, 4843, 4843, 4835, 4825, 4820, 4820, 4815, 4808, 4813, 4817, 4825, 4825, 4817, 4808 ]
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ object EssenceMine {
player.softQueue("essence_mine_teleport", 3) {
player["last_npc_teleport_to_rune_essence_mine"] = npc.id
val areas: AreaDefinitions = get()
val tile = areas["essence_mine"].random(player)!!
val tile = areas["essence_mine_teleport"].random(player)!!
player.tele(tile)
if (player["enter_the_abyss", "unstarted"] == "scrying") {
player["scrying_orb_${npc.id}"] = true
Expand Down

0 comments on commit c4a14b2

Please sign in to comment.