- Fixed: Poison damage lost damage type information if the poisoner was destroyed before poisoncount
reached 0. - Fixed: Poisoners without a PainType should use their own DamageType to pick the Pain state to make the target enter, not the target's DamageType. SVN r3475 (trunk)
This commit is contained in:
parent
3e4ac58f7c
commit
49ea87f8bc
3 changed files with 36 additions and 10 deletions
|
|
@ -311,6 +311,8 @@ public:
|
|||
int damagecount, bonuscount;// for screen flashing
|
||||
int hazardcount; // for delayed Strife damage
|
||||
int poisoncount; // screen flash for poison damage
|
||||
FName poisontype; // type of poison damage to apply
|
||||
FName poisonpaintype; // type of Pain state to enter for poison damage
|
||||
TObjPtr<AActor> poisoner; // NULL for non-player actors
|
||||
TObjPtr<AActor> attacker; // who did damage (NULL for floors)
|
||||
int extralight; // so gun flashes light up areas
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue