02-28-2013, 08:18 AM
(02-28-2013 05:01 AM)kimimaru Wrote: [ -> ]Ola gente, eu baixei os scripts desse topico aqui http://forum.l2tower.eu/thread-solo-iss-...mbo?page=3
pra colocar o iss pra dar buff e sair da pt, sendo que nao estou conseguindo rodar, eu modifiquei o script e coloquei o nome dos meus chares, mas mesmo assim nao funciona,
alguem me ajuda certinho como fazer ? vou colocar o iss pra buffar meu feoh e meu tanker.
LUA Programming
ShowToClient("SYS","Script Ask Pt For Sonata Started");
IssName = " "; --Escreva aqui o nome do Iss
DDName = " "; --Escreva aqui o nome do para Warrior's Harmony
MageName = " "; --Escreva aqui o nome do para Wizard's Harmony
----------------------------------------------------------------
WhoToInv = nil;
if(GetMe():GetName() == DDName)then
harmony = 11524; --Warrior's Harmony
elseif(GetMe():GetName() == MageName)then
harmony = 11525; --Wizard's Harmony
elseif (GetMe():GetName() == TankName)then --Default (for other chars than seted in DDName , MageName) will buff Knight's Harmony
harmony = 11523;
end;
repeat
if(GetUserByName(IssName) ~= nil)then
WhoToInv = GetUserByName(IssName);
end;
if((GetMe():GotBuff(11529) == false) or --Prevailing
(GetMe():GotBuff(11530) == false) or --Daring
(GetMe():GotBuff(11532) == false) or --Refreshing
(GetMe():GotBuff(harmony) == false) or --Warrior's / Wizard's Harmony
(GetMe():GotBuff(11566) == false) or --Divine Protection
(GetMe():GotBuff(11567) == false))and --Mental Protection
(WhoToInv ~= nil) then
Command("/invite " .. IssName);
repeat
Sleep(500);
until ((GetMe():GotBuff(11529)) and --Prevailing
(GetMe():GotBuff(11530)) and --Daring
(GetMe():GotBuff(11532)) and --Refreshing
(GetMe():GotBuff(harmony)) and --Warrior's / Wizard's Harmony
(GetMe():GotBuff(11565)) and --Elemental Protection
(GetMe():GotBuff(11566)) and --Divine Protection
(GetMe():GotBuff(11567))) and --Mental Protection
(WhoToInv:IsMyPartyMember() == true);
ShowToClient("SYS", "Sonata's & Buffs up, leaving pt...");
Sleep(500);
Command("/dismiss "..IssName);
Sleep(14*1000);
end;
Sleep(1000);
until false;
Voce precisa configurar o bot ( no iss ) para aceitar pt e configurar os buffs tmb. Lembre-se das resistencias (3) e rode o script com o ISS fora da pt. Boa sorte