![]() My best hope is that it just calculates as stacks in which case we could find the value from the UnitBuff count, otherwise I'm stumped. Archangel is problematic since it can have values ranging from 5-25 and I don't know how to check that with API functions.I dont know if it works - I haven't tested it yet, but my only concern is with the syntax around the buff check.HNHeal = ((SP * HNcoefficient)*(mastery/2.00)*Versatility*Grace*ToF*AA) If UnitBuff("player", = true) then - Archangel is a problem because it's strength can changeĪA = 1.25 - If someone knows how to deal with different strengths of AA pls help ToF = 1.15 - if present, ToF multiplier = 15% If UnitBuff("player", = true) then - not sure on this syntax, goal is just check if buff is present Local HNcoefficient = 1.125 - again, easy to locate and change Local Grace = 1.2 - adding any passive multipliers in now so its easy to identify and change later if needed Local Versatility = 1 - currently no known way to find versatility I'll give it a try in a few minutes and see how it goes.Īlso, needs to declare LibStub in the XML file, otherwises you'll get lots of Ace3 errors. I didn't know about the ace new addon thing, though, I thought you had tested the files and it was supposed to be working without adding anything (since you didn't say anything about not testing) ahhaha. Removed the local from the lines below also, since it didn't make sense to recreate those variables. It doesn't work out in the world b/c you cant get player positions there.Ye, I got the radar working after I posted, I thought it had something to do with radians/deg, but there was a definition somewhere so I thought you had already converted them. The radar seems to be working fine for me. And the trigonometric functions take radians, not degrees. GetPlayerFacing() returns radians increasing in a CCW direction, this is why I apply a negative. ![]() And then just make setupOptionsGUI global until AceAddon can be setup correctly. Radar:SetScript("OnUpdate", onUpdate) b/c the locals are already being defined at the top of the file. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |