Implemented Auto Shots with Config.
This commit is contained in:
@ -109,7 +109,10 @@ public class SoulShots implements IItemHandler
|
||||
}
|
||||
|
||||
// Send message to client
|
||||
activeChar.sendPacket(SystemMessageId.YOUR_SOULSHOTS_ARE_ENABLED);
|
||||
if (!activeChar.getAutoSoulShot().contains(item.getId()))
|
||||
{
|
||||
activeChar.sendPacket(SystemMessageId.YOUR_SOULSHOTS_ARE_ENABLED);
|
||||
}
|
||||
skills.forEach(holder -> Broadcast.toSelfAndKnownPlayersInRadius(activeChar, new MagicSkillUse(activeChar, activeChar, holder.getSkillId(), holder.getSkillLvl(), 0, 0), 600));
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user