Jump to content

Paultimate

Members
  • Posts

    38
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Paultimate reacted to Droidz in UseItemOn doesn't work because of Item Cooldown   
    Hello, to bypass this problem, before to pulse this quest add step type runcode:
    robotManager.Events.FiniteStateMachineEvents.OnRunState += (engine, state, cancelable) => { int itemId = 1234; int questId = 1234; if (!wManager.Wow.Helpers.Conditions.InGameAndConnectedAndAliveAndProductStartedNotInPause) return; if (wManager.Wow.Helpers.Conditions.IsAttackedAndCannotIgnore) return; if (state.DisplayName == "Quester") { if (wManager.Wow.Helpers.Quest.HasQuest(questId) && wManager.Wow.Helpers.Lua.LuaDoString<bool>("local start, duration, enable = GetItemCooldown("+ itemId + "); return enable;")) { cancelable.Cancel = true; } } }; (replace spell and item id)
×
×
  • Create New...