L2Tower Discord Let's keep the community alive with discord. Discussions about plugins and scripts L2Tower Discord

Post Reply 
 
Thread Rating:
  • 5 Vote(s) - 2.4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
como não tomar desarme?
Author Message
gluba1 Offline
Seer of Hallate
*

Posts: 63
Joined: Mar 2012
Reputation: 9
Version: 1.4.1.110
Post: #1
como não tomar desarme?

Alguem sabe configurar ou tem algum script que não deixa o xar tomar desarme? to farmando em uma area que os bixos dao uma skill que tira a weapon da mão do personagem, alguem sabe como configurar pra quando a arma sair da mão ele recoloca-la automaticamente? ou tem algum script?

VLW
04-22-2013 23:26 PM
Find all posts by this user Quote this message in a reply
sonecawtf Offline
Elpy
*

Posts: 1
Joined: Jun 2014
Reputation: 0
Version: 1.4.3.143
Post: #2
Tongue RE: como não tomar desarme?

Big Grin Big Grin Big Grin
Code:
weapid = 1;
objid = 1;
Disarmlist = {794,485,877,5260};
--funkcje

function GetWeaponId()
invList = GetInventory();
for item in invList.list do
if item.ItemType == 0 and item.IsEquipped then
objid= item.objectId ;
weapid= item.displayId ;
end;
end;
end;

function IsEquipped()
item = GetInventory():FindById(objid);
if item ~= nil then
if item.IsEquipped then
return true;
else
return false;
end;
else
weapid = 1;
objid = 1;
return true;
end;
end;

function checkDisarm()
local me=GetMe();
for k,w in pairs(Disarmlist) do
if me:GotBuff(w) == true then
return w;
end;
end;
return 1;
end;

--end funkcje

--loop start
repeat
GetWeaponId();
if weapid ~=1 and objid ~= 1 then
if IsEquipped() == false then
if GetMe():GotBuff(checkDisarm()) then
Sleep(GetMe():GetBuff(checkDisarm()).endTime - GetTime() + 250);
if UseItem(weapid,objid)==false then
weapid = 1;
objid = 1;
end;
else
if UseItem(weapid,objid)==false then
weapid = 1;
objid = 1;
end;
end;
Sleep(1500);
end;
end;
Sleep(200);
until false
07-04-2015 00:17 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
Thumbs Up Como burlar ant-boot zigfrit002 9 12,063 04-14-2022 11:10 AM
Last Post: JennaDeh
  como rodar o bot nesse server http://www.l2revoltz.com LoadRoxSYY 0 1,721 08-27-2018 04:45 AM
Last Post: LoadRoxSYY
  Como revidar pvp ? SmiiD 1 2,214 06-13-2018 04:38 AM
Last Post: SmiiD
  Como usar o L2Tower na versão Ertheia ? vinkami 6 5,839 04-19-2018 22:53 PM
Last Post: Banikas
  Bot COMO POR BOT SmartGuard apolo50 2 13,167 05-08-2017 14:39 PM
Last Post: xenosaga
Information Systema ant-flood, como burlar ? filhinho 0 2,367 12-24-2016 16:58 PM
Last Post: filhinho
  COMO TRANSFORMAR ADENA EM GB PRECISO QUE EXECUTE .DEPOSIT AUTOMATICO ANDRE RICARDO DOS SANTOS GOMES 0 2,509 12-03-2016 05:39 AM
Last Post: ANDRE RICARDO DOS SANTOS GOMES
  Ajuda como burlar captcha Junior021 0 4,227 11-25-2016 19:12 PM
Last Post: Junior021
  Como fazer bot no smart guard ?? ameriican4i8 0 5,897 05-18-2016 20:45 PM
Last Post: ameriican4i8
  Como utilizar o L2 Tower no minimizer alares 2 3,756 01-07-2016 06:28 AM
Last Post: luanslopes



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