kalhspera paidia!!skeftome na parw ena pc me auta ta pragmata p 8a sas anaferw se ligo apo katw....8elw n m pite sto peripou ti dinatoties exw oste na sikosw l2 server panw se auto....
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
Vagrancy™
kalhspera paidia!!skeftome na parw ena pc me auta ta pragmata p 8a sas anaferw se ligo apo katw....8elw n m pite sto peripou ti dinatoties exw oste na sikosw l2 server panw se auto....
CPU:::Intel Core i7 930 (s1366, 2.80GHz)
Motherboard:::Gigabyte GA-X58A-UD7 (s1366, DDR3, X58)
Ram:::Corsair 6GB DDR3-1600 Ram Kit (3 x 2GB, PC3 12800, 9-9-9-24, TR3X6G1600C9)
G.Card:::Sparkle GTX 465 (PCI-Express, GDDR5, 1GB)
SSD HD:::OCZ Vertex 2 Series 120GB SSD w/Bracket (2.5", Sata II, OCZSSD2-2VTXE120G)
7 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.