Jump to content

byron

Members
  • Posts

    7
  • Joined

  • Last visited

Recent Profile Visitors

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

byron's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. WoWPlayer.MaxHealth is the MaxPercentage and WowPlayer.Health == WowPlayerHealthPercent when not in a party on Vanilla And if they are in group or party then the values are what you would expect them to be
  2. I'm having a problem where if I have 2 players and use foreach (WoWPlayer _unit in ObjectManager.GetObjectWoWPlayer() ) { Logging.WriteDebug("Unit: " + _unit.Name + " Requires : " + (_unit.MaxHealth- _unit.Health).ToString() + " Heal " + (_unit.HealthPercent).ToString() + " % "); } It returns completely different health values depending on if they are in a party or not on vanilla
  3. ah think I found what I was looking for CHAT_MSG_SPELL_FAILED_LOCALPLAYER then test for "You fail to cast power word Fortitude: Target is too low level." only because I cant work out on vanilla what level someone has to be to cast a rank 3 fort on them
  4. Hi I think I was more wondering from c# how do I find the party index number for a member of the group or given the index number, from lua how do I find the players name to return to c# (it it was a raid I could use raidroster with the index to return the players name, just wondered how to do it when they are a party)
  5. something similar to below sent from c Lua.LuaDoString for groupindex = 1; MAX_PARTY_MEMBERS do debuff = UnitDebuff("party"..groupindex , 1, SHOW_DISPELLABLE_DEBUFFS); if ( debuff ) then DEFAULT_CHAT_FRAME:AddMessage("how do I return a list of player names here back to c#" ); else DEFAULT_CHAT_FRAME:AddMessage("return no -one to dispel" ); end end
  6. Is there a way to check for error target is too low level when casting buffs
×
×
  • Create New...