What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Rune System

trus10

New Member
Joined
Aug 1, 2010
Messages
1
Reaction score
0
Ok, found respond on my first question...
http://www.buddyforum.de/showthread.php?8184-Lua-dll&p=97578&viewfull=1#post97578


Now i have other question..
How i can check if disease on target is mine?
I try
Code:
public void feverProc2()
        {
		 	        var fever = Lua.LuaGetReturnValue("return UnitDebuff(\"target\", \"Озноб\")","highvoltz.lua");
			if (fever[7] == "player")
{			if (fever[4] == "disease")
{
				
            
                
                Slog("#frost fever detected#");
				feverProc = true;
            } 
}			
			else
feverProc = false;	
Slog("frost fever not detected");		
			
			
		
        }
But it not work because of russian lang, any other way to get localized debuff name?
I try Lua.GetLocalizedText(string) ,but i am not sure about i do that correct , any tips?
 
Last edited:
Back
Top