Need help understanding this.
I'm at a level below beginner, I'm not even sure what code language this is, please move me to the right sub-forum if I get this wrong, but I need help understanding
these two lines of code.
DamageReductions[it].PercentageReduction*2.0*(DamageReductions[it].PercentageReduction<0?NEGATIVE_EQUIPMENT_STAT_WEI GHT:1.0); //120
StatModifiers[it]*9.0*(StatModifiers[it]<0?NEGATIVE_EQUIPMENT_STAT_WEIGHT:1.0); //300
I don't understand what the //120 and the //300 at the end are for. Nor negative_equipment_stat_weight:1.0
I'd appreciate it if someone could explain both lines in full detail. (or somewhat near it)
these two lines of code.
DamageReductions[it].PercentageReduction*2.0*(DamageReductions[it].PercentageReduction<0?NEGATIVE_EQUIPMENT_STAT_WEI GHT:1.0); //120
StatModifiers[it]*9.0*(StatModifiers[it]<0?NEGATIVE_EQUIPMENT_STAT_WEIGHT:1.0); //300
I don't understand what the //120 and the //300 at the end are for. Nor negative_equipment_stat_weight:1.0
I'd appreciate it if someone could explain both lines in full detail. (or somewhat near it)
. Happy 9.45pm.
