Lineage Justice
Spells & Skills
Lookup and validate skills and spells.
|
Eye Of Dragon
|
MP:
|
15
|
HP:
|
0
|
Item:
|
None
|
Amount:
|
N/A
|
Duration:
|
0
|
Skill Type:
|
Change
|
Delay:
|
500
|
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
|
L1SkillUse Execution:
if (_skillId == DETECTION || _skillId == EYE_OF_DRAGON
|| _skillId == EYES_BREAKER) {
if (cha instanceof L1NpcInstance) {
L1NpcInstance npc = (L1NpcInstance) cha;
int hiddenStatus = npc.getHiddenStatus();
if (hiddenStatus == L1NpcInstance.HIDDEN_STATUS_SINK) {
npc.appearOnGround(_player);
}
}
}
private void detection(L1PcInstance pc) {
if (!pc.isGmInvis() && pc.isInvisble()) {
pc.delInvis();
pc.beginInvisTimer();
}
for (L1PcInstance target : L1World.getInstance().getVisiblePlayer(pc)) {
if (!target.isGmInvis() && !target.isGhost() && target.isInvisble()) {
target.delInvis();
}
}
L1WorldTraps.getInstance().onDetection(pc);
}