Lineage 2 Tower Forum

Full Version: Prophet/ShilenElder Out of party buffs
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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 Big Grin . Thx
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;

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 Big Grin
PP is SuperProphet
DD is SuperTank
I fixed it try it again.
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;
Reference URL's