Open Zylenxx opened 1 year ago
File:sent_militechdrone,Line 332-337 segment:
... if( dmgClk() && perf(20) && lastDamageVictim()==Dronebody ){ Setting = "agressive" Health = max(0,Health-lastDamage():getDamage()) Target = lastDamage():getAttacker() Followtime = 1500 } ...
dmgClk() is being called regardless for each instance of damage done. this breaks in these cases:
NEEDS A FIX ASAP
Bug is related to parsing projectiles whom's entity is no longer valid upon calling the damage tick.
Keeping cantfix tag until i get back to it.
Branch: Sents
File:sent_militechdrone,Line 332-337 segment:
dmgClk() is being called regardless for each instance of damage done. this breaks in these cases:
NEEDS A FIX ASAP