ositools
ositools copied to clipboard
Game.Math.DoHit() write error
Extender Version
v60
Game Version
v3.6.117.3735
Bug Summary
Game.Math.DoHit()
errors in v60:
Error while dispatching event ComputeCharacterHit: [string "builtin://Libs/Game.Math.lua"]:923: Cannot set property stats::HitDamageInfo::DamageList - cannot write properties of this type
from hit.DamageList = Ext.Stats.NewDamageList()
Links
No response
Hello,
I'm not sure if it's the correct solution, but are you using the hit from event event.Hit
?
I had the same problem as you, I managed to bypass it by using hit = Ext._Internal._MakeLegacyHitInfo(event.Hit)
and it works for me, but I'm not sure it's the correct way to solve it