Steiner 1 Posted July 27, 2018 Share Posted July 27, 2018 Hello folks, I'm currently working on a simple pvp rotation, but I still struggle with interrupt spells. If you choose Target in Cast in profile creator it will interrupt the target immediately and it will look really fishy, if you choose Target Casting Time Left it feels like it doesn't really matter which value you choose, it will interrupt very early as well. thanks in advance Link to comment https://wrobot.eu/forums/topic/9843-interrupt-casting-at-80-90/ Share on other sites More sharing options...
Droidz 2738 Posted July 27, 2018 Share Posted July 27, 2018 Hello, you can try to use lua codition https://wow.gamepedia.com/API_UnitCastingInfo: local name, text, texture, startTimeMS, endTimeMS, isTradeSkill, castID, notInterruptible, spellId = UnitCastingInfo("player") if name then local finish = GetTime() - startTimeMS/1000 local casttime = (endTimeMS - startTimeMS) /1000 local p = finish * 100 / casttime print(name .. ' casting ' .. p .. ' %.') end Link to comment https://wrobot.eu/forums/topic/9843-interrupt-casting-at-80-90/#findComment-46083 Share on other sites More sharing options...
435 1 Posted December 8, 2018 Share Posted December 8, 2018 @Droidz do we have to replace the first line ? lets say I want to use (shadow priest's) silence to interrupt any cast. 15487 silence, silence, path?(what path?), 1500(where it can attempt interrupt), 500(where the attempt ends?), tradeskill(what is this?), 15487(silence id), notInterruptible(then what), spellId = UnitCastingInfo("focus") Silence, Silence, _, _, endTime = UnitCastingInfo"focus") if spell then local finish = endTimeMS/1000 - GetTime() print(spell .. ' will be finished casting in ' .. finish .. ' seconds.') end if I add this as lua script is it going to work? Link to comment https://wrobot.eu/forums/topic/9843-interrupt-casting-at-80-90/#findComment-49825 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now