September 6, 201411 yr Heyya anyone knows if there is a method that can retrieve player debuff type. Basicly instead of : player.HaveBuff("SomeHarmFulDebuff") I can retrieve collection of partymember debuffs. Then iterate the collection and see if debuff type is magic/poison/curse and dispell it with some spell like "Natures's Cure" Else I'll have to use a list of all harmfull spells(gonna be a long one i guess...)
September 10, 201411 yr Hello, You can use lua for it: http://www.wowwiki.com/API_UnitBuff and http://www.wowwiki.com/API_UnitDebuff for i=1,40 do local name, rank, icon, count, debuffType, duration, expirationTime, unitCaster, isStealable, shouldConsolidate, spellId = UnitBuff("player",i); if spellId > 0 then print("name="..debuffType) end end
September 13, 201411 yr Author Yeah I've found this in wow api when I was planning to make 'database' of all debuffs :p Guess I'll be using parts of lua, thanks!
Create an account or sign in to comment