Hello guys.
Here a simple Script for Rebuff with L2Adrenaline (Same procedure from my 2 last topics for L2Tower and L2Project).
This script is simple, but works trying to identify the Song of Wind buff (with not in the buff bar, rebuff):
//Divon Augusto® - L2Toggle 2020
var Figth_Flag:boolean;
Item: TL2Item;
Npc: TL2Npc;
Obj: TL2Buff;
IdBuff: integer;
Buffs:TL2Buff;
var L2Skill: TL2Skill;
procedure buff;
begin
delay(500);
Engine.BypassToServer('_bbshome');
delay(500);
Engine.BypassToServer('12');
delay(500);
Engine.BypassToServer('1b');
delay(500);
Engine.BypassToServer('13');
end;
procedure toBuff;
begin
IdBuff:=268 ; //Song of Wind
while not User.Buffs.ById(IdBuff,obj) do begin
Print('Checking Buffs Buffs!');
buff;
end;
end;
//-----------------------------------------------------------------------------
begin //repeat the script
Print('Repeating !!!');
repeat
toBuff;
until Engine.Status = lsOffline;
Delay(5000);
end.
Hope it helps.
You're free for modify or increment this Script.
Best regards.