Hello,
I don't have warrior, but I have found it: http://dl.dropboxusercontent.com/s/dng7cwknxh52nh4/AzN_WARRIOR_Abilities.xml (pqr profile):
http://www.wowhead.com/spell=122510 ID = 122510
http://www.wowhead.com/spell=2565 ID = 2565
http://www.wowhead.com/spell=122016 ID = 122016
http://www.wowhead.com/spell=845 ID = 845
http://www.wowhead.com/spell=78 ID = 78
Ability: Prot Heroic Strike
local playerhealth = 100 * UnitHealth("player") / UnitHealthMax("player")
local targethealth = 100 * UnitHealth("target") / UnitHealthMax("target")
local threat = UnitDetailedThreatSituation("player", "target")
local start, duration, enabled = GetSpellCooldown(2565)
if (start + duration - GetTime() > 0 and UnitPower("player") >= 85) or UnitBuffID("player",122510) or UnitBuffID("player",122016) then
if AoE == true then
CastSpellByName(GetSpellInfo(845))
else
CastSpellByName(GetSpellInfo(78))
end
end