Sveiki, iskilo tokia beda, niekaip nepadarau, kad .buffs komanda veiktu tik mieste.
Surasau viska taip :
# Npc Buffer - scheme buffer - set buffs - single buffs
BufferNpcId = 50019
BufferEnabled = True
BufferUseCommand = True
BufferCommand = buffs
BufferPrice = 1000
BufferUseBBS = True
BufferExcludeOn = RB OLYMPIAD SIEGE EVENT ATTACK PVP
Bet veikia vistiek uz miesto ribu. Jei irasau peace, mieste panaikina, viskas ok, O vat kodel neina uz miesto panaikint ?
l2Character.java
/** The Constant ZONE_PVP. */
public static final int ZONE_PVP = 1;
buffhandler.java
else if(PowerPakConfig.BUFFER_EXCLUDE_ON.contains("PVP") && activeChar.isInsideZone(L2Character.ZONE_PVP))
msg = "Buffer is not available in this area";
Paskutinį kartą redagavo: 14 Gruodžio 2013 - 22:53