Lineage Justice

Spells & Skills

Lookup and validate skills and spells.

ElementalFire
MP: 20 HP: 0 Item: 40319 Amount: 1 Duration: 320 Skill Type: Change
Delay: 100 Cast Invis: Yes Ignores CM: Yes Element: Fire 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)) {
	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;
}