CombatantInterface
in
Common combat capabilities shared by ships, ports, planets, and forces.
TKiller restricts the combatant types that may destroy this combatant. TDamage associates each combatant type with the damage result it receives.
Tags
Table of Contents
Methods
- decreaseCDs() : void
- getCDs() : int
- getCombatID() : int
- getCombatName() : string
- getLevel() : float|int
- hasCDs() : bool
- killBy() : KillResultInterface
- reduceDamageDoneDCS() : float
- Factor to multiply drone damage by if target player has a DCS.
- takeDamage() : TDamage
Methods
decreaseCDs()
public
decreaseCDs(int $number) : void
Parameters
- $number : int
getCDs()
public
getCDs() : int
Return values
intgetCombatID()
public
getCombatID() : int
Return values
intgetCombatName()
public
getCombatName() : string
Return values
stringgetLevel()
public
getLevel() : float|int
Return values
float|inthasCDs()
public
hasCDs() : bool
Return values
boolkillBy()
public
killBy(TKiller $killer) : KillResultInterface
Parameters
- $killer : TKiller
Return values
KillResultInterfacereduceDamageDoneDCS()
Factor to multiply drone damage by if target player has a DCS.
public
reduceDamageDoneDCS() : float
Return values
floattakeDamage()
public
takeDamage(WeaponDamage $damage) : TDamage
Parameters
- $damage : WeaponDamage