Prohibit auto casting SUMMON TargetType when all summons are affected.

Contributed by Index.
This commit is contained in:
MobiusDevelopment
2022-08-17 21:21:14 +00:00
parent e97905dd60
commit 82d959ac4f
10 changed files with 10 additions and 10 deletions

View File

@ -361,7 +361,7 @@ public class AutoUseTaskManager implements Runnable
private boolean canCastBuff(Player player, WorldObject target, Skill skill)
{
// Summon check.
if (skill.getAffectScope() == AffectScope.SUMMON_EXCEPT_MASTER)
if ((skill.getAffectScope() == AffectScope.SUMMON_EXCEPT_MASTER) || (skill.getTargetType() == TargetType.SUMMON))
{
if (!player.hasServitors())
{