def get_additional_damages(self, weapon, is_attack=False): yield Damage('electric', [ DamageScalar(Electrifying.RawDamage, 'resolve', scale_amount=Electrifying.ScaleAmount, requirement=0) ])
def get_additional_damages(self, weapon, is_attack=False): yield Damage('aqueous', [ DamageScalar(Diluvial.RawDamage, 'resolve', scale_amount=Diluvial.ScaleAmount, requirement=0) ])
def get_additional_damages(self, weapon, is_attack=False): yield Damage('cold', [ DamageScalar(Frosty.RawDamage, 'resolve', scale_amount=Frosty.ScaleAmount, requirement=0) ])
def get_additional_damages(self, weapon, is_attack=False): yield Damage('aqueous', [ DamageScalar(Condensating.RawDamage, 'resolve', requirement=0, scale_amount=Condensating.ScaleAmount) ])
def get_additional_damages(self, weapon, is_attack=False): yield Damage('fire', [ DamageScalar(Smoldering.RawDamage, 'resolve', requirement=0, scale_amount=Smoldering.ScaleAmount) ])
def get_additional_damages(self, weapon, is_attack=False): yield Damage('cold', [ DamageScalar( Chilled.RawDamage, 'resolve', requirement=0, scale_amount=Chilled.ScaleAmount) ])
def get_additional_damages(self, weapon, is_attack=False): loc = weapon.owner.coordinates world = weapon.owner.world sanctity = world.sanctity_at(loc) true_scale = Divine.ScaleAmount * 2 * max(-1, min(1, sanctity)) yield Damage('divine', [ DamageScalar(Divine.RawDamage, 'sense', scale_amount=true_scale, requirement=0) ])
def get_additional_damages(self, weapon, is_attack=False): energy = int(weapon.owner.maximum_arcane_energy() * Runed.EnergyPercentage) if is_attack: if energy > weapon.owner.arcane_energy: return weapon.owner.arcane_energy -= energy yield Damage('arcane', [ DamageScalar(energy, 'acuity', scale_amount=Runed.ScaleAmount, requirement=Runed.Requirement) ])
def get_additional_damages(self, weapon, is_attack=False): yield Damage('divine', [DamageScalar( Holy.RawDamage, 'sense', scale_amount=Holy.ScaleAmount, requirement=0)])
def slashing_damage_scalars(self): yield DamageScalar(self.raw_base_damage(), 'dexterity', percentage=self.slashing_percentage())
def bludgeon_damage_scalars(self): yield DamageScalar(self.raw_base_damage(), 'strength', percentage=self.bludgeoning_percentage())
def force_damage_scalars(self): yield DamageScalar(self.raw_base_damage(), 'acuity', percentage=1.00)
def get_additional_damages(self, weapon, is_attack=False): yield Damage('demonic', [DamageScalar( Demonic.RawDamage, 'sense', scale_amount=Demonic.ScaleAmount, requirement=0)])