Lineage Justice
Spells & Skills
Lookup and validate skills and spells.
|
DoubleBreak
|
MP:
|
20
|
HP:
|
0
|
Item:
|
40321
|
Amount:
|
1
|
Duration:
|
192
|
Skill Type:
|
Change
|
Delay:
|
0
|
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
|
L1Attack Execution:
if (_pc.hasSkillEffect(DOUBLE_BRAKE) && (_weaponType == WeaponType.Edoryu || _weaponType == WeaponType.Claw)) {
int bonus = 0;
if (_pc.getLevel() > 45 ) {
bonus = (_pc.getLevel() - 45) / 5;
bonus = Math.max(0, bonus);
}
if ((ThreadLocalRandom.current().nextInt(100) + 1) <= (34 + bonus)) {
weaponTotalDamage *= 2;
}
}
}