Skip to content

Commit

Permalink
Fix eye laser positions
Browse files Browse the repository at this point in the history
  • Loading branch information
TheHorscht committed Mar 22, 2024
1 parent c2efdd3 commit f3ac206
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
v1.20.5:
- FIX: Firing position of laser eyes

v1.20.4:
- FIX: Portable anvil should no longer activate just by existing in the inventory when kicking.

Expand Down
4 changes: 2 additions & 2 deletions files/entities/statue/angery.lua
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ if player_entity ~= nil and player_entity[1] ~= nil then
local statue_eyes_pos = nil

if get_stored_entity_type(entity_id) == "statue_facing_left" then
statue_eyes_pos = { x = x + 24, y = y + 5 }
statue_eyes_pos = { x = x + 6, y = y - 18 }
else
statue_eyes_pos = { x = x + 11, y = y + 5 }
statue_eyes_pos = { x = x - 7, y = y - 18 }
end

local function point_can_be_seen(vec_origin, vec_destination, distance_max)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "anvil_of_destiny",
"version": "1.20.4",
"version": "1.20.5",
"description": "A mod for Noita (https://noitagame.com/) which adds an anvil into the default biomes, which lets you forge two wands into a new one!",
"main": "",
"scripts": {
Expand Down

0 comments on commit f3ac206

Please sign in to comment.