Lineage Justice

Spells & Skills

Lookup and validate skills and spells.

TeleportToMotherTree
MP: 10 HP: 0 Item: None Amount: N/A Duration: 0 Skill Type: Other
Delay: 0 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 == TELEPORT_TO_MATHER) {
	L1PcInstance pc = (L1PcInstance) cha;
	if (pc.getMap().isEscapable() || pc.isGm()) {
		L1Teleport.teleport(pc, 33051, 32337, (short) 4, 5,
				true);
	} else {
		pc.sendPackets(new S_ServerMessage(647));
		pc.sendPackets(new S_Paralysis(S_Paralysis.TYPE_TELEPORT_UNLOCK, false));
	}
}