I have been working on my mod based on 2.02 v8.3. I noticed that beserkers
are supposed to run 20% faster than normally whenever they light a torch while losing 17% armor. However, I did some tests and verified that beserkers do not, in fact, gain the 20% speed bonus. I was wondering if anyone has any ideas on where to start to fix the issue?
The only code related to this that I see is as follows:
beserker.ini
;;; TOGGLE TORCH WEAPON SPECAIL POWER ;;;
Behavior = WeaponChangeSpecialPowerModule THING
SpecialPowerTemplate = SpecialAbilityBerserkerLightTorch
FlagsUsedForToggle = WEAPONSET_TOGGLE_1
ToggleOnSleepFrames = 25
ToggleOffSleepFrames = 0
ToggleOnAttributeModifier = BerserkerTorchLightingPenalty
End
attributemodifier.ini
ModifierList BerserkerTorchLightingPenalty
Category = FORMATION
Modifier = ARMOR -17% PIERCE HERO_RANGED STRUCTURAL ;,; ARMOR -50% // 50% less armor
Modifier = SPEED 120% ;,;
Duration = 0 // Duration is forever when zero
// FX = FX_BerserkerTorchPenalty // don't want purple tint
End
specialpower.ini
SpecialPower SpecialAbilityBerserkerLightTorch
Enum = SPECIAL_GENERAL_TARGETLESS
ReloadTime = 0
End
Thanks in advance to everyone.
Edited by OneV, 26 May 2020 - 10:32 PM.