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

Thread Closed 
 
Thread Rating:
  • 39 Vote(s) - 3.15 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Soulshot
Author Message
Kris Offline
Zaken's Royal Guard
*

Posts: 57
Joined: Mar 2012
Reputation: 9
Version: 1.4.3.143
Post: #11
RE: Soulshot

I made Auto-activation script for Beast SS.
I used 1 function from Sakaszli's Samples and it works good.

    LUA Programming
function getItemCount(name)
invList = GetInventory();
lol=0;
	for item in invList.list do
		if (item.displayId == name or item.objectId==name or item.Name==name) then
			lol=item.ItemNum
		end
	end
return lol;
end;
 
repeat
	BeastSSstart = getItemCount(6645)
	Sleep(2000)
	BeastSSend = getItemCount(6645)
	if BeastSSend < BeastSSstart then
		--do Nothing
	else
		ActivateSoulShot(6645, true); -- Beast Soulshot
	end
	Sleep(5000)
until false

05-04-2012 08:48 AM
Find all posts by this user
 Reputed by : thiss(+2) , breaverbg(+2)
ClockMan Offline
All Mighty
*******

Posts: 2,886
Joined: Jan 2011
Reputation: 499
Version: 1.4.3.143
Post: #12
RE: Soulshot

/wrong section
/there is already a plugin in script repository what does that and also activates other shots...

[Image: owner.gif]
05-04-2012 08:51 AM
Visit this user's website Find all posts by this user
SirBuBu Offline
VIP Member
***

Posts: 15
Joined: Apr 2012
Reputation: 1
Version: 1.4.2.131
Post: #13
RE: Soulshot

very usefull.
05-04-2012 10:26 AM
Find all posts by this user
Thread Closed 




User(s) browsing this thread: