PaulQbFeng / too-tanky

3 stars 0 forks source link

Attack speed and move speed refacto/small stats refacto/mythic passives #56

Closed LinSun00 closed 1 year ago

LinSun00 commented 1 year ago
PaulQbFeng commented 1 year ago

Do we have to handle attack speed differently in Stats()when we do stat1 + stat2 ?

LinSun00 commented 1 year ago

We don't have to handle attack speed differently in Stats(). The way it works is that items add stats to self.orig_bonus_stats.attack_speed. self.bonus_attack_speed is initialized with those item stats. Then the specifics of total attack_speed calculation are handled directly in the attack_speed getter