Bug - Not A Bug buffed_hit_stat wrong

ckb

Minion
Staff member
something seems wrong with buffed_hit_stat().
As a level 8 Pastamancer, wielding Thor's Pliers, I have 42 (39) Mus.


> ash buffed_hit_stat()

Returned: 2147483647


If only I was so powerful :(
 

ckb

Minion
Staff member
Huh. That's an interesting and unexpected twist. I'll have to work around that.
 

lostcalpolydude

Developer
Staff member
What are you doing with that value where comparing it to the monster's defense (which works fine in this case) isn't sufficient?
 

xKiv

Active member
It's also wrong because buffed_hit_stat includes passive bonuses to hit chance (crab claw technique when wielding accordion, master of surprising fist when unarmed).
Perhaps there should be buffed_damage_stat to account for these differences (and the technically possible chance that some weapons use different stat for to-hit and damage calculations)?
There's current_hit_stat, but that just returns *which* stat.
Is there even any passive skill/modifier/... (not combat skill) that would increase "buffed stat used for calculating damage" without also increasing that buffed stat?
 

lostcalpolydude

Developer
Staff member
Is it really important to have a built-in function that's just the equivalent of my_buffedstat( current_hit_stat() ) ?
 
Top