Simplified EffectList class name.

This commit is contained in:
MobiusDevelopment
2019-03-28 12:50:26 +00:00
parent 64570493f6
commit 1bf6e18fc5
59 changed files with 8371 additions and 8371 deletions

View File

@@ -21,7 +21,7 @@ import java.util.EnumMap;
import java.util.Map;
import java.util.Map.Entry;
import com.l2jmobius.gameserver.model.CharEffectList;
import com.l2jmobius.gameserver.model.EffectList;
import com.l2jmobius.gameserver.model.StatsSet;
import com.l2jmobius.gameserver.model.actor.Creature;
import com.l2jmobius.gameserver.model.conditions.Condition;
@@ -80,7 +80,7 @@ public final class DispelBySlot extends AbstractEffect
}
final Creature effected = info.getEffected();
final CharEffectList effectList = effected.getEffectList();
final EffectList effectList = effected.getEffectList();
// There is no need to iterate over all buffs,
// Just iterate once over all slots to dispel and get the buff with that abnormal if exists,
// Operation of O(n) for the amount of slots to dispel (which is usually small) and O(1) to get the buff.

View File

@@ -22,7 +22,7 @@ import java.util.Map;
import java.util.Map.Entry;
import com.l2jmobius.commons.util.Rnd;
import com.l2jmobius.gameserver.model.CharEffectList;
import com.l2jmobius.gameserver.model.EffectList;
import com.l2jmobius.gameserver.model.StatsSet;
import com.l2jmobius.gameserver.model.actor.Creature;
import com.l2jmobius.gameserver.model.conditions.Condition;
@@ -83,7 +83,7 @@ public final class DispelBySlotProbability extends AbstractEffect
}
final Creature effected = info.getEffected();
final CharEffectList effectList = effected.getEffectList();
final EffectList effectList = effected.getEffectList();
// There is no need to iterate over all buffs,
// Just iterate once over all slots to dispel and get the buff with that abnormal if exists,
// Operation of O(n) for the amount of slots to dispel (which is usually small) and O(1) to get the buff.