Help with player.casting(interspellhere) menu

User Tag List

Results 1 to 4 of 4
  1. #1
    Garden's Avatar Member
    Reputation
    1
    Join Date
    Mar 2015
    Posts
    21
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Help with player.casting(interspellhere)

    Hello,

    Working on my affliction routine and i think playert.casting(spell) is not working fine.

    Whatever the spell i put it only return player.casting ( Even if i use spell ID ).

    Same with player.channeling.

    Any idea i can i change or fix the code for this working ?

    Help with player.casting(interspellhere)
  2. #2
    Garden's Avatar Member
    Reputation
    1
    Join Date
    Mar 2015
    Posts
    21
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Any help ?

  3. #3
    akeon1's Avatar Contributor
    Reputation
    103
    Join Date
    Sep 2011
    Posts
    265
    Thanks G/R
    3/7
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    been a while since i looked at it (and i am fairly certain your answer is in the documentation post... but try

    here is an example line:

    { "/cast Water Jet", { "player.casting.percent >= 60", "player.casting(Frostbolt)", "player.spell(Frozen Orb).cooldown < 50", "player.spell(Frozen Orb).cooldown > 10" } },

    This will only cast water jet if you are casting frostbolt and it is more than 60% complete.

    Regarding player.channeling
    i think this was messed up a while ago. i dont know if it was fixed, but you can do something like this:

    { "/stopcasting", { "player.mana >= 95", function() local s,_=UnitChannelInfo("player"); return s and s == 'Evocation' end } },

    This runs the macro /stopcasting (cancels the cast) if the player is channeling Evocation and has equal to or more than 95% mana

  4. #4
    Garden's Avatar Member
    Reputation
    1
    Join Date
    Mar 2015
    Posts
    21
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    "player.casting(Frostbolt)"

    Frostbolt is the only spell you are casting in you rotation, How do you even know if it return when casting Frostbolt or just casting.

    You want to test go : { "/s lol", { "player.casting(Frostbolt)" }}, in the Out of combat mode for example and cast you summon elem you will see.

Similar Threads

  1. help with spell cast condition
    By lg40 in forum PE Support forum
    Replies: 2
    Last Post: 12-30-2014, 05:30 PM
  2. [C++ Script] Need help with (Only leader of a group may cast that spell) c++ script
    By Pieterkii in forum WoW EMU Questions & Requests
    Replies: 2
    Last Post: 06-16-2013, 11:05 AM
  3. Need help with host stats player can it hold
    By thug123 in forum WoW EMU Questions & Requests
    Replies: 2
    Last Post: 03-04-2010, 05:21 PM
  4. Hey, need help with giving item to player upon a kill PvP kill
    By shadowknight513 in forum WoW EMU Questions & Requests
    Replies: 3
    Last Post: 01-15-2010, 06:20 PM
  5. Help with windows media player
    By Tenni-T in forum Community Chat
    Replies: 4
    Last Post: 08-21-2009, 09:03 AM
All times are GMT -5. The time now is 04:17 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search