Simplified EffectList class name.
This commit is contained in:
@@ -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.
|
||||
|
@@ -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.
|
||||
|
Reference in New Issue
Block a user