Opened 13 years ago
Closed 13 years ago
#257 closed bug (invalid)
zero-hp enemies don't fire
Reported by: | Game Hunter | Owned by: | epyon |
---|---|---|---|
Priority: | minor | Milestone: | 0.9.9.6 |
Component: | engine | Version: | 0.9.9.5 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
Enemies with 0 max HP do not "execute" their ranged attack. The attack technically happens (expending time or ammo in the process) but no damage is taken and no animation occurs.
Reproduce by setting an enemy's hp prototype key to zero (ideally one with a ranged attack) in beings.lua, then spawn some of those enemies. They act normally out of range, but suddenly freeze up and act less, never using a range attack, when in range.
Change History (2)
comment:1 Changed 13 years ago by tehtmi
comment:2 Changed 13 years ago by epyon
- Resolution set to invalid
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
Honestly, I'm not sure its worth supporting beings with zero HP. I made BF_INV work for enemies... what does 0 hp allow you to do that isn't easy to do another way?