[NFP] [1.0.8.4] Military Advisory Resolution: Option B not working - Code Error

cholsy

Warlord
Joined
Dec 20, 2010
Messages
204
How to check:
Open and compare 2 files. One is option A(Buff), another is option B(Debuff). You can see A works but B doesn't.

Cause:
Coding Error. 'Amount' should have been 'ModifierId' for' APPLY_RES_UNIT_COMBAT_DEBUFF'.

Fix code
Code:
UPDATE ModifierArguments
SET Name = 'ModifierId'
WHERE ModifierId = 'APPLY_RES_UNIT_COMBAT_DEBUFF' AND Name = 'Amount' AND Value = 'WC_RES_UNIT_COMBAT_DEBUFF';

(EDIT) I don't know why but WC especially has many mistakes. I think there are more.
 

Attachments

Last edited:
Back
Top Bottom