Lineage Justice

Spells & Skills

Lookup and validate skills and spells.

TrueTarget
MP: 1 HP: 0 Item: None Amount: N/A Duration: 0 Skill Type: Change
Delay: 0 Cast Invis: Yes Ignores CM: Yes Element: None Range: 15 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 == TRUE_TARGET) {
	if (_user instanceof L1PcInstance) {
		L1PcInstance pri = (L1PcInstance) _user;
		pri.sendPackets(new S_TrueTarget(_targetID,
				pri.getId(), _message));
		L1Clan clan = pri.getClan();
		if (clan != null) {
			L1PcInstance players[] = clan.getOnlineClanMember();
			for (L1PcInstance pc : players) {
				if (pc.getLocation().isInScreen(_target.getLocation())) {
					pc.sendPackets(new S_TrueTarget(_targetID, pc
							.getId(), _message));
				}
			}
		}
	}