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

Thread Closed 
 
Thread Rating:
  • 4 Vote(s) - 2.25 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Finding the Debuffid
Author Message
moball Offline
VIP Member
***

Posts: 52
Joined: Dec 2011
Reputation: 2
Version: 1.4.2.137
Post: #1
Finding the Debuffid

Hey, been searching for ages how to get a hold of a certain DEBUFFID

I Need ID on debuff "Sleep" in Harnak? Anyone got it, or is there a way to find out ive been trying for a long time, plz help with this.
02-27-2013 14:13 PM
Find all posts by this user
Mobius Offline
VIP Member
***

Posts: 136
Joined: Jan 2012
Reputation: 40
Version: 1.4.2.135
Post: #2
RE: Finding the Debuffid

use something like this
    LUA Programming
function OnMagicSkillUse(user, target, skillId, skillLvl, skillHitTime, skillReuseTime)
userName = user:GetName()
targetName = target:GetName();
 
if (user:IsMonster()) and (user:GetDistance() < 3000) and (target:IsPlayer()) then
ShowToClient("Skill ID Detector","" .. tostring(userName) .. " has used " .. tostring(skillId) .. " on " .. tostring(targetName) .. ".");	
end;
end;



and u will get all skills that mobs are using
example sleep in h3 is 14460

+2 if i help you :-)
02-28-2013 00:21 AM
Find all posts by this user
moball Offline
VIP Member
***

Posts: 52
Joined: Dec 2011
Reputation: 2
Version: 1.4.2.137
Post: #3
RE: Finding the Debuffid

Awsome, trying now
Thanks alot
02-28-2013 05:53 AM
Find all posts by this user
Thread Closed 




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