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
Lineal
pedia perasa to tvt code deite omos
# ------------------------------------------------------------- #
# TVT Event Engine #
# ------------------------------------------------------------- #
# Setting for Team vs. Team pvp
# TvTEvenTeams=NO|BALANCE|SHUFFLE
# NO means: not even teams.
# BALANCE means: Players can only join team with lowest player count.
# SHUFFLE means: Players can only participate to tzhe event and not direct to a team. Teams will be schuffeled in teleporting teams.
TvTEvenTeams = SHUFFLE
# players there not participated in tvt can target tvt participants?
TvTAllowInterference = False
# tvt participants can use potions?
TvTAllowPotions = True
# tvt participants can summon by item?
TvTAllowSummon = False
# remove all effects of tvt participants on event start?
TvTOnStartRemoveAllEffects = True
# unsummon pet of tvt participants on event start?
TvTOnStartUnsummonPet = True
# on revive participants regain full hp/mp/cp ?
TvTReviveRecovery = False
# announce all team statistics
TvtAnnounceTeamStats = False
# give price with 0 kills
TvtPriceNoKills = True
# players with cursed weapon are allowed to join ?
TvtJoinWithCursedWeapon = False
etsi einai to config ..twra t prp n kanw??na pathsw //tvt mesa sto game?i na kanw kati apo edw?
10 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.