bool TryToCallForHelp()
{
// Summons are generally short-duration spells which are better used like traps, sprung
// on hapless opponents.
if (GetAlliesInMelee() > 0)
{
NWTalent Summon = Script.GetCreatureTalentBest(CLRScriptBase.TALENT_CATEGORY_BENEFICIAL_OBTAIN_ALLIES, 20, ObjectId, 0);
if (Script.GetIsTalentValid(Summon) == CLRScriptBase.TRUE)
{
Script.ActionUseTalentAtLocation(Summon, Script.GetLocation(ObjectId));
return true;
}
}
return false;
}
#endregion