public getRateDamage ( integer $type = self::MODIFIER_BASE ) : float | ||
$type | integer | |
Résultat | float | 1 - the percentage |
public function getRateDamage($type = self::MODIFIER_BASE)
{
if (isset($this->rateModifiers[$type])) {
return $this->rateModifiers[$type];
}
return 1;
}