You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Skirmisher Whiplash has a damage value specified in code but not bIgnoreBaseDamage. This is not a problem in base game because it is not assigned to a weapon slot in Skirmisher class data. But mods often assign it to a weapon slot when they assume it's a ripjack ability and this causes it to additionally do the weapon's damage in both damage effects on it.
WeaponDamageEffect = newclass'X2Effect_ApplyWeaponDamage';
WeaponDamageEffect.EffectDamageValue = default.WHIPLASH_BASEDAMAGE;
Template.AddTargetEffect(WeaponDamageEffect);
// Jwats: Double damage for robotic
WeaponDamageEffect = newclass'X2Effect_ApplyWeaponDamage';
WeaponDamageEffect.bIgnoreArmor = true; // armor was applied the first time, don't let it be applied the second time as well -jbouscher
WeaponDamageEffect.EffectDamageValue = default.WHIPLASH_BASEDAMAGE;
UnitPropertyCondition = newclass'X2Condition_UnitProperty';
UnitPropertyCondition.ExcludeRobotic = false;
UnitPropertyCondition.ExcludeOrganic = true;
WeaponDamageEffect.TargetConditions.AddItem(UnitPropertyCondition);
Template.AddTargetEffect(WeaponDamageEffect);
Suggested fix: add bIgnoreBaseDamage = true to both of these damage effects.
The text was updated successfully, but these errors were encountered:
On one hand, Highlander isn't meant to be the place for preventive fixes for issues that occur only when people shoot themselves in the foot.
On two hand, this fix doesn't alter base game behavior.
A case can be made that this change would be potentially breaking for mods that specifically rely for this fix to not be there, but ehhh that'd be MrNice / Xym's level of cautious.
Overall I'm about 3/10 on being convinced this should be fixed in Highlander.
On further consideration, implementing the proposed fix would violate the Highlander's BC policy. If some mods attaching Whiplash to a weapon is causing undesirable behavior, the onus is on said mods to address it.
Skirmisher Whiplash has a damage value specified in code but not bIgnoreBaseDamage. This is not a problem in base game because it is not assigned to a weapon slot in Skirmisher class data. But mods often assign it to a weapon slot when they assume it's a ripjack ability and this causes it to additionally do the weapon's damage in both damage effects on it.
Suggested fix: add
bIgnoreBaseDamage = true
to both of these damage effects.The text was updated successfully, but these errors were encountered: