// =============================================================================== // DESCRIPTION: // CALLED BY: // PARAMS: // TYPE: // =============================================================================== // Init ========================================================================== @INIT if [__debug == 1] goto DEBUG goto SCRIPT // =============================================================================== // Debug ========================================================================= @DEBUG Echo #__debug_prefix#"Calling script spelimpact" goto SCRIPT // =============================================================================== // Script ======================================================================== @SCRIPT Set _type #GetScriptParam(type)# Set _idx #GetScriptParam(index)# Set _target #GetScriptParam(targetindex)# Set _team #GetTeam(|#_idx|#)# Set _is_team_summon #StringEquals(|#_type|#,Spell_CommanderHeal)# if [_is_team_summon > 0] "ExecScript _SVR_POWERUP :: ACTIVATE_ALLY_RECALL team #_team# idx #_idx#" goto EOF @EOF // ===============================================================================