Lineage Justice
Spells & Skills
Lookup and validate skills and spells.
|
Paralyze
|
MP:
|
80
|
HP:
|
0
|
Item:
|
40318
|
Amount:
|
2
|
Duration:
|
7
|
Skill Type:
|
Curse
|
Delay:
|
5000
|
Cast Invis:
|
No
|
Ignores CM:
|
No
|
Element:
|
Earth
|
Range:
|
1
|
Area:
|
N/A
|
Dmg Value:
|
0.0
|
Dmg Dice:
|
0
|
Dice Count:
|
0
|
Prob Value:
|
0
|
Prob Dice:
|
8
|
Prob Max:
|
80
|
Add Effect:
@Override
public void addEffect(L1Character user, L1Character target,
int durationSeconds) {
if (!target.hasSkillEffect(EARTH_BIND)
&& !target.hasSkillEffect(ICE_LANCE)
&& !target.hasSkillEffect(FREEZING_BLIZZARD)) {
if (target instanceof L1PcInstance) {
L1CurseParalysis.curse(target, 8000, 16000);
} else if (target instanceof L1MonsterInstance) {
L1CurseParalysis.curse(target, 0, 16000);
}
}
}
Remove Effect:
@Override
public void removeEffect(L1Character target) {
if (target instanceof L1PcInstance) {
L1PcInstance pc = (L1PcInstance) target;
pc.sendPackets(new S_Poison(pc.getId(), 0));
pc.broadcastPacket(new S_Poison(pc.getId(), 0));
pc.sendPackets(new S_Paralysis(S_Paralysis.TYPE_PARALYSIS,
false));
}
}