Jump to content

EndUser

Members
  • Posts

    44
  • Joined

  • Last visited

Recent Profile Visitors

1364 profile views

EndUser's Achievements

Newbie

Newbie (1/14)

4

Reputation

  1. Yea, I've kind of given up on this. It was a useful exercise. C# seems to be a more consistent method.
  2. Hello, I have my fightclass rotation target party members and cast instant spells on them, however, when moving it stops movement to cast. I've set it to can move during cast. It appears to be due to targeting a party member.
  3. Hi, is there a way to have smooth turns when moving? For example, instead of instantly turning on the spot, how about it has a radius to turn around when moving? It would make following a route appear more natural.
  4. I know it's not optimal, but I got it to work with this now: <LuaScript>m=0; w=f; local SpellName = GetSpellInfo("Rejuvenation") for i=nps,npe do if i==0 then tt="player" else tt=t..i end; ue=UnitExists(tt) print(ue) isir=IsSpellInRange(SpellName,tt) print(isir) uidog=UnitIsDeadOrGhost(tt) print(uidog) ub=UnitBuff(tt,SpellName,nil,"PLAYER") print(ub) print("----------------") if ue and isir and not uidog then print("TRUE") else print("FALSE") end print("----------------") if ue and isir and not uidog then a=UnitHealth(tt) / UnitHealthMax(tt); if a&gt;m then m=a w=tt end end end; if m &lt;= 1 and not ub then CastSpellByName(SpellName, w) end; </LuaScript> The part that is driving me crazy - otherwise I like solving puzzles - is that the results are not consistent. Sometimes it works, then other times it just doesn't.
  5. Well, I figured out that my lua script wasn't working as a spell, but if I used it as a condition then it worked. Now I'm trying to pass "t" to another 'spell', with the below as a condition: <LuaScript>-- Find the unit with the largest health deficit, in range, that is alive, that doesn't have Rejuvenation print("t ",t) m=0; w=f; local SpellName = GetSpellInfo("Rejuvenation") for i=nps,npe do if i==0 then tt="player" else tt=t..i end; if UnitExists(tt) and IsSpellInRange(SpellName,tt) and not UnitIsDeadOrGhost(tt) and not UnitBuff(tt,SpellName,nil,"PLAYER") then a=UnitHealth(tt) / UnitHealthMax(tt); if a&gt;m then m=a w=tt end end end; -- Heal the unit with the largest deficit if m &lt;= .95 then CastSpellByName(SpellName, w) end </LuaScript> I get nothing, not print, not any action, etc. Suggestions?
  6. Hello, I tried this in my fightclass as a spell: t="raid"; nps=1; npe=GetNumGroupMembers(); if npe<=4 then nps=0; t="party"; end; print(t," ",npe) With the spell settings as: Combat only - False Not spell, is lua script - True I was hoping it would spam something like: "party 0" or "party nil" But instead I get nothing. Any suggestions on how to make this work? Eventually I hope to make a fightclass that can detect if I'm in a party or raid, then using the global var "t" have it run a loop for party2, raid1..40, etc.
  7. Yes, but it still has the same issues.
  8. I have the same issue. 25 Oct 2016 18H04.log.html
  9. This mostly works, but sometimes it doesn't.. I ended up learning some LUA. If you figure out a way to make it more reliable that would be cool. 7.03 Warlock Demonology_3.xml
  10. This profile heals, seems to need tweaking to heal itself though... 7.03 Paladin Holy_2a.xml
  11. Hi, yes that seems to work now, setting the lock frame to false. Thanks!
  12. Did the "Lock frame when checking.." work for you? I'm having a similar issue.
  13. You can try this: I've gotten used to using the built in function to loot mobs when using Grinder, and using a macro button to Fetch when using Wrotation.
  14. 7.03 Paladin Holy_2.xml
  15. In Party mode, the Healer works fine - it's quite neat to watch it perform. I don't have a character name entered to follow as I want to be able to control movement manually. When I do move the character, WRobot hangs, and causes Warcraft to hang. If I don't kill the WRobot process quickly enough, the game disconnects.
×
×
  • Create New...