Trap hit

ZVitor

Active member
I did one trap,
but it only hit player when he walk, if player jump, it dont hit him....
what i did wrong?

(I tested set this Trap to none, same problem happens)

Trap code:
name RaioBat
type  trap
gfxshadow 1
candamage player  enemy

anim idle
loop 1
hitfx data/sounds/elechit.wav
delay 3
offset 49 313
attack 43 138 11 158 15 20 0 0 0 30
jugglecost 9
frame data/chars/misc/ra2.gif
attack 0 0 0 0 0 0 0 0 0 0
offset 49 196
frame data/chars/misc/ra1.gif

#|edited by openBor Stats v 0.51
 

Attachments

  • My Mod - 0882.png
    My Mod - 0882.png
    61.6 KB · Views: 7
  • My Mod - 0892.png
    My Mod - 0892.png
    62.4 KB · Views: 7
Looks like your jugglecost is higher than the juggle points
  jugglecost  9

I can't garantee that jugglecost takes jumping flag into account (at least, it shouldn't), but it seams to be the case.
Try to lower it and test.
 
My heroes doesn't have juggle points too. They doesn't even have bbox on their fall animations, because heroes being able to be comboed on air irritates the players a lot.
 
yea, mines dont have bbox at fall too, but for some unknow reason, they need juggle at jumps to be hit by traps :)
....
it works if i remove juggle to trap, but i need it there to not combo enemys forever.
 
Back
Top Bottom