paulo.bender
Member
Hello there, developers.
I'm trying to create a skill for one of my characters, where he summons a wall-like object; immobile, blocks damage and prevents walkthrough. I've tried to create a NPC object for it, but it's behaving weirdly; enemies aren't trying to attack it (even with hostile including npcs) and it dies as long as it takes any damage (even with many hit points).
Could someone help me with it?
I'm trying to create a skill for one of my characters, where he summons a wall-like object; immobile, blocks damage and prevents walkthrough. I've tried to create a NPC object for it, but it's behaving weirdly; enemies aren't trying to attack it (even with hostile including npcs) and it dies as long as it takes any damage (even with many hit points).
Could someone help me with it?
Code:
name Dogwall
type npc
health 150
shadow 5
lifespan 10
antigravity 100
nomove 1
# anim spawn
# loop 0
# delay 5
# offset 48 93
# frame data/NPCs/Dogwall_00.png
# frame data/NPCs/Dogwall_01.png
# frame data/NPCs/Dogwall_02.png
# bbox 13 36 70 52
# frame data/NPCs/Dogwall_03.png
# frame data/NPCs/Dogwall_03.png
anim idle
loop 1 3 4
delay 5
offset 48 93
bbox 13 36 70 52
frame data/NPCs/Dogwall_00.png
frame data/NPCs/Dogwall_01.png
frame data/NPCs/Dogwall_02.png
bbox 13 36 70 52
frame data/NPCs/Dogwall_03.png
frame data/NPCs/Dogwall_03.png
anim pain
loop 0
delay 5
offset 48 93
bbox 13 36 70 52
frame data/NPCs/Dogwall_03.png
anim death
loop 0
delay 5
offset 48 93
frame data/NPCs/Dogwall_03.png
frame data/NPCs/Dogwall_02.png
frame data/NPCs/Dogwall_01.png
frame data/NPCs/Dogwall_00.png