DCurrent / openbor

OpenBOR is the ultimate 2D side scrolling engine for beat em' ups, shooters, and more!
http://www.chronocrash.com
BSD 3-Clause "New" or "Revised" License
894 stars 119 forks source link

attack.damage.type doesn't work properly #323

Open EoceneMiacid opened 1 month ago

EoceneMiacid commented 1 month ago

Attack boxes that use the new multi-line syntax have an issue where property attack.damage.type only works for values 0-3, anything above that uses the default value 0.

For example, an attack box with these lines:

attack.damage.type 4
attack.reaction.fall.force 1

... should trigger the 'fall5' animation, but instead triggers 'fall'.

Attack boxes using the old single line syntax do not have this problem.