mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-07-15 08:04:39 +00:00
Update EvoStats.cs
This commit is contained in:
parent
e0b4d09bbe
commit
ed4ca716a9
1 changed files with 3 additions and 3 deletions
|
|
@ -30,7 +30,7 @@ function Armor::damageObject(%data, %targetObject, %sourceObject, %position, %am
|
||||||
{
|
{
|
||||||
Parent::damageObject(%data, %targetObject, %sourceObject, %position, %amount, %damageType, %momVec, %mineSC);
|
Parent::damageObject(%data, %targetObject, %sourceObject, %position, %amount, %damageType, %momVec, %mineSC);
|
||||||
// call the function
|
// call the function
|
||||||
if(!$Host::TournamentMode)
|
if(!$Host::TournamentMode && $Host::ClassicEvoStats)
|
||||||
handleDamageStat(%data, %targetObject, %sourceObject, %position, %amount, %damageType, %momVec, %mineSC);
|
handleDamageStat(%data, %targetObject, %sourceObject, %position, %amount, %damageType, %momVec, %mineSC);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -38,7 +38,7 @@ function DefaultGame::onClientKilled(%game, %clVictim, %clKiller, %damageType, %
|
||||||
{
|
{
|
||||||
Parent::onClientKilled(%game, %clVictim, %clKiller, %damageType, %implement, %damageLocation);
|
Parent::onClientKilled(%game, %clVictim, %clKiller, %damageType, %implement, %damageLocation);
|
||||||
// call the function
|
// call the function
|
||||||
if(!$Host::TournamentMode)
|
if(!$Host::TournamentMode && $Host::ClassicEvoStats)
|
||||||
handleKillStat(%data, %targetObject, %sourceObject, %position, %amount, %damageType, %momVec, %mineSC);
|
handleKillStat(%data, %targetObject, %sourceObject, %position, %amount, %damageType, %momVec, %mineSC);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -47,7 +47,7 @@ function ProjectileData::onCollision(%data, %projectile, %targetObject, %modifie
|
||||||
if(isObject(%targetObject)) // Console spam fix.
|
if(isObject(%targetObject)) // Console spam fix.
|
||||||
{
|
{
|
||||||
// call the function
|
// call the function
|
||||||
if(!$Host::TournamentMode)
|
if(!$Host::TournamentMode && $Host::ClassicEvoStats)
|
||||||
handleMAStat(%data, %projectile, %targetObject, %modifier, %position, %normal);
|
handleMAStat(%data, %projectile, %targetObject, %modifier, %position, %normal);
|
||||||
}
|
}
|
||||||
Parent::onCollision( %data, %projectile, %targetObject, %modifier, %position, %normal );
|
Parent::onCollision( %data, %projectile, %targetObject, %modifier, %position, %normal );
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue