mirror of
https://bitbucket.org/seefoe/dsrc.git
synced 2026-10-07 22:13:29 -04:00
WIP: Final battle controller adjustments made.
This commit is contained in:
@@ -198,6 +198,13 @@ public class combat_ship extends script.base_script
|
||||
}
|
||||
}
|
||||
float fltDamage = space_combat.getShipWeaponDamage(objAttacker, self, intWeaponSlot, isMissile);
|
||||
|
||||
// scale back cap ship to cap ship damage for space gcw battles
|
||||
if(hasScript(self, "systems.gcw.space.capital_ship") && hasScript(objAttacker, "systems.gcw.space.capital_ship")){
|
||||
// scale damage down 50%
|
||||
fltDamage = fltDamage * 0.25f;
|
||||
}
|
||||
|
||||
if (isIdValid(getPilotId(self)))
|
||||
{
|
||||
if (hasObjVar(getPilotId(self), "intCombatDebug"))
|
||||
|
||||
Reference in New Issue
Block a user