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
labros
hi pedia exo afto edo to event mesa to gameserver ala dn exodi pote na ine on afto ine kitaxtes
# ==================== # # ==================== #
# L2J-Infinity Project # # Event Settings #
# ==================== # # ==================== #
# This will alow you to control all the events.
# ========================== #
# Team vs Team Engine #
# ========================== #
# Enable TvTEvent
TvTEventEnabled = False
# Time Between TvT events (in minutes, 300 = 5 hours)
TvTEventInterval = 300
# Registration timer (in minutes) from start of event.
TvTEventParticipationTime = 60
# Event running time, in minutes
TvTEventRunningTime = 20
# TvT Event NPC Details (create a custom npc of type L2TvTEventNpc)
TvTEventParticipationNpcId = 70010
TvTEventParticipationNpcCoordinates = 83425,148585,-3406
# Join Commands
# Usage: .tvtjoin | .tvtleave | .tvtinfo
TvTEventCommands = False
# Minimum amount of players allowed in each team
TvTEventMinPlayersInTeams = 1
TvTEventMaxPlayersInTeams = 20
# Level rules
TvTEventMinPlayerLevel = 1
TvTEventMaxPlayerLevel = 80
# Teleport delay Timers (in seconds)
TvTEventRespawnTeleportDelay = 10
TvTEventStartLeaveTeleportDelay = 10
# First Team Details (name, start and death x,y,z tp point)
TvTEventTeam1Name = Team1
TvTEventTeam1Coordinates = 148695,46725,-3414
# Second Team Details (name, start and death x,y,z tp point)
TvTEventTeam2Name = Team2
TvTEventTeam2Coordinates = 149999,46728,-3414
# Reward for winning team
# itemId,amount;itemId,amount;itemId,amount;...
# no ";" at the start or end
TvTEventReward = 57,100000;5575,1000
# TvTEvent Rules
TvTEventTargetTeamMembersAllowed = True
TvTEventPotionsAllowed = False
TvTEventSummonByItemAllowed = False
# Door id's to close/open on start/end
# ex.: 1;2;3;4;5;6
# no ";" at the start or end
TvTEventDoorsCloseOpenOnStartEnd =
# ========================== #
# Capture The Flag Engine #
# ========================== #
# Setting for Capture The Flag
# CTFEvenTeams = 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 the event and not direct to a team. Teams will be shuffled on teams teleport.
CTFEvenTeams = SHUFFLE
# Players that are not participating in CTF can target ctf participants?
CTFAllowInterference = False
# CTF participants can use potions?
CTFAllowPotions = False
# CTF participants can summon by item?
CTFAllowSummon = False
# Remove all effects of CTF participants on event start?
CTFOnStartRemoveAllEffects = True
# Unsummon pet of CTF participants on event start?
CTFOnStartUnsummonPet = True
# On revive participants regain full HP/MP/CP?
CTFReviveRecovery = False
# Announce all team statistics
CTFAnnounceTeamStats = False
# Announce reward
CTFAnnounceReward = False
# Players with cursed weapon are allowed to join?
CTFJoinWithCursedWeapon = True
# Delay on revive when dead, NOTE: 20000 equals to 20 seconds, minimum 1000 (1 second)
CTFReviveDelay = 20000
ti prepi na kano plz pite mou na to valo na ine on
3 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.