Page 1 of 1

[SVN] Chromatic Fury

Posted: Wed Oct 17, 2012 12:35 am
by donkatsu
Strange behavior when learning and unlearning Chromatic Fury. Putting in points one by one, and then removing them one by one yields the following stats according to the character sheet:

1/5: fire/cold/lightning/physical damage +2%, fire/cold/lightning/physical penetration +4% (as expected)
2/5: fire/cold/lightning/physical damage +3%, fire/cold/lightning/physical penetration +5%
3/5: fire/cold/lightning/physical damage +4%, fire/cold/lightning/physical penetration +6%
4/5: fire/cold/lightning/physical damage +4%, fire/cold/lightning/physical penetration +6%
5/5: fire/cold/lightning/physical damage +4%, fire/cold/lightning/physical penetration +6%
4/5: fire/cold/lightning/physical damage +0%, fire/cold/lightning/physical penetration -2%
3/5: fire/cold/lightning/physical damage +0%, fire/cold/lightning/physical penetration -2%
2/5: fire/cold/lightning/physical damage -1%, fire/cold/lightning/physical penetration -3%
1/5: fire/cold/lightning/physical damage -2%, fire/cold/lightning/physical penetration -4%

Learning and unlearning multiple times does not seem to change anything. Resistance bonuses are working properly.

Re: [SVN] Chromatic Fury

Posted: Wed Oct 17, 2012 7:34 am
by SageAcrin
*slaps forehead*

Copy-paste error. Argh.

self.resists_pen[DamageType.PHYSICAL] = (self.resists[DamageType.PHYSICAL] or 0) - 4

self.inc_damage[DamageType.PHYSICAL] = (self.resists[DamageType.PHYSICAL] or 0) - 2

All the elements besides resists, right down the line, use the wrong self-check for the latter half. Both on learn and on unlearn.

Siiiigh. Get the hard stuff reasonably right and screw up the easy stuff. :|

Re: [SVN] Chromatic Fury

Posted: Fri Oct 26, 2012 1:54 pm
by darkgod
fixed