Smart Taunt / Peel Tank edit

Discussion in 'E3' started by bobbo124, Aug 6, 2019.

  1. bobbo124

    bobbo124 Orc Pawn

    Messages:
    6
    Posting for review...
    e3_Assists.inc link
    e3_Tanking.inc link

    I removed the line under peeltank section in e3_tanking.inc:
    Code:
    /varset doTaunt TRUE

    This fixes an issue while using Smart Taunt and Peeltank where a tank will continue to spam taunts even when off the peeled target, potentially taunting a mob off the main tank.


    I also made some changes to the smart taunt section of e3_assists.inc to include other aggro abilities when Taunt is on cooldown. Most people should probably remove the bandolier section at the bottom. I added this so my tanks would switch to shield automatically when they get aggro.

    Code:
      /if (${Defined[smartTaunt]}) {
        /if (${smartTaunt}) {
          /if (!${Bool[${Select[${Me.TargetOfTarget.Class.ShortName},WAR,PAL,SHD]}]}) {
            /if (${Select[${Spawn[id ${Target.ID}].Type},${AcceptableTargetTypes}]}) {
              /if (${Me.AbilityReady[Taunt]}) {
                /bc Taunting ${Target.CleanName}: ${Me.TargetOfTarget.Class.ShortName}-${Me.TargetOfTarget} has aggro
                /doability Taunt
              } else /if (${Me.CombatAbilityReady[Mock]}) {
                /bc Mock on ${Target.CleanName}: ${Me.TargetOfTarget.Class.ShortName}-${Me.TargetOfTarget} has aggro
                /doability Mock
              } else /if (${Me.CombatAbilityReady[Bazu Bellow]}) {
                /bc Bazu Bellow on ${Target.CleanName}: ${Me.TargetOfTarget.Class.ShortName}-${Me.TargetOfTarget} has aggro
                /doability "Bazu Bellow"
              } else /if (${Me.AltAbilityReady[Divine Stun]}) {
                /bc Divine Stun on ${Target.CleanName}: ${Me.TargetOfTarget.Class.ShortName}-${Me.TargetOfTarget} has aggro
                /casting "Divine Stun"
              } else /if (${Me.SpellReady[Terror of Discord]}) {
                /bc Terror of Discord on ${Target.CleanName}: ${Me.TargetOfTarget.Class.ShortName}-${Me.TargetOfTarget} has aggro
                /casting "Terror of Discord"
                  }
                }
              }
            }
          }
          /if (${Me.TargetOfTarget.CleanName.Equal[${Me.CleanName}]}) {
            /bandolier activate tank
          }
        }
      }