[move]OPIOS MPORI NA TO LUSI AS TO GRAPSI KATW!8A IMUN EUGNOMON!!!AN EXETE DI KAI TO NPC MOU AUTO TO PRAMA STAMATEIEI ME TO NA SINEXISO TO CREATING MOU[/move]
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
`Яomeo`
8a milisw mono me foto opos xerume mia foto=1000 lexis let's start
epomeni
http://img59.imageshack.us/img59/372/70242594.png[/img]
epomeni
http://img180.imageshack.us/img180/9600/92154899.png[/img]
epomeni
http://img99.imageshack.us/img99/6269/20498534.png[/img]
epomeni
http://img13.imageshack.us/img13/6082/81760271.png[/img]
epomeni
http://img34.imageshack.us/img34/9231/10983858.png[/img]
epomeni
http://img218.imageshack.us/img218/8823/55716399.png[/img]
epomeni
(proxorisa ligo mprosta mpika apeu8ias sto psito :P)
http://img85.imageshack.us/img85/8639/98412471.png[/img]
epomeni
http://img515.imageshack.us/img515/5214/59567713.png[/img]
epomeni
http://img24.imageshack.us/img24/9260/43096807.png[/img]
epomeni
http://img16.imageshack.us/img16/400/80317143.png[/img]
epomeni
http://img7.imageshack.us/img7/3179/47088773.png[/img]
epomeni
http://img143.imageshack.us/img143/4408/20116078.png[/img]
[move]OPIOS MPORI NA TO LUSI AS TO GRAPSI KATW!8A IMUN EUGNOMON!!!AN EXETE DI KAI TO NPC MOU AUTO TO PRAMA STAMATEIEI ME TO NA SINEXISO TO CREATING MOU[/move]
6 answers to this question
Recommended Posts