Lineage 2 Tower Forum

Full Version: Finding the Debuffid
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
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
Awsome, trying now
Thanks alot
Reference URL's