Lineage Justice
Spells & Skills
Lookup and validate skills and spells.
|
BloodLust
|
MP:
|
0
|
HP:
|
30
|
Item:
|
49158
|
Amount:
|
1
|
Duration:
|
600
|
Skill Type:
|
Change
|
Delay:
|
10
|
Cast Invis:
|
Yes
|
Ignores CM:
|
No
|
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
|
Add Effect:
@Override
public void addEffect(L1Character user, L1Character target,
int durationSeconds) {
if (target instanceof L1PcInstance) {
L1PcInstance pc = (L1PcInstance) target;
pc.setBraveSpeed(1);
pc.sendPackets(new S_SkillBrave(pc.getId(), 6, durationSeconds));
pc.broadcastPacket(new S_SkillBrave(pc.getId(), 6, 0));
}
}
Remove Effect:
@Override
public void removeEffect(L1Character target) {
target.setBraveSpeed(0);
if (target instanceof L1PcInstance) {
L1PcInstance pc = (L1PcInstance) target;
pc.sendPackets(new S_SkillBrave(pc.getId(), 0, 0));
pc.broadcastPacket(new S_SkillBrave(pc.getId(), 0, 0));
}
}