void OnPlayerBaseVsBulletExplosionCollisionCollisionOccurred (Entities.PlayerBase playerBase, Entities.BulletExplosion bulletExplosion) { if (bulletExplosion.TeamIndex != 0) { playerBase.TakeDamage(bulletExplosion.DamageToDeal); } }
void OnBulletVsPlayerBaseSolidCollisionOccurred (Entities.Bullet bullet, Entities.PlayerBase playerBase) { if(bullet.TeamIndex == 1) { playerBase.TakeDamage(bullet.DamageToDeal); bullet.PlayerDestroyVfx(); bullet.TryExplode(); bullet.Destroy(); } }