Thread Closed 
 
Thread Rating:
  • 66 Vote(s) - 2.86 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Debuffs
Author Message
Dogz
Unregistered

 
Post: #1
Debuffs
Hi.

Im trying to set debuffs like Hex, Stigma, Violent Temper to activate only 1 time per target. When you set the Option " Use Once ", the skill just spamm everytime the reuse is done, like it was set to "Repeat". Some cases the skill doens´t work at all.

I´have tried to at Delay to the skills, but if you set anything besides "0", the skill wont work.


Any ideas here? Maybe Script?
08-17-2011 05:36 AM
snacks Offline
Expired VIP Member
**

Posts: 8
Joined: Aug 2011
Reputation: 1
Version: 1.4.2.137
Post: #2
RE: Debuffs
    LUA Programming
ID = XXXXX -- DEBUFF
ID1 = XXXX -- NUKE SKILL
repeat
		Sleep(500);
		ShowToClient("Cookie", "New target");
		enemy = GetTarget();
		if(enemy ~= nil) then
				UseSkill(ID, false, false); -- DEBUFF
				name = enemy:GetId();
				repeat
					UseSkill(ID1, false, false); -- NUKE
				until enemy:GetHp() <= 0;
		end;
		ShowToClient("Cookie", "Done");
		Sleep(500);
until ID == nil;
ShowToClient("Cookie", "Something wrong");


i think that can work, just change the ids.
08-17-2011 06:38 AM
Find all posts by this user
blabla Offline
Amber Basilisk
*

Posts: 31
Joined: Jul 2011
Reputation: 0
Version: 1.4.1.88
Post: #3
RE: Debuffs
(08-17-2011 06:38 AM)snacks Wrote:  
    LUA Programming
ID = XXXXX -- DEBUFF
ID1 = XXXX -- NUKE SKILL
repeat
		Sleep(500);
		ShowToClient("Cookie", "New target");
		enemy = GetTarget();
		if(enemy ~= nil) then
				UseSkill(ID, false, false); -- DEBUFF
				name = enemy:GetId();
				repeat
					UseSkill(ID1, false, false); -- NUKE
				until enemy:GetHp() <= 0;
		end;
		ShowToClient("Cookie", "Done");
		Sleep(500);
until ID == nil;
ShowToClient("Cookie", "Something wrong");


i think that can work, just change the ids.

change how? and where? and where to get skill ID?
09-11-2011 10:53 AM
Find all posts by this user
Thread Closed 




User(s) browsing this thread: 1 Guest(s)