프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$handlerList |
메소드 | 설명 | |
---|---|---|
__construct ( |
||
createThornsDamage ( ) | ||
getCause ( ) : integer | ||
getDamage ( integer $type = self::MODIFIER_BASE ) : integer | ||
getFinalDamage ( ) : integer | ||
getFireProtectL ( ) : Int | ||
getOriginalDamage ( integer $type = self::MODIFIER_BASE ) : integer | ||
getRateDamage ( integer $type = self::MODIFIER_BASE ) : float | ||
getThornsDamage ( ) | ||
getUsedArmors ( ) : |
||
isApplicable ( integer $type ) : boolean | ||
setDamage ( float $damage, integer $type = self::MODIFIER_BASE ) | ||
setRateDamage ( float $damage, integer $type = self::MODIFIER_BASE ) | ||
setThornsArmorUse ( ) : boolean | ||
useArmors ( ) : boolean |
public __construct ( |
||
$entity | ||
$cause | integer | |
$damage | integer | int[] |
public getOriginalDamage ( integer $type = self::MODIFIER_BASE ) : integer | ||
$type | integer | |
리턴 | integer |
public getRateDamage ( integer $type = self::MODIFIER_BASE ) : float | ||
$type | integer | |
리턴 | float | 1 - the percentage |
public getUsedArmors ( ) : |
||
리턴 | $usedArmors notice: $usedArmors $index->$cost $index: the $index of ArmorInventory $cost: the num of durability cost |
public setRateDamage ( float $damage, integer $type = self::MODIFIER_BASE ) | ||
$damage | float | |
$type | integer | Notice:If you want to add/reduce the damage without reducing by Armor or effect. set a new Damage using setDamage Notice:If you want to add/reduce the damage within reducing by Armor of effect. Plz change the MODIFIER_BASE Notice:If you want to add/reduce the damage by multiplying. Plz use this function. |
public setThornsArmorUse ( ) : boolean | ||
리턴 | boolean | should be used after getThornsDamage() |