Jump to content

Hemingway

Members
  • Posts

    9
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Hemingway's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. I wanted to thank everyone who helped me with this! I got it working. I ended up having to set the spell name to Lua: CastSpellByName("Disease Cleansing Totem") And that did the trick!
  2. Done, and it returns a true in game, so it is working. It has to be an issue with how I have the spell configured in wrobot then. I will look into it some more tomorrow. I really appreciate the help so far.
  3. Is that using the /run command? I tried this using /run before this in game and it gives nothing in return. for i=1,40 do local name, rank, iconTexture, count, debuffType, duration, timeLeft = UnitDebuff('player', i); if debuffType == 'Disease' then hasDebuff = true break; end end
  4. I am wondering if this doesn't work in TBC (2.4.3)? Based on your posts and research over the last day trying to get this to work I feel it should work with how I currently have the condition set: <FightClassCondition> <ContionType>LuaScript</ContionType> <Param xsi:type="FightClassConditionLua"> <LuaScript>hasDebuff = false; for i=1,40 do local name, rank, iconTexture, count, debuffType, duration, timeLeft = UnitDebuff('player', i); if debuffType == 'Disease' then hasDebuff = true break; end end</LuaScript> <VarRet>hasDebuff</VarRet> <ValueRet>true</ValueRet> </Param> </FightClassCondition> That's from my XML. I have also tried " instead of ' with no change.
  5. Thank you so much for the response! If you don't mind me asking, I am assuming that UnitDebuff(""{1}"", i) Indicates the current player in the ""{1}""? And does if debuffType == ""{0}"" then Mean any debuff or is there some other identifier I need to put there, e.g. poison or disease? Again, thanks so much. Your quick responses are much appreciated!
  6. Per your suggestion I changed it to the 2.1 arguments as it seems to have gone unchanged between 2.1 and 3.0. Here is what I came up with, but it still doesn't work: anyPoison = false; for i=1,40 do local name, rank, icon, count, debuffType, duration, timeLeft = UnitDebuff("player", i); if debuffType == "Poison" then anyPoison = true return; end end research = true var = anyPoison If I misunderstood what you were saying I apologize. I AM trying to learn this I promise ?
  7. I am using this script as a condition: anyDisease false; for i=1,40 do local name, rank, icon, count, debuffAuraType = UnitAura("player", i); if name and debuffAuraType and debuffAuraType == "Disease" then anyDisease = true; return; end end true anyDisease It never attempts to use the spell. I have attached my fight class. Enhancement Shaman.xml Game Version 2.4.3 Debug:
  8. Mine won't put flametongue on the offhand. The first cast it works, but then as it is time to refresh I see the cursor highlight like it wants me to click my main/offhand to refresh the buff, and if I do it manually it prompts "do you want to overwrite x buff". Is there a LUA script I need or do I need to change a setting in my interface?
  9. Hey, just got the 1-70 pack with the alternative files and when I load the 12-14 xroads profile the character never starts doing anything. Any suggestions? I loaded it is a quest.
×
×
  • Create New...