Partial sync L2jUnity free release Feb 23th 2015.
This commit is contained in:
@@ -41,13 +41,13 @@ public final class Nottingale extends AbstractNpcAI
|
||||
private static final Map<Integer, RadarControl> RADARS = new HashMap<>();
|
||||
static
|
||||
{
|
||||
RADARS.put(2, new RadarControl(0, -184545, 243120, 1581, 2));
|
||||
RADARS.put(5, new RadarControl(0, -192361, 254528, 3598, 1));
|
||||
RADARS.put(6, new RadarControl(0, -174600, 219711, 4424, 1));
|
||||
RADARS.put(7, new RadarControl(0, -181989, 208968, 4424, 1));
|
||||
RADARS.put(8, new RadarControl(0, -252898, 235845, 5343, 1));
|
||||
RADARS.put(9, new RadarControl(0, -212819, 209813, 4288, 1));
|
||||
RADARS.put(10, new RadarControl(0, -246899, 251918, 4352, 1));
|
||||
RADARS.put(2, new RadarControl(0, 2, -184545, 243120, 1581));
|
||||
RADARS.put(5, new RadarControl(0, 1, -192361, 254528, 3598));
|
||||
RADARS.put(6, new RadarControl(0, 1, -174600, 219711, 4424));
|
||||
RADARS.put(7, new RadarControl(0, 1, -181989, 208968, 4424));
|
||||
RADARS.put(8, new RadarControl(0, 1, -252898, 235845, 5343));
|
||||
RADARS.put(9, new RadarControl(0, 1, -212819, 209813, 4288));
|
||||
RADARS.put(10, new RadarControl(0, 1, -246899, 251918, 4352));
|
||||
}
|
||||
|
||||
private Nottingale()
|
||||
|
@@ -30,6 +30,7 @@ import com.l2jmobius.gameserver.model.actor.L2Npc;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2ChestInstance;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
import com.l2jmobius.gameserver.model.skills.AbnormalVisualEffect;
|
||||
import com.l2jmobius.gameserver.model.skills.Skill;
|
||||
import com.l2jmobius.gameserver.network.SystemMessageId;
|
||||
import com.l2jmobius.gameserver.network.serverpackets.CharInfo;
|
||||
import com.l2jmobius.gameserver.network.serverpackets.Earthquake;
|
||||
@@ -360,12 +361,19 @@ public class AdminEffects implements IAdminCommandHandler
|
||||
activeChar.stopSkillEffects((val == 0) && sendMessage, 7029);
|
||||
if ((val >= 1) && (val <= 4))
|
||||
{
|
||||
activeChar.doSimultaneousCast(SkillData.getInstance().getSkill(7029, val));
|
||||
int time = 0;
|
||||
if (st.hasMoreTokens())
|
||||
{
|
||||
time = Integer.parseInt(st.nextToken());
|
||||
}
|
||||
|
||||
final Skill gmSpeedSkill = SkillData.getInstance().getSkill(7029, val);
|
||||
gmSpeedSkill.applyEffects(activeChar, activeChar, true, time);
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
activeChar.sendMessage("Usage: //gmspeed <value> (0=off...4=max)");
|
||||
activeChar.sendMessage("Usage: //gmspeed <Effect level (0-4)> <Time in seconds>");
|
||||
}
|
||||
if (command.contains("_menu"))
|
||||
{
|
||||
|
Reference in New Issue
Block a user