mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-01-19 16:14:44 +00:00
Revert Concs
Normal fuse Normal chance
This commit is contained in:
parent
d95993eeb3
commit
e16976a56e
|
|
@ -292,11 +292,11 @@ function VehicleData::createPositionMarker(%data, %obj)
|
|||
}
|
||||
|
||||
//Conc Throw (Almost Normal Grenades) 1500 Normal
|
||||
function ConcussionGrenadeThrown::onThrow(%this, %gren)
|
||||
{
|
||||
AIGrenadeThrown(%gren);
|
||||
%gren.detThread = schedule(1800, %gren, "detonateGrenade", %gren); // Was 2000
|
||||
}
|
||||
// function ConcussionGrenadeThrown::onThrow(%this, %gren)
|
||||
// {
|
||||
// AIGrenadeThrown(%gren);
|
||||
// %gren.detThread = schedule(1800, %gren, "detonateGrenade", %gren); // Was 2000
|
||||
// }
|
||||
|
||||
//Attack LOS Sky Fix
|
||||
function serverCmdSendTaskToClient(%client, %targetClient, %fromCmdMap)
|
||||
|
|
@ -379,7 +379,7 @@ function VehicleData::damageObject(%data, %targetObject, %sourceObject, %positio
|
|||
%targetObject.lastDamagedBy = %sourceObject;
|
||||
%targetObject.lastDamageType = %damageType;
|
||||
}
|
||||
else
|
||||
else
|
||||
%targetObject.lastDamagedBy = 0;
|
||||
|
||||
// ----------------------------------------------------------------------------------
|
||||
|
|
@ -407,10 +407,10 @@ function VehicleData::damageObject(%data, %targetObject, %sourceObject, %positio
|
|||
%damageScale = %data.damageScale[%damageType];
|
||||
if(%damageScale !$= "")
|
||||
%amount *= %damageScale;
|
||||
|
||||
|
||||
if(%amount != 0)
|
||||
%targetObject.applyDamage(%amount);
|
||||
|
||||
|
||||
if(%targetObject.getDamageState() $= "Destroyed" )
|
||||
{
|
||||
if( %momVec !$= "")
|
||||
|
|
|
|||
|
|
@ -2891,8 +2891,8 @@ function Armor::applyConcussion( %this, %dist, %radius, %sourceObject, %targetOb
|
|||
}
|
||||
else
|
||||
{
|
||||
%flagChance = 0.75;
|
||||
%itemChance = 0.75;
|
||||
%flagChance = 0.70;
|
||||
%itemChance = 0.70;
|
||||
}
|
||||
|
||||
%probabilityFlag = %flagChance * %percentage;
|
||||
|
|
|
|||
Loading…
Reference in a new issue