mirror of
https://github.com/Ragora/T2-ACCM.git
synced 2026-07-11 21:24:33 +00:00
Other changes
This commit is contained in:
parent
182661dd82
commit
6170ff8255
13 changed files with 1716 additions and 1849 deletions
|
|
@ -617,7 +617,9 @@ datablock ShapeBaseImageData(ScoutChaingunParam)
|
|||
function shrikeMissileImage::onFire(%data,%obj,%slot)
|
||||
{
|
||||
%p = Parent::onFire(%data, %obj, %slot);
|
||||
%obj.getMountNodeObject(0).decInventory(%data.ammo, 1);
|
||||
%mountNodeObj = %obj.getMountNodeObject(0);
|
||||
if (isObject(%mountNodeObj))
|
||||
%mountnodeObj.decInventory(%data.ammo, 1);
|
||||
MissileSet.add(%p);
|
||||
|
||||
if(%obj.isdrone == 1)
|
||||
|
|
@ -729,4 +731,4 @@ function fighterdropflares(%obj,%time,%life,%chance){
|
|||
serverPlay3D(GrenadeThrowSound, getBoxCenter(%obj.getWorldBox()));
|
||||
%p.schedule(%life, "delete");
|
||||
schedule(%time,0,"FighterDropFlares",%obj,%time,%life,%chance);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue