WIP: Final battle controller adjustments made.

This commit is contained in:
Cekis
2018-03-17 04:34:19 +00:00
parent d5eba026a8
commit d0aef6cdd8
8 changed files with 600 additions and 618 deletions
@@ -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"))