You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Hello.
This code works well. It removes buff with double click, but If you preffer remove buff with ALT + mouse click, place this code in AbnormalStatusWnd.uc
function OnLButtonDown(WindowHandle a_WindowHandle, int X, int Y)
{
local Rect windowBounds;
local int targetRow;
local int targetCol;
local StatusIconInfo info;
local SkillInfo skillInfo;
if (IsKeyDown(IK_alt) == false)
return;
// Find window position
windowBounds = Me.GetRect();
// Process clicks outside of window frame only
if (X > (windowBounds.nX + NSTATUSICON_FRAMESIZE))
{
// Calc row and col of targeted icon
targetRow = (Y - windowBounds.nY) / NSTATUSICON_SIZE;
targetCol = (X - windowBounds.nX - NSTATUSICON_FRAMESIZE) / NSTATUSICON_SIZE;
// Store status info of targeted icon
StatusIcon.GetItem(targetRow, targetCol, info);
// Store actual skill info and make sure it is exists
if (GetSkillInfo(info.ClassID, info.Level, skillInfo))
{
// Request server to stop skill effect
// Usage: _dispel:<int:skill_id>,<int :skill_level>
// Example: _dispel:313,8
RequestBypassToServer ( "_dispel:" $ string ( skillInfo. SkillID ) $ "," $ string ( skillInfo. SkillLevel ) ) ) ;
}
}
}
Question
Celebron
auta edw thelo na ta valo me auto to id Pou eine ta Golden Apiga 9143 ti grafo edw as poume ( <!-- Frintezza's Necklace -->
<item id="2">
<production id="8191" count="1"/>
</item> )
<?xml version='1.0' encoding='utf-8'?>
<!-- Created with Lineage II - Multisell Manager -->
<!-- © 2007 by tReXpert -->
<list maintainEnchantment="true">
<!-- Necklace of Valakas -->
<item id="1">
<production id="6657" count="1"/>
</item>
<!-- Frintezza's Necklace -->
<item id="2">
<production id="8191" count="1"/>
</item>
<!-- Ring of Queen Ant -->
<item id="3">
<production id="6660" count="1"/>
</item>
<!-- Ring of Baium -->
<item id="4">
<production id="6658" count="1"/>
</item>
<!-- Ring of Core -->
<item id="5">
<production id="6662" count="1"/>
</item>
<!-- Earring of Antharas -->
<item id="6">
<production id="6656" count="1"/>
</item>
<!-- Zaken's Earring -->
<item id="7">
<production id="6659" count="1"/>
</item>
<!-- Earring of Orfen -->
<item id="8">
<production id="6661" count="1"/>
</item>
<!-- Baylor's Earring -->
<item id="9">
<production id="10170" count="1"/>
</item>
<!-- Beleth's Ring -->
<item id="10">
<production id="10314" count="1"/>
</item>
<!-- Freya Necklace -->
<item id="11">
<production id="16025" count="1"/>
</item>
<!-- Blessed Freya Necklace -->
<item id="12">
<production id="16026" count="1"/>
</item>
</list>
6 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.