Hello fathernitwit,
Doodman helped me on this one and, since, it seems to work, atleast for me.
As this bug was totally random, I think that sometimes the poisoncounter on a buff is updated even it doesn't have any poisoncounter base.
Like you said:
if (buffs[j].poisoncounters == 0) // skips anything with 0 poison counters. I've made some tests and didn't see the pet heal spells dispelling a buff the first time the heal is casted.
When the bug occurs.. it matches with the next statement:
if (effect_value >= buffs[j].poisoncounters) {
The effect_value is -10 for the pet's heal spell, so if the statement isn't matched the first time I cast the spell but after (and still randomly), that means the poisoncounters on the buff has been updated, signed. Am I right?
Now, why is the buff.poisoncounters is updated whereas the buff hasn't any poisoncounter base ? I don't know but I'm actually trying to find this out.
Mag
Last edited by Magoth78; 08-17-2006 at 05:44 AM..
|