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
Kalispera Pedia exo ena provlima otan kano add npc sto navicat bgazi auto edw
[Err] 1366 - Incorrect decimal value: '52,5' for column 'collision_height' at row 1
[Err] INSERT INTO `custom_npc` VALUES (93000, 22410, 'Grand Bosses', 1, 'Info', 1, 'LineageMonster4.demon_darion_fgt', 28, '52,5', 86, 'male', 'L2Npc', 40, 3862, 1493, '11,85', '2,78', 40, 43, 30, 21, 20, 10, 0, 0, 1314, 470, 780, 382, 278, 0, 333, 0, 0, 0, 0, 50, 120, 0, 0, 'LAST_HIT', 'false');
[Msg] Finished - Unsuccessfully
Enoo. exo idi alaksi auta edw
# ---------------------------------------------------------------------------
# Database Custom Tables
# ---------------------------------------------------------------------------
# Default: False
CustomSpawnlistTable = True
# Option to save GM spawn only in the custom table.
# Default: False
SaveGmSpawnOnCustom = True
# Option to delete spawn in alternate table.
# Default: False
DeleteGmSpawnOnCustom = True
# Default: False
CustomNpcTable = True
# Default: False
CustomNpcSkillsTable = True
# Default: False
CustomArmorSetsTable = True
# Default: False
CustomTeleportTable = True
# Default: False
CustomDroplistTable = True
# Default: False
CustomMerchantTables = True
# Default: False
CustomNpcBufferTables = True
2 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.