Moved some common utils to gameserver.
This commit is contained in:
		| @@ -16,13 +16,13 @@ | ||||
|  */ | ||||
| package handlers.effecthandlers; | ||||
|  | ||||
| import com.l2jmobius.commons.util.MathUtil; | ||||
| import com.l2jmobius.gameserver.enums.Position; | ||||
| import com.l2jmobius.gameserver.model.StatsSet; | ||||
| import com.l2jmobius.gameserver.model.actor.L2Character; | ||||
| import com.l2jmobius.gameserver.model.effects.AbstractEffect; | ||||
| import com.l2jmobius.gameserver.model.skills.Skill; | ||||
| import com.l2jmobius.gameserver.model.stats.Stats; | ||||
| import com.l2jmobius.gameserver.util.MathUtil; | ||||
|  | ||||
| /** | ||||
|  * @author Sdw | ||||
|   | ||||
| @@ -16,13 +16,13 @@ | ||||
|  */ | ||||
| package handlers.effecthandlers; | ||||
|  | ||||
| import com.l2jmobius.commons.util.MathUtil; | ||||
| import com.l2jmobius.gameserver.enums.Position; | ||||
| import com.l2jmobius.gameserver.model.StatsSet; | ||||
| import com.l2jmobius.gameserver.model.actor.L2Character; | ||||
| import com.l2jmobius.gameserver.model.effects.AbstractEffect; | ||||
| import com.l2jmobius.gameserver.model.skills.Skill; | ||||
| import com.l2jmobius.gameserver.model.stats.Stats; | ||||
| import com.l2jmobius.gameserver.util.MathUtil; | ||||
|  | ||||
| /** | ||||
|  * @author Sdw | ||||
|   | ||||
| @@ -16,11 +16,11 @@ | ||||
|  */ | ||||
| package handlers.effecthandlers; | ||||
|  | ||||
| import com.l2jmobius.commons.util.MathUtil; | ||||
| import com.l2jmobius.gameserver.model.StatsSet; | ||||
| import com.l2jmobius.gameserver.model.actor.L2Character; | ||||
| import com.l2jmobius.gameserver.model.effects.AbstractEffect; | ||||
| import com.l2jmobius.gameserver.model.skills.Skill; | ||||
| import com.l2jmobius.gameserver.util.MathUtil; | ||||
|  | ||||
| /** | ||||
|  * @author Sdw | ||||
|   | ||||
| @@ -16,11 +16,11 @@ | ||||
|  */ | ||||
| package handlers.effecthandlers; | ||||
|  | ||||
| import com.l2jmobius.commons.util.MathUtil; | ||||
| import com.l2jmobius.gameserver.model.StatsSet; | ||||
| import com.l2jmobius.gameserver.model.actor.L2Character; | ||||
| import com.l2jmobius.gameserver.model.effects.AbstractEffect; | ||||
| import com.l2jmobius.gameserver.model.skills.Skill; | ||||
| import com.l2jmobius.gameserver.util.MathUtil; | ||||
|  | ||||
| /** | ||||
|  * @author Sdw | ||||
|   | ||||
| @@ -25,7 +25,6 @@ import java.util.List; | ||||
| import java.util.logging.Logger; | ||||
|  | ||||
| import com.l2jmobius.Config; | ||||
| import com.l2jmobius.commons.util.MathUtil; | ||||
| import com.l2jmobius.gameserver.data.xml.impl.DoorData; | ||||
| import com.l2jmobius.gameserver.geoengine.geodata.ABlock; | ||||
| import com.l2jmobius.gameserver.geoengine.geodata.BlockComplex; | ||||
| @@ -46,6 +45,7 @@ import com.l2jmobius.gameserver.model.Location; | ||||
| import com.l2jmobius.gameserver.model.actor.L2Character; | ||||
| import com.l2jmobius.gameserver.model.actor.instance.L2DoorInstance; | ||||
| import com.l2jmobius.gameserver.model.instancezone.Instance; | ||||
| import com.l2jmobius.gameserver.util.MathUtil; | ||||
|  | ||||
| /** | ||||
|  * @author Hasha | ||||
|   | ||||
| @@ -34,7 +34,6 @@ import java.util.function.BiPredicate; | ||||
| import java.util.stream.Stream; | ||||
|  | ||||
| import com.l2jmobius.Config; | ||||
| import com.l2jmobius.commons.util.MathUtil; | ||||
| import com.l2jmobius.gameserver.enums.AttributeType; | ||||
| import com.l2jmobius.gameserver.enums.Position; | ||||
| import com.l2jmobius.gameserver.model.CharEffectList; | ||||
| @@ -50,6 +49,7 @@ import com.l2jmobius.gameserver.model.stats.Stats; | ||||
| import com.l2jmobius.gameserver.model.stats.StatsHolder; | ||||
| import com.l2jmobius.gameserver.model.stats.TraitType; | ||||
| import com.l2jmobius.gameserver.model.zone.ZoneId; | ||||
| import com.l2jmobius.gameserver.util.MathUtil; | ||||
|  | ||||
| public class CharStat | ||||
| { | ||||
|   | ||||
| @@ -21,7 +21,6 @@ import java.util.Optional; | ||||
| import java.util.function.BiFunction; | ||||
| import java.util.logging.Logger; | ||||
|  | ||||
| import com.l2jmobius.commons.util.MathUtil; | ||||
| import com.l2jmobius.gameserver.enums.AttributeType; | ||||
| import com.l2jmobius.gameserver.model.actor.L2Character; | ||||
| import com.l2jmobius.gameserver.model.stats.finalizers.AttributeFinalizer; | ||||
| @@ -51,6 +50,7 @@ import com.l2jmobius.gameserver.model.stats.finalizers.ShieldDefenceRateFinalize | ||||
| import com.l2jmobius.gameserver.model.stats.finalizers.ShotsBonusFinalizer; | ||||
| import com.l2jmobius.gameserver.model.stats.finalizers.SpeedFinalizer; | ||||
| import com.l2jmobius.gameserver.model.stats.finalizers.VampiricChanceFinalizer; | ||||
| import com.l2jmobius.gameserver.util.MathUtil; | ||||
|  | ||||
| /** | ||||
|  * Enum of basic stats. | ||||
|   | ||||
| @@ -14,7 +14,7 @@ | ||||
|  * You should have received a copy of the GNU General Public License | ||||
|  * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||||
|  */ | ||||
| package com.l2jmobius.commons.util; | ||||
| package com.l2jmobius.gameserver.util; | ||||
| 
 | ||||
| /** | ||||
|  * @author UnAfraid | ||||
		Reference in New Issue
	
	Block a user
	 MobiusDev
					MobiusDev