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
Red-Hair-Shanks
paidia i players mesa ston server den mporoun na kanoun enchant tin epic armor gt?
oriste kai to xml arxeio mesa apo ton fakelo armor
poio einai to problima?
<?xml version='1.0' encoding='utf-8'?>
<list>
<item id='9600' name="Epic_DK_Heavy_Armor">
<for>
<add val='450' order='0x12' stat='pDef'/>
<add val='1000' order='0x40' stat='maxHp'>
<and>
<using slotitem="9601;9"/>
<using slotitem="9602;12"/>
<using slotitem="9603;6"/>
</and>
</add>
<mul val='1.22' order='0x40' stat='pDef'>
<and>
<using slotitem="9601;9"/>
<using slotitem="9602;12"/>
<using slotitem="9603;6"/>
</and>
</mul>
<mul val='1.30' order='0x40' stat='pAtkSpd'>
<and>
<using slotitem="9601;9"/>
<using slotitem="9602;12"/>
<using slotitem="9603;6"/>
</and>
</mul>
<mul val='1.25' order='0x40' stat='pAtk'>
<and>
<using slotitem="9601;9"/>
<using slotitem="9602;12"/>
<using slotitem="9603;6"/>
</and>
</mul>
<enchant val='0' order='0x0C' stat='pDef'/>
</for>
</item>
<item id='9601' name="Epic_DK_Heavy_Gloves">
<for>
<add val='70' order='0x10' stat='pDef'/>
<enchant val='0' order='0x0C' stat='pDef'/>
</for>
</item>
<item id='9602' name="Epic_DK_Heavy_Boots">
<for>
<add val='70' order='0x10' stat='pDef'/>
<enchant val='0' order='0x0C' stat='pDef'/>
</for>
</item>
<item id='9603' name="Epic_DK_Heavy_Helmet">
<for>
<add val='100' order='0x10' stat='pDef'/>
<enchant val='0' order='0x0C' stat='pDef'/>
</for>
</item>
<item id='9604' name="Epic_DK_Light_Armor">
<for>
<add val='350' order='0x10' stat='pDef'/>
<add val='10' order='0x10' stat='rEvas'>
</add>
<mul val='1.37' order='0x10' stat='pAtkSpd'>
<and>
<using slotitem="9607;6"/>
<using slotitem="9606;12"/>
<using slotitem="9605;9"/>
</and>
</mul>
<mul val='1.27' order='0x20' stat='pAtk'>
<and>
<using slotitem="9607;6"/>
<using slotitem="9606;12"/>
<using slotitem="9605;9"/>
</and>
</mul>
<add val='500' order='0x30' stat='maxHp'>
<and>
<using slotitem="9607;6"/>
<using slotitem="9606;12"/>
<using slotitem="9605;9"/>
</and>
</add>
<add val='500' order='0x40' stat='maxMp'>
<and>
<using slotitem="9607;6"/>
<using slotitem="9606;12"/>
<using slotitem="9605;9"/>
</and>
</add>
<mul val='1.14' order='0x50' stat='pDef'>
<and>
<using slotitem="9607;6"/>
<using slotitem="9606;12"/>
<using slotitem="9605;9"/>
</and>
</mul>
<enchant val='0' order='0x0C' stat='pDef'/>
</for>
</item>
<item id='9605' name="Epic_DK_Light_Gloves">
<for>
<add val='65' order='0x10' stat='pDef'/>
<enchant val='0' order='0x0C' stat='pDef'/>
</for>
</item>
<item id='9606' name="Epic_DK_Light_Boots">
<for>
<add val='65' order='0x10' stat='pDef'/>
<enchant val='0' order='0x0C' stat='pDef'/>
</for>
</item>
<item id='9607' name="Epic_DK_Light_Helmet">
<for>
<add val='90' order='0x10' stat='pDef'/>
<enchant val='0' order='0x0C' stat='pDef'/>
</for>
</item>
<item id='9608' name="Epic_DK_Robe_Armor">
<for>
<add val='325' order='0x10' stat='pDef'/>
<add val='500' order='0x40' stat='maxMp'>
</add>
<mul val='1.30' order='0x40' stat='mAtkSpd'>
<and>
<using slotitem="9612;6"/>
<using slotitem="9610;9"/>
<using slotitem="9611;12"/>
<using slotitem="9609;11"/>
</and>
</mul>
<mul val='1.15' order='0x40' stat='pDef'>
<and>
<using slotitem="9612;6"/>
<using slotitem="9610;9"/>
<using slotitem="9611;12"/>
<using slotitem="9609;11"/>
</and>
</mul>
<mul val='1.20' order='0x40' stat='mAtk'>
<and>
<using slotitem="9612;6"/>
<using slotitem="9610;9"/>
<using slotitem="9611;12"/>
<using slotitem="9609;11"/>
</and>
</mul>
<add val='1200' order='0x40' stat='maxMp'>
<and>
<using slotitem="9612;6"/>
<using slotitem="9610;9"/>
<using slotitem="9611;12"/>
<using slotitem="9609;11"/>
</and>
</add>
<enchant val='0' order='0x0C' stat='pDef'/>
</for>
</item>
<item id='9609' name="Epic_DK_Robe_Legs">
<for>
<add val='95' order='0x10' stat='pDef'/>
<add val='50' order='0x40' stat='maxMp'/>
<enchant val='0' order='0x0C' stat='pDef'/>
</for>
</item>
<item id='9610' name="Epic_DK_Robe_Gloves">
<for>
<add val='65' order='0x10' stat='pDef'/>
<add val='25' order='0x40' stat='maxMp'>
</add>
<enchant val='0' order='0x0C' stat='pDef'/>
</for>
</item>
<item id='9611' name="Epic_DK_Robe_Boots">
<for>
<add val='65' order='0x10' stat='pDef'/>
<add val='25' order='0x40' stat='maxMp'>
</add>
<enchant val='0' order='0x0C' stat='pDef'/>
</for>
</item>
<item id='9612' name="Epic_DK_Robe_Hat">
<for>
<add val='80' order='0x10' stat='pDef'/>
<add val='25' order='0x40' stat='maxMp'>
</add>
<enchant val='0' order='0x0C' stat='pDef'/>
</for>
</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.