Sync with L2jServer HighFive Feb 10th 2015.
This commit is contained in:
@@ -19,7 +19,6 @@
|
||||
package handlers.effecthandlers;
|
||||
|
||||
import com.l2jserver.gameserver.data.xml.impl.NpcData;
|
||||
import com.l2jserver.gameserver.idfactory.IdFactory;
|
||||
import com.l2jserver.gameserver.model.L2Spawn;
|
||||
import com.l2jserver.gameserver.model.Location;
|
||||
import com.l2jserver.gameserver.model.StatsSet;
|
||||
@@ -101,7 +100,7 @@ public final class SummonNpc extends AbstractEffect
|
||||
{
|
||||
case "L2Decoy":
|
||||
{
|
||||
final L2DecoyInstance decoy = new L2DecoyInstance(IdFactory.getInstance().getNextId(), npcTemplate, player, _despawnDelay);
|
||||
final L2DecoyInstance decoy = new L2DecoyInstance(npcTemplate, player, _despawnDelay);
|
||||
decoy.setCurrentHp(decoy.getMaxHp());
|
||||
decoy.setCurrentMp(decoy.getMaxMp());
|
||||
decoy.setHeading(player.getHeading());
|
||||
@@ -113,7 +112,7 @@ public final class SummonNpc extends AbstractEffect
|
||||
}
|
||||
case "L2EffectPoint": // TODO: Implement proper signet skills.
|
||||
{
|
||||
final L2EffectPointInstance effectPoint = new L2EffectPointInstance(IdFactory.getInstance().getNextId(), npcTemplate, player);
|
||||
final L2EffectPointInstance effectPoint = new L2EffectPointInstance(npcTemplate, player);
|
||||
effectPoint.setCurrentHp(effectPoint.getMaxHp());
|
||||
effectPoint.setCurrentMp(effectPoint.getMaxMp());
|
||||
int x = player.getX();
|
||||
|
Reference in New Issue
Block a user