Jump to content

New condition suggestions for Wrobot(fightclass creator tool)


Recommended Posts

Hi,

having some trouble creating some fightclasses for wrotation without some conditions in the FightClass Creater tool, would like to suggest if it helps

if there is already please show how its done

 

1- Target Channeling- (not casting, but channeling) that would help to interrupt channels right away and interrupt the casts at last miliseconds

2- Spell Charge - Some spells can be used more than once right after, many classes have those abilities, bot use it when possible which is not very preferable

 

Link to comment
Share on other sites

  • 2 weeks later...
On 6/5/2016 at 1:51 PM, Droidz said:

Hello,

1 - You have condition "Target Casting Time Left" (works with channeling) or you can use lua: http://wow.gamepedia.com/API_UnitChannelInfo

2 - With "Buff Stack" you can get spell charge generally, but you can use lua: http://wow.gamepedia.com/API_GetSpellCharges

Ty for your interest first

1- You cant understand if target is channeling or casting in any case, i don't know how to use lua

2- Buff stack returns the buffs stacks on your character, what i need is charges of a spell, 

 

Lets say we cant do them by the FightClass editor, I try to learn about Lua scripts then

               Would u post an example for ;

                An enhance shaman, to

                      cast Lava Lush

                            ---only when it has 2 charges

Untitled.png

Link to comment
Share on other sites

Got this one working, with some comparison and basic coding knowladge

 

Lua Script : currentCharges, maxCharges, cooldownStart, cooldownDuration = GetSpellCharges(60103);if (currentCharges==2) then    retV = "1"else   retV = "0" end

Return value research : 1

Return value var : retV

 

 

it does ;

         cast Lava Lush

                            ---only when it has 2 charges

Using lua will add many options it seems, but it would be nice if we had a condition in FightClass editor, will try to do channeling one as well dont know how to test it tho

Link to comment
Share on other sites

Done channeling with this one;

Lua Script part:

          name, subText, text, texture, startTime, endTime, isTradeSkill, notInterruptible = UnitChannelInfo("target");if (startTime>50) then    retV = "1" else   retV = "0" end

                 it does:

                        cast "interrupt spell" (spell u added this conditon) after 50 milliseconds

                        other conditons in image assure interruptable and range (exp for Arcane Torrent - Blood elf interrupt)

                        i suggest to keep the order below in condtions, and "Lock frame when checking conditons" to False

                       For interrupting normal casts (not channel), i added same spell with different conditons that exist in Fight Class Editor

                       So now i can interrupt channels right away and interrupt casts at last milliseconds .)

 

I ask; if how can we add notInterruptible part to the script above, rather than adding it in FightClass editor

Thanx in advance, hf

 

interrupt.png

Link to comment
Share on other sites

  • 3 months later...
On 06/06/2016 at 3:16 PM, [email protected] said:

Got this one working, with some comparison and basic coding knowladge

 

Lua Script : currentCharges, maxCharges, cooldownStart, cooldownDuration = GetSpellCharges(60103);if (currentCharges==2) then    retV = "1"else   retV = "0" end

Return value research : 1

Return value var : retV

 

 

it does ;

         cast Lava Lush

                            ---only when it has 2 charges

Using lua will add many options it seems, but it would be nice if we had a condition in FightClass editor, will try to do channeling one as well dont know how to test it tho

is not working with  Fel Barrage    canu help me?

Link to comment
Share on other sites

  • 3 weeks later...
On 06/06/2016 at 10:16 AM, [email protected] said:

Got this one working, with some comparison and basic coding knowladge

 

Lua Script : currentCharges, maxCharges, cooldownStart, cooldownDuration = GetSpellCharges(60103);if (currentCharges==2) then    retV = "1"else   retV = "0" end

Return value research : 1

Return value var : retV

 

 

it does ;

         cast Lava Lush

                            ---only when it has 2 charges

Using lua will add many options it seems, but it would be nice if we had a condition in FightClass editor, will try to do channeling one as well dont know how to test it tho

I made this work with a simpler way, just add a condition "cooldown enabled" and set true. It will only cast when have 2 stacks full, and no cooldown.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...