Lineage Justice
Spells & Skills
Lookup and validate skills and spells.
|
ReductionArmor
|
MP:
|
5
|
HP:
|
50
|
Item:
|
None
|
Amount:
|
N/A
|
Duration:
|
32
|
Skill Type:
|
Change
|
Delay:
|
3000
|
Cast Invis:
|
Yes
|
Ignores CM:
|
Yes
|
Element:
|
None
|
Range:
|
N/A
|
Area:
|
N/A
|
Dmg Value:
|
0.0
|
Dmg Dice:
|
0
|
Dice Count:
|
0
|
Prob Value:
|
0
|
Prob Dice:
|
0
|
Prob Max:
|
N/A
|
Skill Effect (Physical or Magic):
if (_targetPc.hasSkillEffect(REDUCTION_ARMOR)) {
int targetPcLvl = _targetPc.getLevel();
if (targetPcLvl < 50) {
targetPcLvl = 50;
}
dmg -= (targetPcLvl - 50) / 5 + 1;
}