1package com.fs.starfarer.api.impl.hullmods;
3import com.fs.starfarer.api.combat.BaseHullMod;
4import com.fs.starfarer.api.combat.MutableShipStatsAPI;
5import com.fs.starfarer.api.combat.ShipAPI;
6import com.fs.starfarer.api.combat.ShipAPI.HullSize;
7import com.fs.starfarer.api.impl.campaign.ids.Stats;
42 if (index == 0)
return "" + (int) Math.round(
SPEED_REDUCTION * 100f * effect) +
"%";
43 if (index == 1)
return "" + (int) Math.round(
DAMAGE_INCREASE * 100f * effect) +
"%";
void modifyPercent(String source, float value)
void modifyMult(String source, float value)
static final String DMOD_EFFECT_MULT
static String getCostDescParam(int index, int startIndex)
static void modifyCost(HullSize hullSize, MutableShipStatsAPI stats, String id)
static float SPEED_REDUCTION
void applyEffectsBeforeShipCreation(HullSize hullSize, MutableShipStatsAPI stats, String id)
static float DAMAGE_INCREASE
String getDescriptionParam(int index, HullSize hullSize, ShipAPI ship)
void applyEffectsToFighterSpawnedByShip(ShipAPI fighter, ShipAPI ship, String id)
DynamicStatsAPI getDynamic()
MutableStat getHullDamageTakenMult()
MutableStat getArmorDamageTakenMult()
MutableStat getMaxSpeed()
MutableStat getShieldDamageTakenMult()
MutableShipStatsAPI getMutableStats()
void setLightDHullOverlay()
float getValue(String id)