Spaces:
Runtime error
Runtime error
from base.attribute import PhysicalAttribute | |
from base.constant import * | |
class GuFengJue(PhysicalAttribute): | |
STRENGTH_TO_ATTACK_POWER = 1638 / BINARY_SCALE | |
STRENGTH_TO_CRITICAL_STRIKE = 256 / BINARY_SCALE | |
def __init__(self): | |
super().__init__() | |
self.physical_attack_power_base += 3346 | |
self.physical_critical_strike_base += 2775 | |
self.pve_addition += 61 | |
def extra_physical_attack_power(self): | |
return int(self.strength * self.STRENGTH_TO_ATTACK_POWER) | |
def extra_physical_critical_strike(self): | |
return int(self.strength * self.STRENGTH_TO_CRITICAL_STRIKE) | |