teofil2000
Gremlin
Posts: 8
Joined: Mar 2012
Reputation: 0
Version:
1.4.1.77
|
Prophet/ShilenElder Out of party buffs
Hi i have a little problem. i have managed buffing aout off party but i couldnt find a script to invite Prophet/Se buff Prophecy of Fire/Wind and leave party. Can you help me with that script please. Thats teh last thing to get my L2T running perfect . Thx
|
|
04-26-2012 03:10 AM |
|
Hebdzik
Tester
Posts: 1,235
Joined: Aug 2011
Reputation: 265
Version:
1.4.3.143
|
RE: Prophet/ShilenElder Out of party buffs
simples version witch you run on char witch has to be buffed
LUA Programming
POFBuffId = 1;
NameOfBuffer = "PP";
------------------------------------
repeat
user = GetUserByName(NameOfBuffer);
myself = GetMe();
if (myself ~= nil) and (user ~= nil) then
if (myself:GotBuff(POFBuffId) == false) then
Command("/invite " .. NameOfBuffer);
Sleep(5000);
elseif user:IsMyPartyMember() and (myself:GotBuff(POFBuffId)) then
Command("/leave");
end;
end;
Sleep(1000);
until false;
(This post was last modified: 04-27-2012 02:02 AM by amiroooo.)
|
|
04-26-2012 07:28 AM |
|
teofil2000
Gremlin
Posts: 8
Joined: Mar 2012
Reputation: 0
Version:
1.4.1.77
|
RE: Prophet/ShilenElder Out of party buffs
i couldnt find POF POW skill ID can you help me with that please.
Hi again I found skill ID i hope its the right one for H5 chronicle its 1356 for Prophecy of Fire, but im getting that error and my char wont leave party
POF
Any idea what could that be ??
I can give you nicks of my buffer to help
PP is SuperProphet
DD is SuperTank
(This post was last modified: 04-27-2012 01:07 AM by teofil2000.)
|
|
04-27-2012 00:41 AM |
|
amiroooo
Beta Tester
Posts: 1,270
Joined: Sep 2011
Reputation: 412
Version:
1.4.2.142
|
RE: Prophet/ShilenElder Out of party buffs
I fixed it try it again.
|
|
04-27-2012 02:01 AM |
|
teofil2000
Gremlin
Posts: 8
Joined: Mar 2012
Reputation: 0
Version:
1.4.1.77
|
RE: Prophet/ShilenElder Out of party buffs
Still the same, my buffer stays in party wont leave. No error all looks ok from that point of view. Maybe im doing something wrong. This is how my script looks like.
----------------------------------------------------
POFBuffId = 1335;
NameOfBuffer = "SuperProphet";
------------------------------------
repeat
user = GetUserByName(NameOfBuffer);
myself = GetMe();
if (myself ~= nil) and (user ~= nil) then
if (myself:GotBuff(POFBuffId) == false) then
Command("/invite " .. NameOfBuffer);
Sleep(5000);
elseif user:IsMyPartyMember() and (myself:GotBuff(POFBuffId)) then
Command("/leave");
end;
end;
Sleep(1000);
until false;
|
|
04-27-2012 02:52 AM |
|