Метод | Описание | |
---|---|---|
HandleConditions ( |
Modified damage based on active conditions.
|
|
HandleDefenseProtection ( |
Reduces damage by target's defense and protection.
|
|
HandleInjury ( |
Inflicts injuries to target, based on attacker's Injury properties and the given damage.
|
|
HandleMagicDefenseProtection ( |
Reduces damage by target's magic defense and protection.
|
|
UpdateWeapon ( |
Reduces weapon's durability and increases its proficiency. Only updates weapon type items that are not null.
|
public static HandleConditions ( |
||
attacker | ||
target | ||
damage | float | |
Результат | void |
public static HandleDefenseProtection ( |
||
target | ||
damage | float | |
defense | bool | |
protection | bool | |
Результат | void |
public static HandleInjury ( |
||
attacker | ||
target | ||
damage | float | |
Результат | void |
public static HandleMagicDefenseProtection ( |
||
target | ||
damage | float | |
defense | bool | |
protection | bool | |
Результат | void |
public static UpdateWeapon ( |
||
attacker | Creature who's weapon is updated. | |
target | /// The target of the skill, used for power rating calculations. /// If target is null, prof will be rewarded regardless of target. /// | |
profGainType | ProficiencyGainType | |
Результат | void |