OnFireBallDamage
Usage
- No return behavior
Example Autogenerated
csharp
private void OnFireBallDamage( FireBall instance, BaseCombatEntity item, HitInfo hitInfo )
{
Puts( "OnFireBallDamage works!" );
}Location
- FireBall::DoRadialDamage()
csharp
//---
num *= siegeWeaponDamageScale;
}
hitInfo.PointEnd = item.transform.position;
hitInfo.HitPositionWorld = item.transform.position;
hitInfo.damageTypes.Set(DamageType.Heat, num);
Interface.CallHook("OnFireBallDamage", this, item, hitInfo);
item.OnAttacked(hitInfo);
}
}
Pool.FreeUnmanaged(ref obj);
}