Spaces:
Runtime error
Runtime error
File size: 645 Bytes
7132222 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
from base.attribute import MagicalAttribute
from base.constant import BINARY_SCALE
class ZiXiaGong(MagicalAttribute):
SPIRIT_TO_ATTACK_POWER = 1792 / BINARY_SCALE
SPIRIT_TO_CRITICAL_STRIKE = 573 / BINARY_SCALE
def __init__(self):
super().__init__()
self.magical_attack_power_base += 3725
self.magical_critical_strike_base += 1788
self.pve_addition += 51
@property
def extra_magical_attack_power(self):
return int(self.spirit * self.SPIRIT_TO_ATTACK_POWER)
@property
def extra_magical_critical_strike(self):
return int(self.spirit * self.SPIRIT_TO_CRITICAL_STRIKE)
|