// If this L2Attackable is a L2MonsterInstance and it has spawne
d minions, call its minions to battle
if (this instanceof L2MonsterInstance)
{
L2MonsterInstance master = (L2MonsterInstance) this;
if (master.hasMinions())
master.callMinionsToAssist(attacker);
else if (this instanceof L2MinionInstance)
{
L2MonsterInstance true_master = ((L2MinionInstance)this).get
Leader();
if(true_master != null)
{
((L2Attackable)true_master).addDamage(attacker,1);
if (true_master.hasMinions())
true_master.callMinionsToAssist(attacker);
}
}
}