Lineage Justice

Spells & Skills

Lookup and validate skills and spells.

BurningSpirit
MP: 20 HP: 0 Item: None Amount: N/A Duration: 320 Skill Type: Change
Delay: 2990 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:

if ((_pc.hasSkillEffect(ELEMENTAL_FIRE) && !isBow && !isGauntlet && !isKiringku)) {
	if ((_random.nextInt(100) + 1) <= 35) {
		double tempDmg = dmg;
		if (_pc.hasSkillEffect(FIRE_WEAPON)) {
			tempDmg -= 4;
		}
		if (_pc.hasSkillEffect(FIRE_BLESS)) {
			tempDmg -= 4;
		}
		if (_pc.hasSkillEffect(BURNING_WEAPON)) {
			tempDmg -= 6;
		}
		if (_pc.hasSkillEffect(BERSERKERS)) {
			tempDmg -= 5;
		}
		double diffDmg = dmg - tempDmg;
		dmg = tempDmg * 1.5 + diffDmg;
	}
}