tyrimur 0 Report post Posted August 1, 2017 /script if((GetActionCooldown(64)==0) and (IsUsableAction(64)==1))then CastSpellByName("Revenge(Rank 2)");end I saw this script that could help warrior to cast Revenge ASAP I'm wondering what that '64' stands for inside the bracket? also if I want to write a macro that could let me to use Overpower once the mob dodges my attack, what should I put inside that bracket? 0 Share this post Link to post Share on other sites
Shino 27 Report post Posted August 2, 2017 http://wowwiki.wikia.com/wiki/ActionSlot Edit: Second question: Not sure if that works but the actionSlot of your overpower. cheers! 0 Share this post Link to post Share on other sites
tyrimur 0 Report post Posted August 2, 2017 (edited) 1 hour ago, Shino said: http://wowwiki.wikia.com/wiki/ActionSlot Edit: Second question: Not sure if that works but the actionSlot of your overpower. cheers! http://vanilla-wow.wikia.com/wiki/API_IsUsableAction I found something similar here, it says slots 61 - 72 are included in Action Bar 6 (Bottom Right), I guess Blizzard re-arrange the ID of actionSlots after vanilla version. But i got more question here, it looks like the whole macro determines the status of my Revenge ability by getting its actionSlot ID, However my No.64 actionSlot is empty, I don't even drag "Revenge" ability into any actionSlot. Here is my entire macro: /cast Shield Block /script if((GetActionCooldown(64)==0) and (IsUsableAction(64)==1))then CastSpellByName("Revenge(Rank 2)");end /cast Sunder Armor(Rank 2) /script if(UnitMana("Player")>44)then CastSpellByName("Heroic Strike(Rank 5)");end each time i press this macro, It will cast "shield block" and cast “revenge” by determine the expression, if not, it will cast “sunder Armor” and if my rage goes above 44, it will cast Heroic Strike simultaneously. Edited August 2, 2017 by tyrimur typo 0 Share this post Link to post Share on other sites
Shino 27 Report post Posted August 2, 2017 Maybe these are the default values for the empty action slot, dunno. For these function to work properly the vanilla ability is required to be in the slot though. Maybe put the Sunder Armor part in the else part of your first function 0 Share this post Link to post Share on other sites