Bug - Fixed buffed_hit_stat() is wrong (sometimes)

Sorry about this. I'll see if I can fix it today.
 
Are you sure you're not a muscle class with an "Attacks Cant Miss" modifier?
 
Mostly sure - I think I logged out of r26200 and back in on r26199 and the problem went away.
I'll check again...
 
Last edited:
Are you sure you're not a muscle class with an "Attacks Cant Miss" modifier?

ok, you are right - I guess I did not entirely understand this feature of buffed_hit_stat()... and now I know I should not use it to calculate weapon damage. I guess this is a feature and not a bug.
Likely the 'Attacks Cant Miss' buff wore out between my adventure testing, leading to the conclusion of the r26200 problem (and the fact that r26200 dealt with extra doubling of numbers).
Thanks for the explanation.
 
One more related bug. buffed_hit_stat() seems to only return 2147483647 with 'Attacks Cant Miss' if the weapon is a melee weapon (or rather - if the current_hit_stat()==$stat[Muscle])

Code:
> equip garbage sticker

Wielding garbage sticker...
Equipment changed.

> ash buffed_hit_stat();

Returned: 2147483647

> equip bottle rocket crossbow

Wielding bottle-rocket crossbow...
Equipment changed.

> ash buffed_hit_stat();

Returned: 271

> equip cosplay saber

Wielding Fourth of May Cosplay Saber...
Equipment changed.

> ash buffed_hit_stat();

Returned: 400
 
Last edited:
Back
Top