- [NEW] Berserk implementat

- [NEW] Millorats detalls en habitacions
- [NEW] Habitacions al 44%
This commit is contained in:
2026-03-25 13:42:30 +01:00
parent 4e7a50879e
commit 9c9092d19b
8 changed files with 75 additions and 0 deletions

View File

@@ -246,6 +246,22 @@ function me.create(type, options)
room = options.room,
ia = ia.update_gota_esguit
}
elseif key == "berserk" then
sprite = {
type = key,
pos = options.pos,--{ x=100, y=4*12*8+71 },
size = { w=16,h=16 },
bbo = { left=3, top=2, right=3, bottom=0 },
current_frame = 1,
current_wait = 1,
flipped = options.flipped,
surf = surf.load("gfx/berserk.gif"),
animation = "mummy_walk",
state = me.ALIVE,
enemy = true,
room = options.room,
ia = ia.update_berserk
}
else
error("Template not recognized")
end