Addition of FishingExpSpBonus effect.
This commit is contained in:
parent
3220bc5ef3
commit
96573ffe7e
@ -141,6 +141,7 @@ public final class EffectMasterHandler
|
|||||||
EffectHandler.getInstance().registerHandler("FatalBlowRate", FatalBlowRate::new);
|
EffectHandler.getInstance().registerHandler("FatalBlowRate", FatalBlowRate::new);
|
||||||
EffectHandler.getInstance().registerHandler("Fear", Fear::new);
|
EffectHandler.getInstance().registerHandler("Fear", Fear::new);
|
||||||
EffectHandler.getInstance().registerHandler("Feed", Feed::new);
|
EffectHandler.getInstance().registerHandler("Feed", Feed::new);
|
||||||
|
EffectHandler.getInstance().registerHandler("FishingExpSpBonus", FishingExpSpBonus::new);
|
||||||
EffectHandler.getInstance().registerHandler("Flag", Flag::new);
|
EffectHandler.getInstance().registerHandler("Flag", Flag::new);
|
||||||
EffectHandler.getInstance().registerHandler("FlipBlock", FlipBlock::new);
|
EffectHandler.getInstance().registerHandler("FlipBlock", FlipBlock::new);
|
||||||
EffectHandler.getInstance().registerHandler("FocusEnergy", FocusEnergy::new);
|
EffectHandler.getInstance().registerHandler("FocusEnergy", FocusEnergy::new);
|
||||||
|
31
L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/effecthandlers/FishingExpSpBonus.java
vendored
Normal file
31
L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/effecthandlers/FishingExpSpBonus.java
vendored
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
/*
|
||||||
|
* This file is part of the L2J Mobius project.
|
||||||
|
*
|
||||||
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
* General Public License for more details.
|
||||||
|
*
|
||||||
|
* 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 handlers.effecthandlers;
|
||||||
|
|
||||||
|
import org.l2jmobius.gameserver.model.StatsSet;
|
||||||
|
import org.l2jmobius.gameserver.model.stats.Stats;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Mobius
|
||||||
|
*/
|
||||||
|
public class FishingExpSpBonus extends AbstractStatPercentEffect
|
||||||
|
{
|
||||||
|
public FishingExpSpBonus(StatsSet params)
|
||||||
|
{
|
||||||
|
super(params, Stats.FISHING_EXP_SP_BONUS);
|
||||||
|
}
|
||||||
|
}
|
@ -112,6 +112,7 @@ FatalBlow: Physical attack based on blow formula. Deadly Blow, Lethal Blow etc.
|
|||||||
FatalBlowRate: Blow land rate stat.
|
FatalBlowRate: Blow land rate stat.
|
||||||
Fear: Causes the target to run away. Does not block it though.
|
Fear: Causes the target to run away. Does not block it though.
|
||||||
Feed: Gives food to pet.
|
Feed: Gives food to pet.
|
||||||
|
FishingExpSpBonus: Bonus Exp and SP from fishing. (l2jmobius)
|
||||||
Flag: Starts pvpflag.
|
Flag: Starts pvpflag.
|
||||||
FlyMove: Moves towards target location.
|
FlyMove: Moves towards target location.
|
||||||
FocusEnergy: Max momentum stat.
|
FocusEnergy: Max momentum stat.
|
||||||
|
@ -36,6 +36,7 @@ import org.l2jmobius.gameserver.model.interfaces.ILocational;
|
|||||||
import org.l2jmobius.gameserver.model.itemcontainer.Inventory;
|
import org.l2jmobius.gameserver.model.itemcontainer.Inventory;
|
||||||
import org.l2jmobius.gameserver.model.items.instance.ItemInstance;
|
import org.l2jmobius.gameserver.model.items.instance.ItemInstance;
|
||||||
import org.l2jmobius.gameserver.model.items.type.WeaponType;
|
import org.l2jmobius.gameserver.model.items.type.WeaponType;
|
||||||
|
import org.l2jmobius.gameserver.model.stats.Stats;
|
||||||
import org.l2jmobius.gameserver.model.zone.ZoneId;
|
import org.l2jmobius.gameserver.model.zone.ZoneId;
|
||||||
import org.l2jmobius.gameserver.model.zone.ZoneType;
|
import org.l2jmobius.gameserver.model.zone.ZoneType;
|
||||||
import org.l2jmobius.gameserver.model.zone.type.FishingZone;
|
import org.l2jmobius.gameserver.model.zone.type.FishingZone;
|
||||||
@ -316,8 +317,8 @@ public class Fishing
|
|||||||
{
|
{
|
||||||
final FishingData fishingData = FishingData.getInstance();
|
final FishingData fishingData = FishingData.getInstance();
|
||||||
final double lvlModifier = (Math.pow(_player.getLevel(), 2.2) * fishingCatchData.getMultiplier());
|
final double lvlModifier = (Math.pow(_player.getLevel(), 2.2) * fishingCatchData.getMultiplier());
|
||||||
final long xp = (long) (Rnd.get(fishingData.getExpRateMin(), fishingData.getExpRateMax()) * lvlModifier);
|
final long xp = (long) (Rnd.get(fishingData.getExpRateMin(), fishingData.getExpRateMax()) * lvlModifier * _player.getStat().getValue(Stats.FISHING_EXP_SP_BONUS, 1));
|
||||||
final long sp = (long) (Rnd.get(fishingData.getSpRateMin(), fishingData.getSpRateMax()) * lvlModifier);
|
final long sp = (long) (Rnd.get(fishingData.getSpRateMin(), fishingData.getSpRateMax()) * lvlModifier * _player.getStat().getValue(Stats.FISHING_EXP_SP_BONUS, 1));
|
||||||
_player.addExpAndSp(xp, sp, true);
|
_player.addExpAndSp(xp, sp, true);
|
||||||
_player.getInventory().addItem("Fishing Reward", fishingCatchData.getItemId(), 1, _player, null);
|
_player.getInventory().addItem("Fishing Reward", fishingCatchData.getItemId(), 1, _player, null);
|
||||||
final SystemMessage msg = new SystemMessage(SystemMessageId.YOU_HAVE_EARNED_S1);
|
final SystemMessage msg = new SystemMessage(SystemMessageId.YOU_HAVE_EARNED_S1);
|
||||||
|
@ -179,6 +179,7 @@ public enum Stats
|
|||||||
// VARIOUS
|
// VARIOUS
|
||||||
BREATH("breath"),
|
BREATH("breath"),
|
||||||
FALL("fall"),
|
FALL("fall"),
|
||||||
|
FISHING_EXP_SP_BONUS("fishingExpSpBonus"),
|
||||||
|
|
||||||
// VULNERABILITIES
|
// VULNERABILITIES
|
||||||
DAMAGE_ZONE_VULN("damageZoneVuln"),
|
DAMAGE_ZONE_VULN("damageZoneVuln"),
|
||||||
|
@ -141,6 +141,7 @@ public final class EffectMasterHandler
|
|||||||
EffectHandler.getInstance().registerHandler("FatalBlowRate", FatalBlowRate::new);
|
EffectHandler.getInstance().registerHandler("FatalBlowRate", FatalBlowRate::new);
|
||||||
EffectHandler.getInstance().registerHandler("Fear", Fear::new);
|
EffectHandler.getInstance().registerHandler("Fear", Fear::new);
|
||||||
EffectHandler.getInstance().registerHandler("Feed", Feed::new);
|
EffectHandler.getInstance().registerHandler("Feed", Feed::new);
|
||||||
|
EffectHandler.getInstance().registerHandler("FishingExpSpBonus", FishingExpSpBonus::new);
|
||||||
EffectHandler.getInstance().registerHandler("Flag", Flag::new);
|
EffectHandler.getInstance().registerHandler("Flag", Flag::new);
|
||||||
EffectHandler.getInstance().registerHandler("FlipBlock", FlipBlock::new);
|
EffectHandler.getInstance().registerHandler("FlipBlock", FlipBlock::new);
|
||||||
EffectHandler.getInstance().registerHandler("FocusEnergy", FocusEnergy::new);
|
EffectHandler.getInstance().registerHandler("FocusEnergy", FocusEnergy::new);
|
||||||
|
31
L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/effecthandlers/FishingExpSpBonus.java
vendored
Normal file
31
L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/effecthandlers/FishingExpSpBonus.java
vendored
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
/*
|
||||||
|
* This file is part of the L2J Mobius project.
|
||||||
|
*
|
||||||
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
* General Public License for more details.
|
||||||
|
*
|
||||||
|
* 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 handlers.effecthandlers;
|
||||||
|
|
||||||
|
import org.l2jmobius.gameserver.model.StatsSet;
|
||||||
|
import org.l2jmobius.gameserver.model.stats.Stats;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Mobius
|
||||||
|
*/
|
||||||
|
public class FishingExpSpBonus extends AbstractStatPercentEffect
|
||||||
|
{
|
||||||
|
public FishingExpSpBonus(StatsSet params)
|
||||||
|
{
|
||||||
|
super(params, Stats.FISHING_EXP_SP_BONUS);
|
||||||
|
}
|
||||||
|
}
|
@ -112,6 +112,7 @@ FatalBlow: Physical attack based on blow formula. Deadly Blow, Lethal Blow etc.
|
|||||||
FatalBlowRate: Blow land rate stat.
|
FatalBlowRate: Blow land rate stat.
|
||||||
Fear: Causes the target to run away. Does not block it though.
|
Fear: Causes the target to run away. Does not block it though.
|
||||||
Feed: Gives food to pet.
|
Feed: Gives food to pet.
|
||||||
|
FishingExpSpBonus: Bonus Exp and SP from fishing. (l2jmobius)
|
||||||
Flag: Starts pvpflag.
|
Flag: Starts pvpflag.
|
||||||
FlyMove: Moves towards target location.
|
FlyMove: Moves towards target location.
|
||||||
FocusEnergy: Max momentum stat.
|
FocusEnergy: Max momentum stat.
|
||||||
|
@ -36,6 +36,7 @@ import org.l2jmobius.gameserver.model.interfaces.ILocational;
|
|||||||
import org.l2jmobius.gameserver.model.itemcontainer.Inventory;
|
import org.l2jmobius.gameserver.model.itemcontainer.Inventory;
|
||||||
import org.l2jmobius.gameserver.model.items.instance.ItemInstance;
|
import org.l2jmobius.gameserver.model.items.instance.ItemInstance;
|
||||||
import org.l2jmobius.gameserver.model.items.type.WeaponType;
|
import org.l2jmobius.gameserver.model.items.type.WeaponType;
|
||||||
|
import org.l2jmobius.gameserver.model.stats.Stats;
|
||||||
import org.l2jmobius.gameserver.model.zone.ZoneId;
|
import org.l2jmobius.gameserver.model.zone.ZoneId;
|
||||||
import org.l2jmobius.gameserver.model.zone.ZoneType;
|
import org.l2jmobius.gameserver.model.zone.ZoneType;
|
||||||
import org.l2jmobius.gameserver.model.zone.type.FishingZone;
|
import org.l2jmobius.gameserver.model.zone.type.FishingZone;
|
||||||
@ -316,8 +317,8 @@ public class Fishing
|
|||||||
{
|
{
|
||||||
final FishingData fishingData = FishingData.getInstance();
|
final FishingData fishingData = FishingData.getInstance();
|
||||||
final double lvlModifier = (Math.pow(_player.getLevel(), 2.2) * fishingCatchData.getMultiplier());
|
final double lvlModifier = (Math.pow(_player.getLevel(), 2.2) * fishingCatchData.getMultiplier());
|
||||||
final long xp = (long) (Rnd.get(fishingData.getExpRateMin(), fishingData.getExpRateMax()) * lvlModifier);
|
final long xp = (long) (Rnd.get(fishingData.getExpRateMin(), fishingData.getExpRateMax()) * lvlModifier * _player.getStat().getValue(Stats.FISHING_EXP_SP_BONUS, 1));
|
||||||
final long sp = (long) (Rnd.get(fishingData.getSpRateMin(), fishingData.getSpRateMax()) * lvlModifier);
|
final long sp = (long) (Rnd.get(fishingData.getSpRateMin(), fishingData.getSpRateMax()) * lvlModifier * _player.getStat().getValue(Stats.FISHING_EXP_SP_BONUS, 1));
|
||||||
_player.addExpAndSp(xp, sp, true);
|
_player.addExpAndSp(xp, sp, true);
|
||||||
_player.getInventory().addItem("Fishing Reward", fishingCatchData.getItemId(), 1, _player, null);
|
_player.getInventory().addItem("Fishing Reward", fishingCatchData.getItemId(), 1, _player, null);
|
||||||
final SystemMessage msg = new SystemMessage(SystemMessageId.YOU_HAVE_EARNED_S1);
|
final SystemMessage msg = new SystemMessage(SystemMessageId.YOU_HAVE_EARNED_S1);
|
||||||
|
@ -179,6 +179,7 @@ public enum Stats
|
|||||||
// VARIOUS
|
// VARIOUS
|
||||||
BREATH("breath"),
|
BREATH("breath"),
|
||||||
FALL("fall"),
|
FALL("fall"),
|
||||||
|
FISHING_EXP_SP_BONUS("fishingExpSpBonus"),
|
||||||
|
|
||||||
// VULNERABILITIES
|
// VULNERABILITIES
|
||||||
DAMAGE_ZONE_VULN("damageZoneVuln"),
|
DAMAGE_ZONE_VULN("damageZoneVuln"),
|
||||||
|
@ -141,6 +141,7 @@ public final class EffectMasterHandler
|
|||||||
EffectHandler.getInstance().registerHandler("FatalBlowRate", FatalBlowRate::new);
|
EffectHandler.getInstance().registerHandler("FatalBlowRate", FatalBlowRate::new);
|
||||||
EffectHandler.getInstance().registerHandler("Fear", Fear::new);
|
EffectHandler.getInstance().registerHandler("Fear", Fear::new);
|
||||||
EffectHandler.getInstance().registerHandler("Feed", Feed::new);
|
EffectHandler.getInstance().registerHandler("Feed", Feed::new);
|
||||||
|
EffectHandler.getInstance().registerHandler("FishingExpSpBonus", FishingExpSpBonus::new);
|
||||||
EffectHandler.getInstance().registerHandler("Flag", Flag::new);
|
EffectHandler.getInstance().registerHandler("Flag", Flag::new);
|
||||||
EffectHandler.getInstance().registerHandler("FlipBlock", FlipBlock::new);
|
EffectHandler.getInstance().registerHandler("FlipBlock", FlipBlock::new);
|
||||||
EffectHandler.getInstance().registerHandler("FocusEnergy", FocusEnergy::new);
|
EffectHandler.getInstance().registerHandler("FocusEnergy", FocusEnergy::new);
|
||||||
|
31
L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/effecthandlers/FishingExpSpBonus.java
vendored
Normal file
31
L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/effecthandlers/FishingExpSpBonus.java
vendored
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
/*
|
||||||
|
* This file is part of the L2J Mobius project.
|
||||||
|
*
|
||||||
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
* General Public License for more details.
|
||||||
|
*
|
||||||
|
* 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 handlers.effecthandlers;
|
||||||
|
|
||||||
|
import org.l2jmobius.gameserver.model.StatsSet;
|
||||||
|
import org.l2jmobius.gameserver.model.stats.Stats;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Mobius
|
||||||
|
*/
|
||||||
|
public class FishingExpSpBonus extends AbstractStatPercentEffect
|
||||||
|
{
|
||||||
|
public FishingExpSpBonus(StatsSet params)
|
||||||
|
{
|
||||||
|
super(params, Stats.FISHING_EXP_SP_BONUS);
|
||||||
|
}
|
||||||
|
}
|
@ -112,6 +112,7 @@ FatalBlow: Physical attack based on blow formula. Deadly Blow, Lethal Blow etc.
|
|||||||
FatalBlowRate: Blow land rate stat.
|
FatalBlowRate: Blow land rate stat.
|
||||||
Fear: Causes the target to run away. Does not block it though.
|
Fear: Causes the target to run away. Does not block it though.
|
||||||
Feed: Gives food to pet.
|
Feed: Gives food to pet.
|
||||||
|
FishingExpSpBonus: Bonus Exp and SP from fishing. (l2jmobius)
|
||||||
Flag: Starts pvpflag.
|
Flag: Starts pvpflag.
|
||||||
FlyMove: Moves towards target location.
|
FlyMove: Moves towards target location.
|
||||||
FocusEnergy: Max momentum stat.
|
FocusEnergy: Max momentum stat.
|
||||||
|
@ -36,6 +36,7 @@ import org.l2jmobius.gameserver.model.interfaces.ILocational;
|
|||||||
import org.l2jmobius.gameserver.model.itemcontainer.Inventory;
|
import org.l2jmobius.gameserver.model.itemcontainer.Inventory;
|
||||||
import org.l2jmobius.gameserver.model.items.instance.ItemInstance;
|
import org.l2jmobius.gameserver.model.items.instance.ItemInstance;
|
||||||
import org.l2jmobius.gameserver.model.items.type.WeaponType;
|
import org.l2jmobius.gameserver.model.items.type.WeaponType;
|
||||||
|
import org.l2jmobius.gameserver.model.stats.Stats;
|
||||||
import org.l2jmobius.gameserver.model.zone.ZoneId;
|
import org.l2jmobius.gameserver.model.zone.ZoneId;
|
||||||
import org.l2jmobius.gameserver.model.zone.ZoneType;
|
import org.l2jmobius.gameserver.model.zone.ZoneType;
|
||||||
import org.l2jmobius.gameserver.model.zone.type.FishingZone;
|
import org.l2jmobius.gameserver.model.zone.type.FishingZone;
|
||||||
@ -316,8 +317,8 @@ public class Fishing
|
|||||||
{
|
{
|
||||||
final FishingData fishingData = FishingData.getInstance();
|
final FishingData fishingData = FishingData.getInstance();
|
||||||
final double lvlModifier = (Math.pow(_player.getLevel(), 2.2) * fishingCatchData.getMultiplier());
|
final double lvlModifier = (Math.pow(_player.getLevel(), 2.2) * fishingCatchData.getMultiplier());
|
||||||
final long xp = (long) (Rnd.get(fishingData.getExpRateMin(), fishingData.getExpRateMax()) * lvlModifier);
|
final long xp = (long) (Rnd.get(fishingData.getExpRateMin(), fishingData.getExpRateMax()) * lvlModifier * _player.getStat().getValue(Stats.FISHING_EXP_SP_BONUS, 1));
|
||||||
final long sp = (long) (Rnd.get(fishingData.getSpRateMin(), fishingData.getSpRateMax()) * lvlModifier);
|
final long sp = (long) (Rnd.get(fishingData.getSpRateMin(), fishingData.getSpRateMax()) * lvlModifier * _player.getStat().getValue(Stats.FISHING_EXP_SP_BONUS, 1));
|
||||||
_player.addExpAndSp(xp, sp, true);
|
_player.addExpAndSp(xp, sp, true);
|
||||||
_player.getInventory().addItem("Fishing Reward", fishingCatchData.getItemId(), 1, _player, null);
|
_player.getInventory().addItem("Fishing Reward", fishingCatchData.getItemId(), 1, _player, null);
|
||||||
final SystemMessage msg = new SystemMessage(SystemMessageId.YOU_HAVE_EARNED_S1);
|
final SystemMessage msg = new SystemMessage(SystemMessageId.YOU_HAVE_EARNED_S1);
|
||||||
|
@ -179,6 +179,7 @@ public enum Stats
|
|||||||
// VARIOUS
|
// VARIOUS
|
||||||
BREATH("breath"),
|
BREATH("breath"),
|
||||||
FALL("fall"),
|
FALL("fall"),
|
||||||
|
FISHING_EXP_SP_BONUS("fishingExpSpBonus"),
|
||||||
|
|
||||||
// VULNERABILITIES
|
// VULNERABILITIES
|
||||||
DAMAGE_ZONE_VULN("damageZoneVuln"),
|
DAMAGE_ZONE_VULN("damageZoneVuln"),
|
||||||
|
@ -145,6 +145,7 @@ public final class EffectMasterHandler
|
|||||||
EffectHandler.getInstance().registerHandler("FatalBlowRate", FatalBlowRate::new);
|
EffectHandler.getInstance().registerHandler("FatalBlowRate", FatalBlowRate::new);
|
||||||
EffectHandler.getInstance().registerHandler("Fear", Fear::new);
|
EffectHandler.getInstance().registerHandler("Fear", Fear::new);
|
||||||
EffectHandler.getInstance().registerHandler("Feed", Feed::new);
|
EffectHandler.getInstance().registerHandler("Feed", Feed::new);
|
||||||
|
EffectHandler.getInstance().registerHandler("FishingExpSpBonus", FishingExpSpBonus::new);
|
||||||
EffectHandler.getInstance().registerHandler("Flag", Flag::new);
|
EffectHandler.getInstance().registerHandler("Flag", Flag::new);
|
||||||
EffectHandler.getInstance().registerHandler("FlipBlock", FlipBlock::new);
|
EffectHandler.getInstance().registerHandler("FlipBlock", FlipBlock::new);
|
||||||
EffectHandler.getInstance().registerHandler("FocusEnergy", FocusEnergy::new);
|
EffectHandler.getInstance().registerHandler("FocusEnergy", FocusEnergy::new);
|
||||||
|
@ -0,0 +1,31 @@
|
|||||||
|
/*
|
||||||
|
* This file is part of the L2J Mobius project.
|
||||||
|
*
|
||||||
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
* General Public License for more details.
|
||||||
|
*
|
||||||
|
* 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 handlers.effecthandlers;
|
||||||
|
|
||||||
|
import org.l2jmobius.gameserver.model.StatsSet;
|
||||||
|
import org.l2jmobius.gameserver.model.stats.Stats;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Mobius
|
||||||
|
*/
|
||||||
|
public class FishingExpSpBonus extends AbstractStatPercentEffect
|
||||||
|
{
|
||||||
|
public FishingExpSpBonus(StatsSet params)
|
||||||
|
{
|
||||||
|
super(params, Stats.FISHING_EXP_SP_BONUS);
|
||||||
|
}
|
||||||
|
}
|
@ -116,6 +116,7 @@ FatalBlow: Physical attack based on blow formula. Deadly Blow, Lethal Blow etc.
|
|||||||
FatalBlowRate: Blow land rate stat.
|
FatalBlowRate: Blow land rate stat.
|
||||||
Fear: Causes the target to run away. Does not block it though.
|
Fear: Causes the target to run away. Does not block it though.
|
||||||
Feed: Gives food to pet.
|
Feed: Gives food to pet.
|
||||||
|
FishingExpSpBonus: Bonus Exp and SP from fishing. (l2jmobius)
|
||||||
Flag: Starts pvpflag.
|
Flag: Starts pvpflag.
|
||||||
FlyMove: Moves towards target location.
|
FlyMove: Moves towards target location.
|
||||||
FocusEnergy: Max momentum stat.
|
FocusEnergy: Max momentum stat.
|
||||||
|
@ -36,6 +36,7 @@ import org.l2jmobius.gameserver.model.interfaces.ILocational;
|
|||||||
import org.l2jmobius.gameserver.model.itemcontainer.Inventory;
|
import org.l2jmobius.gameserver.model.itemcontainer.Inventory;
|
||||||
import org.l2jmobius.gameserver.model.items.instance.ItemInstance;
|
import org.l2jmobius.gameserver.model.items.instance.ItemInstance;
|
||||||
import org.l2jmobius.gameserver.model.items.type.WeaponType;
|
import org.l2jmobius.gameserver.model.items.type.WeaponType;
|
||||||
|
import org.l2jmobius.gameserver.model.stats.Stats;
|
||||||
import org.l2jmobius.gameserver.model.zone.ZoneId;
|
import org.l2jmobius.gameserver.model.zone.ZoneId;
|
||||||
import org.l2jmobius.gameserver.model.zone.ZoneType;
|
import org.l2jmobius.gameserver.model.zone.ZoneType;
|
||||||
import org.l2jmobius.gameserver.model.zone.type.FishingZone;
|
import org.l2jmobius.gameserver.model.zone.type.FishingZone;
|
||||||
@ -316,8 +317,8 @@ public class Fishing
|
|||||||
{
|
{
|
||||||
final FishingData fishingData = FishingData.getInstance();
|
final FishingData fishingData = FishingData.getInstance();
|
||||||
final double lvlModifier = (Math.pow(_player.getLevel(), 2.2) * fishingCatchData.getMultiplier());
|
final double lvlModifier = (Math.pow(_player.getLevel(), 2.2) * fishingCatchData.getMultiplier());
|
||||||
final long xp = (long) (Rnd.get(fishingData.getExpRateMin(), fishingData.getExpRateMax()) * lvlModifier);
|
final long xp = (long) (Rnd.get(fishingData.getExpRateMin(), fishingData.getExpRateMax()) * lvlModifier * _player.getStat().getValue(Stats.FISHING_EXP_SP_BONUS, 1));
|
||||||
final long sp = (long) (Rnd.get(fishingData.getSpRateMin(), fishingData.getSpRateMax()) * lvlModifier);
|
final long sp = (long) (Rnd.get(fishingData.getSpRateMin(), fishingData.getSpRateMax()) * lvlModifier * _player.getStat().getValue(Stats.FISHING_EXP_SP_BONUS, 1));
|
||||||
_player.addExpAndSp(xp, sp, true);
|
_player.addExpAndSp(xp, sp, true);
|
||||||
_player.getInventory().addItem("Fishing Reward", fishingCatchData.getItemId(), 1, _player, null);
|
_player.getInventory().addItem("Fishing Reward", fishingCatchData.getItemId(), 1, _player, null);
|
||||||
final SystemMessage msg = new SystemMessage(SystemMessageId.YOU_HAVE_EARNED_S1);
|
final SystemMessage msg = new SystemMessage(SystemMessageId.YOU_HAVE_EARNED_S1);
|
||||||
|
@ -179,6 +179,7 @@ public enum Stats
|
|||||||
// VARIOUS
|
// VARIOUS
|
||||||
BREATH("breath"),
|
BREATH("breath"),
|
||||||
FALL("fall"),
|
FALL("fall"),
|
||||||
|
FISHING_EXP_SP_BONUS("fishingExpSpBonus"),
|
||||||
|
|
||||||
// VULNERABILITIES
|
// VULNERABILITIES
|
||||||
DAMAGE_ZONE_VULN("damageZoneVuln"),
|
DAMAGE_ZONE_VULN("damageZoneVuln"),
|
||||||
|
@ -148,6 +148,7 @@ public final class EffectMasterHandler
|
|||||||
EffectHandler.getInstance().registerHandler("FatalBlowRate", FatalBlowRate::new);
|
EffectHandler.getInstance().registerHandler("FatalBlowRate", FatalBlowRate::new);
|
||||||
EffectHandler.getInstance().registerHandler("Fear", Fear::new);
|
EffectHandler.getInstance().registerHandler("Fear", Fear::new);
|
||||||
EffectHandler.getInstance().registerHandler("Feed", Feed::new);
|
EffectHandler.getInstance().registerHandler("Feed", Feed::new);
|
||||||
|
EffectHandler.getInstance().registerHandler("FishingExpSpBonus", FishingExpSpBonus::new);
|
||||||
EffectHandler.getInstance().registerHandler("Flag", Flag::new);
|
EffectHandler.getInstance().registerHandler("Flag", Flag::new);
|
||||||
EffectHandler.getInstance().registerHandler("FlipBlock", FlipBlock::new);
|
EffectHandler.getInstance().registerHandler("FlipBlock", FlipBlock::new);
|
||||||
EffectHandler.getInstance().registerHandler("FocusEnergy", FocusEnergy::new);
|
EffectHandler.getInstance().registerHandler("FocusEnergy", FocusEnergy::new);
|
||||||
|
31
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/effecthandlers/FishingExpSpBonus.java
vendored
Normal file
31
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/effecthandlers/FishingExpSpBonus.java
vendored
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
/*
|
||||||
|
* This file is part of the L2J Mobius project.
|
||||||
|
*
|
||||||
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
* General Public License for more details.
|
||||||
|
*
|
||||||
|
* 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 handlers.effecthandlers;
|
||||||
|
|
||||||
|
import org.l2jmobius.gameserver.model.StatsSet;
|
||||||
|
import org.l2jmobius.gameserver.model.stats.Stats;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Mobius
|
||||||
|
*/
|
||||||
|
public class FishingExpSpBonus extends AbstractStatPercentEffect
|
||||||
|
{
|
||||||
|
public FishingExpSpBonus(StatsSet params)
|
||||||
|
{
|
||||||
|
super(params, Stats.FISHING_EXP_SP_BONUS);
|
||||||
|
}
|
||||||
|
}
|
@ -119,6 +119,7 @@ FatalBlow: Physical attack based on blow formula. Deadly Blow, Lethal Blow etc.
|
|||||||
FatalBlowRate: Blow land rate stat.
|
FatalBlowRate: Blow land rate stat.
|
||||||
Fear: Causes the target to run away. Does not block it though.
|
Fear: Causes the target to run away. Does not block it though.
|
||||||
Feed: Gives food to pet.
|
Feed: Gives food to pet.
|
||||||
|
FishingExpSpBonus: Bonus Exp and SP from fishing. (l2jmobius)
|
||||||
Flag: Starts pvpflag.
|
Flag: Starts pvpflag.
|
||||||
FlyMove: Moves towards target location.
|
FlyMove: Moves towards target location.
|
||||||
FocusEnergy: Max momentum stat.
|
FocusEnergy: Max momentum stat.
|
||||||
|
@ -36,6 +36,7 @@ import org.l2jmobius.gameserver.model.interfaces.ILocational;
|
|||||||
import org.l2jmobius.gameserver.model.itemcontainer.Inventory;
|
import org.l2jmobius.gameserver.model.itemcontainer.Inventory;
|
||||||
import org.l2jmobius.gameserver.model.items.instance.ItemInstance;
|
import org.l2jmobius.gameserver.model.items.instance.ItemInstance;
|
||||||
import org.l2jmobius.gameserver.model.items.type.WeaponType;
|
import org.l2jmobius.gameserver.model.items.type.WeaponType;
|
||||||
|
import org.l2jmobius.gameserver.model.stats.Stats;
|
||||||
import org.l2jmobius.gameserver.model.zone.ZoneId;
|
import org.l2jmobius.gameserver.model.zone.ZoneId;
|
||||||
import org.l2jmobius.gameserver.model.zone.ZoneType;
|
import org.l2jmobius.gameserver.model.zone.ZoneType;
|
||||||
import org.l2jmobius.gameserver.model.zone.type.FishingZone;
|
import org.l2jmobius.gameserver.model.zone.type.FishingZone;
|
||||||
@ -316,8 +317,8 @@ public class Fishing
|
|||||||
{
|
{
|
||||||
final FishingData fishingData = FishingData.getInstance();
|
final FishingData fishingData = FishingData.getInstance();
|
||||||
final double lvlModifier = (Math.pow(_player.getLevel(), 2.2) * fishingCatchData.getMultiplier());
|
final double lvlModifier = (Math.pow(_player.getLevel(), 2.2) * fishingCatchData.getMultiplier());
|
||||||
final long xp = (long) (Rnd.get(fishingData.getExpRateMin(), fishingData.getExpRateMax()) * lvlModifier);
|
final long xp = (long) (Rnd.get(fishingData.getExpRateMin(), fishingData.getExpRateMax()) * lvlModifier * _player.getStat().getValue(Stats.FISHING_EXP_SP_BONUS, 1));
|
||||||
final long sp = (long) (Rnd.get(fishingData.getSpRateMin(), fishingData.getSpRateMax()) * lvlModifier);
|
final long sp = (long) (Rnd.get(fishingData.getSpRateMin(), fishingData.getSpRateMax()) * lvlModifier * _player.getStat().getValue(Stats.FISHING_EXP_SP_BONUS, 1));
|
||||||
_player.addExpAndSp(xp, sp, true);
|
_player.addExpAndSp(xp, sp, true);
|
||||||
_player.getInventory().addItem("Fishing Reward", fishingCatchData.getItemId(), 1, _player, null);
|
_player.getInventory().addItem("Fishing Reward", fishingCatchData.getItemId(), 1, _player, null);
|
||||||
final SystemMessage msg = new SystemMessage(SystemMessageId.YOU_HAVE_EARNED_S1);
|
final SystemMessage msg = new SystemMessage(SystemMessageId.YOU_HAVE_EARNED_S1);
|
||||||
|
@ -179,6 +179,7 @@ public enum Stats
|
|||||||
// VARIOUS
|
// VARIOUS
|
||||||
BREATH("breath"),
|
BREATH("breath"),
|
||||||
FALL("fall"),
|
FALL("fall"),
|
||||||
|
FISHING_EXP_SP_BONUS("fishingExpSpBonus"),
|
||||||
|
|
||||||
// VULNERABILITIES
|
// VULNERABILITIES
|
||||||
DAMAGE_ZONE_VULN("damageZoneVuln"),
|
DAMAGE_ZONE_VULN("damageZoneVuln"),
|
||||||
|
@ -149,6 +149,7 @@ public final class EffectMasterHandler
|
|||||||
EffectHandler.getInstance().registerHandler("FatalBlowRate", FatalBlowRate::new);
|
EffectHandler.getInstance().registerHandler("FatalBlowRate", FatalBlowRate::new);
|
||||||
EffectHandler.getInstance().registerHandler("Fear", Fear::new);
|
EffectHandler.getInstance().registerHandler("Fear", Fear::new);
|
||||||
EffectHandler.getInstance().registerHandler("Feed", Feed::new);
|
EffectHandler.getInstance().registerHandler("Feed", Feed::new);
|
||||||
|
EffectHandler.getInstance().registerHandler("FishingExpSpBonus", FishingExpSpBonus::new);
|
||||||
EffectHandler.getInstance().registerHandler("Flag", Flag::new);
|
EffectHandler.getInstance().registerHandler("Flag", Flag::new);
|
||||||
EffectHandler.getInstance().registerHandler("FlipBlock", FlipBlock::new);
|
EffectHandler.getInstance().registerHandler("FlipBlock", FlipBlock::new);
|
||||||
EffectHandler.getInstance().registerHandler("FocusEnergy", FocusEnergy::new);
|
EffectHandler.getInstance().registerHandler("FocusEnergy", FocusEnergy::new);
|
||||||
|
31
L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/effecthandlers/FishingExpSpBonus.java
vendored
Normal file
31
L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/effecthandlers/FishingExpSpBonus.java
vendored
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
/*
|
||||||
|
* This file is part of the L2J Mobius project.
|
||||||
|
*
|
||||||
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
* General Public License for more details.
|
||||||
|
*
|
||||||
|
* 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 handlers.effecthandlers;
|
||||||
|
|
||||||
|
import org.l2jmobius.gameserver.model.StatsSet;
|
||||||
|
import org.l2jmobius.gameserver.model.stats.Stats;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Mobius
|
||||||
|
*/
|
||||||
|
public class FishingExpSpBonus extends AbstractStatPercentEffect
|
||||||
|
{
|
||||||
|
public FishingExpSpBonus(StatsSet params)
|
||||||
|
{
|
||||||
|
super(params, Stats.FISHING_EXP_SP_BONUS);
|
||||||
|
}
|
||||||
|
}
|
@ -120,6 +120,7 @@ FatalBlow: Physical attack based on blow formula. Deadly Blow, Lethal Blow etc.
|
|||||||
FatalBlowRate: Blow land rate stat.
|
FatalBlowRate: Blow land rate stat.
|
||||||
Fear: Causes the target to run away. Does not block it though.
|
Fear: Causes the target to run away. Does not block it though.
|
||||||
Feed: Gives food to pet.
|
Feed: Gives food to pet.
|
||||||
|
FishingExpSpBonus: Bonus Exp and SP from fishing. (l2jmobius)
|
||||||
Flag: Starts pvpflag.
|
Flag: Starts pvpflag.
|
||||||
FlyMove: Moves towards target location.
|
FlyMove: Moves towards target location.
|
||||||
FocusEnergy: Max momentum stat.
|
FocusEnergy: Max momentum stat.
|
||||||
|
@ -36,6 +36,7 @@ import org.l2jmobius.gameserver.model.interfaces.ILocational;
|
|||||||
import org.l2jmobius.gameserver.model.itemcontainer.Inventory;
|
import org.l2jmobius.gameserver.model.itemcontainer.Inventory;
|
||||||
import org.l2jmobius.gameserver.model.items.instance.ItemInstance;
|
import org.l2jmobius.gameserver.model.items.instance.ItemInstance;
|
||||||
import org.l2jmobius.gameserver.model.items.type.WeaponType;
|
import org.l2jmobius.gameserver.model.items.type.WeaponType;
|
||||||
|
import org.l2jmobius.gameserver.model.stats.Stats;
|
||||||
import org.l2jmobius.gameserver.model.zone.ZoneId;
|
import org.l2jmobius.gameserver.model.zone.ZoneId;
|
||||||
import org.l2jmobius.gameserver.model.zone.ZoneType;
|
import org.l2jmobius.gameserver.model.zone.ZoneType;
|
||||||
import org.l2jmobius.gameserver.model.zone.type.FishingZone;
|
import org.l2jmobius.gameserver.model.zone.type.FishingZone;
|
||||||
@ -316,8 +317,8 @@ public class Fishing
|
|||||||
{
|
{
|
||||||
final FishingData fishingData = FishingData.getInstance();
|
final FishingData fishingData = FishingData.getInstance();
|
||||||
final double lvlModifier = (Math.pow(_player.getLevel(), 2.2) * fishingCatchData.getMultiplier());
|
final double lvlModifier = (Math.pow(_player.getLevel(), 2.2) * fishingCatchData.getMultiplier());
|
||||||
final long xp = (long) (Rnd.get(fishingData.getExpRateMin(), fishingData.getExpRateMax()) * lvlModifier);
|
final long xp = (long) (Rnd.get(fishingData.getExpRateMin(), fishingData.getExpRateMax()) * lvlModifier * _player.getStat().getValue(Stats.FISHING_EXP_SP_BONUS, 1));
|
||||||
final long sp = (long) (Rnd.get(fishingData.getSpRateMin(), fishingData.getSpRateMax()) * lvlModifier);
|
final long sp = (long) (Rnd.get(fishingData.getSpRateMin(), fishingData.getSpRateMax()) * lvlModifier * _player.getStat().getValue(Stats.FISHING_EXP_SP_BONUS, 1));
|
||||||
_player.addExpAndSp(xp, sp, true);
|
_player.addExpAndSp(xp, sp, true);
|
||||||
_player.getInventory().addItem("Fishing Reward", fishingCatchData.getItemId(), 1, _player, null);
|
_player.getInventory().addItem("Fishing Reward", fishingCatchData.getItemId(), 1, _player, null);
|
||||||
final SystemMessage msg = new SystemMessage(SystemMessageId.YOU_HAVE_EARNED_S1);
|
final SystemMessage msg = new SystemMessage(SystemMessageId.YOU_HAVE_EARNED_S1);
|
||||||
|
@ -179,6 +179,7 @@ public enum Stats
|
|||||||
// VARIOUS
|
// VARIOUS
|
||||||
BREATH("breath"),
|
BREATH("breath"),
|
||||||
FALL("fall"),
|
FALL("fall"),
|
||||||
|
FISHING_EXP_SP_BONUS("fishingExpSpBonus"),
|
||||||
|
|
||||||
// VULNERABILITIES
|
// VULNERABILITIES
|
||||||
DAMAGE_ZONE_VULN("damageZoneVuln"),
|
DAMAGE_ZONE_VULN("damageZoneVuln"),
|
||||||
|
@ -454,9 +454,9 @@ public enum ExIncomingPackets implements IIncomingPackets<GameClient>
|
|||||||
EX_REQUEST_UNLOCKED_ITEM(0x15A, null, ConnectionState.IN_GAME),
|
EX_REQUEST_UNLOCKED_ITEM(0x15A, null, ConnectionState.IN_GAME),
|
||||||
EX_LOCKED_ITEM_CANCEL(0x15B, null, ConnectionState.IN_GAME),
|
EX_LOCKED_ITEM_CANCEL(0x15B, null, ConnectionState.IN_GAME),
|
||||||
EX_UNLOCKED_ITEM_CANCEL(0x15C, null, ConnectionState.IN_GAME),
|
EX_UNLOCKED_ITEM_CANCEL(0x15C, null, ConnectionState.IN_GAME),
|
||||||
REQUEST_BLOCK_LIST_FOR_AD(0x15D, null, ConnectionState.IN_GAME),
|
EX_ELEMENTAL_SPIRIT_CHANGE_TYPE(0x15D, null, ConnectionState.IN_GAME), // 152
|
||||||
REQUEST_USER_BAN_INFO(0x15E, null, ConnectionState.IN_GAME),
|
REQUEST_BLOCK_LIST_FOR_AD(0x15E, null, ConnectionState.IN_GAME),
|
||||||
EX_ELEMENTAL_SPIRIT_CHANGE_TYPE(0x15F, null, ConnectionState.IN_GAME), // 152
|
REQUEST_USER_BAN_INFO(0x15F, null, ConnectionState.IN_GAME),
|
||||||
EX_INTERACT_MODIFY(0x160, null, ConnectionState.IN_GAME), // 152
|
EX_INTERACT_MODIFY(0x160, null, ConnectionState.IN_GAME), // 152
|
||||||
EX_TRY_ENCHANT_ARTIFACT(0x161, null, ConnectionState.IN_GAME), // 152
|
EX_TRY_ENCHANT_ARTIFACT(0x161, null, ConnectionState.IN_GAME), // 152
|
||||||
EX_XIGN_CODE(0x162, null, ConnectionState.IN_GAME); // 152
|
EX_XIGN_CODE(0x162, null, ConnectionState.IN_GAME); // 152
|
||||||
|
@ -149,6 +149,7 @@ public final class EffectMasterHandler
|
|||||||
EffectHandler.getInstance().registerHandler("FatalBlowRate", FatalBlowRate::new);
|
EffectHandler.getInstance().registerHandler("FatalBlowRate", FatalBlowRate::new);
|
||||||
EffectHandler.getInstance().registerHandler("Fear", Fear::new);
|
EffectHandler.getInstance().registerHandler("Fear", Fear::new);
|
||||||
EffectHandler.getInstance().registerHandler("Feed", Feed::new);
|
EffectHandler.getInstance().registerHandler("Feed", Feed::new);
|
||||||
|
EffectHandler.getInstance().registerHandler("FishingExpSpBonus", FishingExpSpBonus::new);
|
||||||
EffectHandler.getInstance().registerHandler("Flag", Flag::new);
|
EffectHandler.getInstance().registerHandler("Flag", Flag::new);
|
||||||
EffectHandler.getInstance().registerHandler("FlipBlock", FlipBlock::new);
|
EffectHandler.getInstance().registerHandler("FlipBlock", FlipBlock::new);
|
||||||
EffectHandler.getInstance().registerHandler("FocusEnergy", FocusEnergy::new);
|
EffectHandler.getInstance().registerHandler("FocusEnergy", FocusEnergy::new);
|
||||||
|
31
L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/effecthandlers/FishingExpSpBonus.java
vendored
Normal file
31
L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/effecthandlers/FishingExpSpBonus.java
vendored
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
/*
|
||||||
|
* This file is part of the L2J Mobius project.
|
||||||
|
*
|
||||||
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
* General Public License for more details.
|
||||||
|
*
|
||||||
|
* 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 handlers.effecthandlers;
|
||||||
|
|
||||||
|
import org.l2jmobius.gameserver.model.StatsSet;
|
||||||
|
import org.l2jmobius.gameserver.model.stats.Stats;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Mobius
|
||||||
|
*/
|
||||||
|
public class FishingExpSpBonus extends AbstractStatPercentEffect
|
||||||
|
{
|
||||||
|
public FishingExpSpBonus(StatsSet params)
|
||||||
|
{
|
||||||
|
super(params, Stats.FISHING_EXP_SP_BONUS);
|
||||||
|
}
|
||||||
|
}
|
@ -120,6 +120,7 @@ FatalBlow: Physical attack based on blow formula. Deadly Blow, Lethal Blow etc.
|
|||||||
FatalBlowRate: Blow land rate stat.
|
FatalBlowRate: Blow land rate stat.
|
||||||
Fear: Causes the target to run away. Does not block it though.
|
Fear: Causes the target to run away. Does not block it though.
|
||||||
Feed: Gives food to pet.
|
Feed: Gives food to pet.
|
||||||
|
FishingExpSpBonus: Bonus Exp and SP from fishing. (l2jmobius)
|
||||||
Flag: Starts pvpflag.
|
Flag: Starts pvpflag.
|
||||||
FlyMove: Moves towards target location.
|
FlyMove: Moves towards target location.
|
||||||
FocusEnergy: Max momentum stat.
|
FocusEnergy: Max momentum stat.
|
||||||
|
@ -36,6 +36,7 @@ import org.l2jmobius.gameserver.model.interfaces.ILocational;
|
|||||||
import org.l2jmobius.gameserver.model.itemcontainer.Inventory;
|
import org.l2jmobius.gameserver.model.itemcontainer.Inventory;
|
||||||
import org.l2jmobius.gameserver.model.items.instance.ItemInstance;
|
import org.l2jmobius.gameserver.model.items.instance.ItemInstance;
|
||||||
import org.l2jmobius.gameserver.model.items.type.WeaponType;
|
import org.l2jmobius.gameserver.model.items.type.WeaponType;
|
||||||
|
import org.l2jmobius.gameserver.model.stats.Stats;
|
||||||
import org.l2jmobius.gameserver.model.zone.ZoneId;
|
import org.l2jmobius.gameserver.model.zone.ZoneId;
|
||||||
import org.l2jmobius.gameserver.model.zone.ZoneType;
|
import org.l2jmobius.gameserver.model.zone.ZoneType;
|
||||||
import org.l2jmobius.gameserver.model.zone.type.FishingZone;
|
import org.l2jmobius.gameserver.model.zone.type.FishingZone;
|
||||||
@ -316,8 +317,8 @@ public class Fishing
|
|||||||
{
|
{
|
||||||
final FishingData fishingData = FishingData.getInstance();
|
final FishingData fishingData = FishingData.getInstance();
|
||||||
final double lvlModifier = (Math.pow(_player.getLevel(), 2.2) * fishingCatchData.getMultiplier());
|
final double lvlModifier = (Math.pow(_player.getLevel(), 2.2) * fishingCatchData.getMultiplier());
|
||||||
final long xp = (long) (Rnd.get(fishingData.getExpRateMin(), fishingData.getExpRateMax()) * lvlModifier);
|
final long xp = (long) (Rnd.get(fishingData.getExpRateMin(), fishingData.getExpRateMax()) * lvlModifier * _player.getStat().getValue(Stats.FISHING_EXP_SP_BONUS, 1));
|
||||||
final long sp = (long) (Rnd.get(fishingData.getSpRateMin(), fishingData.getSpRateMax()) * lvlModifier);
|
final long sp = (long) (Rnd.get(fishingData.getSpRateMin(), fishingData.getSpRateMax()) * lvlModifier * _player.getStat().getValue(Stats.FISHING_EXP_SP_BONUS, 1));
|
||||||
_player.addExpAndSp(xp, sp, true);
|
_player.addExpAndSp(xp, sp, true);
|
||||||
_player.getInventory().addItem("Fishing Reward", fishingCatchData.getItemId(), 1, _player, null);
|
_player.getInventory().addItem("Fishing Reward", fishingCatchData.getItemId(), 1, _player, null);
|
||||||
final SystemMessage msg = new SystemMessage(SystemMessageId.YOU_HAVE_EARNED_S1);
|
final SystemMessage msg = new SystemMessage(SystemMessageId.YOU_HAVE_EARNED_S1);
|
||||||
|
@ -179,6 +179,7 @@ public enum Stats
|
|||||||
// VARIOUS
|
// VARIOUS
|
||||||
BREATH("breath"),
|
BREATH("breath"),
|
||||||
FALL("fall"),
|
FALL("fall"),
|
||||||
|
FISHING_EXP_SP_BONUS("fishingExpSpBonus"),
|
||||||
|
|
||||||
// VULNERABILITIES
|
// VULNERABILITIES
|
||||||
DAMAGE_ZONE_VULN("damageZoneVuln"),
|
DAMAGE_ZONE_VULN("damageZoneVuln"),
|
||||||
|
@ -455,9 +455,9 @@ public enum ExIncomingPackets implements IIncomingPackets<GameClient>
|
|||||||
EX_REQUEST_UNLOCKED_ITEM(0x15A, null, ConnectionState.IN_GAME),
|
EX_REQUEST_UNLOCKED_ITEM(0x15A, null, ConnectionState.IN_GAME),
|
||||||
EX_LOCKED_ITEM_CANCEL(0x15B, null, ConnectionState.IN_GAME),
|
EX_LOCKED_ITEM_CANCEL(0x15B, null, ConnectionState.IN_GAME),
|
||||||
EX_UNLOCKED_ITEM_CANCEL(0x15C, null, ConnectionState.IN_GAME),
|
EX_UNLOCKED_ITEM_CANCEL(0x15C, null, ConnectionState.IN_GAME),
|
||||||
REQUEST_BLOCK_LIST_FOR_AD(0x15D, null, ConnectionState.IN_GAME),
|
EX_ELEMENTAL_SPIRIT_CHANGE_TYPE(0x15D, null, ConnectionState.IN_GAME), // 152
|
||||||
REQUEST_USER_BAN_INFO(0x15E, null, ConnectionState.IN_GAME),
|
REQUEST_BLOCK_LIST_FOR_AD(0x15E, null, ConnectionState.IN_GAME),
|
||||||
EX_ELEMENTAL_SPIRIT_CHANGE_TYPE(0x15F, null, ConnectionState.IN_GAME), // 152
|
REQUEST_USER_BAN_INFO(0x15F, null, ConnectionState.IN_GAME),
|
||||||
EX_INTERACT_MODIFY(0x160, null, ConnectionState.IN_GAME), // 152
|
EX_INTERACT_MODIFY(0x160, null, ConnectionState.IN_GAME), // 152
|
||||||
EX_TRY_ENCHANT_ARTIFACT(0x161, null, ConnectionState.IN_GAME), // 152
|
EX_TRY_ENCHANT_ARTIFACT(0x161, null, ConnectionState.IN_GAME), // 152
|
||||||
EX_XIGN_CODE(0x162, null, ConnectionState.IN_GAME); // 152
|
EX_XIGN_CODE(0x162, null, ConnectionState.IN_GAME); // 152
|
||||||
|
@ -22,7 +22,7 @@ import org.l2jmobius.gameserver.model.stats.Stats;
|
|||||||
/**
|
/**
|
||||||
* @author Mobius
|
* @author Mobius
|
||||||
*/
|
*/
|
||||||
public class FishingExpSpBonus extends AbstractStatEffect
|
public class FishingExpSpBonus extends AbstractStatPercentEffect
|
||||||
{
|
{
|
||||||
public FishingExpSpBonus(StatsSet params)
|
public FishingExpSpBonus(StatsSet params)
|
||||||
{
|
{
|
||||||
|
@ -36,6 +36,7 @@ import org.l2jmobius.gameserver.model.interfaces.ILocational;
|
|||||||
import org.l2jmobius.gameserver.model.itemcontainer.Inventory;
|
import org.l2jmobius.gameserver.model.itemcontainer.Inventory;
|
||||||
import org.l2jmobius.gameserver.model.items.instance.ItemInstance;
|
import org.l2jmobius.gameserver.model.items.instance.ItemInstance;
|
||||||
import org.l2jmobius.gameserver.model.items.type.WeaponType;
|
import org.l2jmobius.gameserver.model.items.type.WeaponType;
|
||||||
|
import org.l2jmobius.gameserver.model.stats.Stats;
|
||||||
import org.l2jmobius.gameserver.model.zone.ZoneId;
|
import org.l2jmobius.gameserver.model.zone.ZoneId;
|
||||||
import org.l2jmobius.gameserver.model.zone.ZoneType;
|
import org.l2jmobius.gameserver.model.zone.ZoneType;
|
||||||
import org.l2jmobius.gameserver.model.zone.type.FishingZone;
|
import org.l2jmobius.gameserver.model.zone.type.FishingZone;
|
||||||
@ -316,8 +317,8 @@ public class Fishing
|
|||||||
{
|
{
|
||||||
final FishingData fishingData = FishingData.getInstance();
|
final FishingData fishingData = FishingData.getInstance();
|
||||||
final double lvlModifier = (Math.pow(_player.getLevel(), 2.2) * fishingCatchData.getMultiplier());
|
final double lvlModifier = (Math.pow(_player.getLevel(), 2.2) * fishingCatchData.getMultiplier());
|
||||||
final long xp = (long) (Rnd.get(fishingData.getExpRateMin(), fishingData.getExpRateMax()) * lvlModifier);
|
final long xp = (long) (Rnd.get(fishingData.getExpRateMin(), fishingData.getExpRateMax()) * lvlModifier * _player.getStat().getValue(Stats.FISHING_EXP_SP_BONUS, 1));
|
||||||
final long sp = (long) (Rnd.get(fishingData.getSpRateMin(), fishingData.getSpRateMax()) * lvlModifier);
|
final long sp = (long) (Rnd.get(fishingData.getSpRateMin(), fishingData.getSpRateMax()) * lvlModifier * _player.getStat().getValue(Stats.FISHING_EXP_SP_BONUS, 1));
|
||||||
_player.addExpAndSp(xp, sp, true);
|
_player.addExpAndSp(xp, sp, true);
|
||||||
_player.getInventory().addItem("Fishing Reward", fishingCatchData.getItemId(), 1, _player, null);
|
_player.getInventory().addItem("Fishing Reward", fishingCatchData.getItemId(), 1, _player, null);
|
||||||
final SystemMessage msg = new SystemMessage(SystemMessageId.YOU_HAVE_EARNED_S1);
|
final SystemMessage msg = new SystemMessage(SystemMessageId.YOU_HAVE_EARNED_S1);
|
||||||
|
@ -22,7 +22,7 @@ import org.l2jmobius.gameserver.model.stats.Stats;
|
|||||||
/**
|
/**
|
||||||
* @author Mobius
|
* @author Mobius
|
||||||
*/
|
*/
|
||||||
public class FishingExpSpBonus extends AbstractStatEffect
|
public class FishingExpSpBonus extends AbstractStatPercentEffect
|
||||||
{
|
{
|
||||||
public FishingExpSpBonus(StatsSet params)
|
public FishingExpSpBonus(StatsSet params)
|
||||||
{
|
{
|
||||||
|
@ -36,6 +36,7 @@ import org.l2jmobius.gameserver.model.interfaces.ILocational;
|
|||||||
import org.l2jmobius.gameserver.model.itemcontainer.Inventory;
|
import org.l2jmobius.gameserver.model.itemcontainer.Inventory;
|
||||||
import org.l2jmobius.gameserver.model.items.instance.ItemInstance;
|
import org.l2jmobius.gameserver.model.items.instance.ItemInstance;
|
||||||
import org.l2jmobius.gameserver.model.items.type.WeaponType;
|
import org.l2jmobius.gameserver.model.items.type.WeaponType;
|
||||||
|
import org.l2jmobius.gameserver.model.stats.Stats;
|
||||||
import org.l2jmobius.gameserver.model.zone.ZoneId;
|
import org.l2jmobius.gameserver.model.zone.ZoneId;
|
||||||
import org.l2jmobius.gameserver.model.zone.ZoneType;
|
import org.l2jmobius.gameserver.model.zone.ZoneType;
|
||||||
import org.l2jmobius.gameserver.model.zone.type.FishingZone;
|
import org.l2jmobius.gameserver.model.zone.type.FishingZone;
|
||||||
@ -316,8 +317,8 @@ public class Fishing
|
|||||||
{
|
{
|
||||||
final FishingData fishingData = FishingData.getInstance();
|
final FishingData fishingData = FishingData.getInstance();
|
||||||
final double lvlModifier = (Math.pow(_player.getLevel(), 2.2) * fishingCatchData.getMultiplier());
|
final double lvlModifier = (Math.pow(_player.getLevel(), 2.2) * fishingCatchData.getMultiplier());
|
||||||
final long xp = (long) (Rnd.get(fishingData.getExpRateMin(), fishingData.getExpRateMax()) * lvlModifier);
|
final long xp = (long) (Rnd.get(fishingData.getExpRateMin(), fishingData.getExpRateMax()) * lvlModifier * _player.getStat().getValue(Stats.FISHING_EXP_SP_BONUS, 1));
|
||||||
final long sp = (long) (Rnd.get(fishingData.getSpRateMin(), fishingData.getSpRateMax()) * lvlModifier);
|
final long sp = (long) (Rnd.get(fishingData.getSpRateMin(), fishingData.getSpRateMax()) * lvlModifier * _player.getStat().getValue(Stats.FISHING_EXP_SP_BONUS, 1));
|
||||||
_player.addExpAndSp(xp, sp, true);
|
_player.addExpAndSp(xp, sp, true);
|
||||||
_player.getInventory().addItem("Fishing Reward", fishingCatchData.getItemId(), 1, _player, null);
|
_player.getInventory().addItem("Fishing Reward", fishingCatchData.getItemId(), 1, _player, null);
|
||||||
final SystemMessage msg = new SystemMessage(SystemMessageId.YOU_HAVE_EARNED_S1);
|
final SystemMessage msg = new SystemMessage(SystemMessageId.YOU_HAVE_EARNED_S1);
|
||||||
|
@ -22,7 +22,7 @@ import org.l2jmobius.gameserver.model.stats.Stats;
|
|||||||
/**
|
/**
|
||||||
* @author Mobius
|
* @author Mobius
|
||||||
*/
|
*/
|
||||||
public class FishingExpSpBonus extends AbstractStatEffect
|
public class FishingExpSpBonus extends AbstractStatPercentEffect
|
||||||
{
|
{
|
||||||
public FishingExpSpBonus(StatsSet params)
|
public FishingExpSpBonus(StatsSet params)
|
||||||
{
|
{
|
||||||
|
@ -36,6 +36,7 @@ import org.l2jmobius.gameserver.model.interfaces.ILocational;
|
|||||||
import org.l2jmobius.gameserver.model.itemcontainer.Inventory;
|
import org.l2jmobius.gameserver.model.itemcontainer.Inventory;
|
||||||
import org.l2jmobius.gameserver.model.items.instance.ItemInstance;
|
import org.l2jmobius.gameserver.model.items.instance.ItemInstance;
|
||||||
import org.l2jmobius.gameserver.model.items.type.WeaponType;
|
import org.l2jmobius.gameserver.model.items.type.WeaponType;
|
||||||
|
import org.l2jmobius.gameserver.model.stats.Stats;
|
||||||
import org.l2jmobius.gameserver.model.zone.ZoneId;
|
import org.l2jmobius.gameserver.model.zone.ZoneId;
|
||||||
import org.l2jmobius.gameserver.model.zone.ZoneType;
|
import org.l2jmobius.gameserver.model.zone.ZoneType;
|
||||||
import org.l2jmobius.gameserver.model.zone.type.FishingZone;
|
import org.l2jmobius.gameserver.model.zone.type.FishingZone;
|
||||||
@ -316,8 +317,8 @@ public class Fishing
|
|||||||
{
|
{
|
||||||
final FishingData fishingData = FishingData.getInstance();
|
final FishingData fishingData = FishingData.getInstance();
|
||||||
final double lvlModifier = (Math.pow(_player.getLevel(), 2.2) * fishingCatchData.getMultiplier());
|
final double lvlModifier = (Math.pow(_player.getLevel(), 2.2) * fishingCatchData.getMultiplier());
|
||||||
final long xp = (long) (Rnd.get(fishingData.getExpRateMin(), fishingData.getExpRateMax()) * lvlModifier);
|
final long xp = (long) (Rnd.get(fishingData.getExpRateMin(), fishingData.getExpRateMax()) * lvlModifier * _player.getStat().getValue(Stats.FISHING_EXP_SP_BONUS, 1));
|
||||||
final long sp = (long) (Rnd.get(fishingData.getSpRateMin(), fishingData.getSpRateMax()) * lvlModifier);
|
final long sp = (long) (Rnd.get(fishingData.getSpRateMin(), fishingData.getSpRateMax()) * lvlModifier * _player.getStat().getValue(Stats.FISHING_EXP_SP_BONUS, 1));
|
||||||
_player.addExpAndSp(xp, sp, true);
|
_player.addExpAndSp(xp, sp, true);
|
||||||
_player.getInventory().addItem("Fishing Reward", fishingCatchData.getItemId(), 1, _player, null);
|
_player.getInventory().addItem("Fishing Reward", fishingCatchData.getItemId(), 1, _player, null);
|
||||||
final SystemMessage msg = new SystemMessage(SystemMessageId.YOU_HAVE_EARNED_S1);
|
final SystemMessage msg = new SystemMessage(SystemMessageId.YOU_HAVE_EARNED_S1);
|
||||||
|
@ -22,7 +22,7 @@ import org.l2jmobius.gameserver.model.stats.Stats;
|
|||||||
/**
|
/**
|
||||||
* @author Mobius
|
* @author Mobius
|
||||||
*/
|
*/
|
||||||
public class FishingExpSpBonus extends AbstractStatEffect
|
public class FishingExpSpBonus extends AbstractStatPercentEffect
|
||||||
{
|
{
|
||||||
public FishingExpSpBonus(StatsSet params)
|
public FishingExpSpBonus(StatsSet params)
|
||||||
{
|
{
|
||||||
|
@ -36,6 +36,7 @@ import org.l2jmobius.gameserver.model.interfaces.ILocational;
|
|||||||
import org.l2jmobius.gameserver.model.itemcontainer.Inventory;
|
import org.l2jmobius.gameserver.model.itemcontainer.Inventory;
|
||||||
import org.l2jmobius.gameserver.model.items.instance.ItemInstance;
|
import org.l2jmobius.gameserver.model.items.instance.ItemInstance;
|
||||||
import org.l2jmobius.gameserver.model.items.type.WeaponType;
|
import org.l2jmobius.gameserver.model.items.type.WeaponType;
|
||||||
|
import org.l2jmobius.gameserver.model.stats.Stats;
|
||||||
import org.l2jmobius.gameserver.model.zone.ZoneId;
|
import org.l2jmobius.gameserver.model.zone.ZoneId;
|
||||||
import org.l2jmobius.gameserver.model.zone.ZoneType;
|
import org.l2jmobius.gameserver.model.zone.ZoneType;
|
||||||
import org.l2jmobius.gameserver.model.zone.type.FishingZone;
|
import org.l2jmobius.gameserver.model.zone.type.FishingZone;
|
||||||
@ -316,8 +317,8 @@ public class Fishing
|
|||||||
{
|
{
|
||||||
final FishingData fishingData = FishingData.getInstance();
|
final FishingData fishingData = FishingData.getInstance();
|
||||||
final double lvlModifier = (Math.pow(_player.getLevel(), 2.2) * fishingCatchData.getMultiplier());
|
final double lvlModifier = (Math.pow(_player.getLevel(), 2.2) * fishingCatchData.getMultiplier());
|
||||||
final long xp = (long) (Rnd.get(fishingData.getExpRateMin(), fishingData.getExpRateMax()) * lvlModifier);
|
final long xp = (long) (Rnd.get(fishingData.getExpRateMin(), fishingData.getExpRateMax()) * lvlModifier * _player.getStat().getValue(Stats.FISHING_EXP_SP_BONUS, 1));
|
||||||
final long sp = (long) (Rnd.get(fishingData.getSpRateMin(), fishingData.getSpRateMax()) * lvlModifier);
|
final long sp = (long) (Rnd.get(fishingData.getSpRateMin(), fishingData.getSpRateMax()) * lvlModifier * _player.getStat().getValue(Stats.FISHING_EXP_SP_BONUS, 1));
|
||||||
_player.addExpAndSp(xp, sp, true);
|
_player.addExpAndSp(xp, sp, true);
|
||||||
_player.getInventory().addItem("Fishing Reward", fishingCatchData.getItemId(), 1, _player, null);
|
_player.getInventory().addItem("Fishing Reward", fishingCatchData.getItemId(), 1, _player, null);
|
||||||
final SystemMessage msg = new SystemMessage(SystemMessageId.YOU_HAVE_EARNED_S1);
|
final SystemMessage msg = new SystemMessage(SystemMessageId.YOU_HAVE_EARNED_S1);
|
||||||
|
@ -22,7 +22,7 @@ import org.l2jmobius.gameserver.model.stats.Stats;
|
|||||||
/**
|
/**
|
||||||
* @author Mobius
|
* @author Mobius
|
||||||
*/
|
*/
|
||||||
public class FishingExpSpBonus extends AbstractStatEffect
|
public class FishingExpSpBonus extends AbstractStatPercentEffect
|
||||||
{
|
{
|
||||||
public FishingExpSpBonus(StatsSet params)
|
public FishingExpSpBonus(StatsSet params)
|
||||||
{
|
{
|
||||||
|
@ -36,6 +36,7 @@ import org.l2jmobius.gameserver.model.interfaces.ILocational;
|
|||||||
import org.l2jmobius.gameserver.model.itemcontainer.Inventory;
|
import org.l2jmobius.gameserver.model.itemcontainer.Inventory;
|
||||||
import org.l2jmobius.gameserver.model.items.instance.ItemInstance;
|
import org.l2jmobius.gameserver.model.items.instance.ItemInstance;
|
||||||
import org.l2jmobius.gameserver.model.items.type.WeaponType;
|
import org.l2jmobius.gameserver.model.items.type.WeaponType;
|
||||||
|
import org.l2jmobius.gameserver.model.stats.Stats;
|
||||||
import org.l2jmobius.gameserver.model.zone.ZoneId;
|
import org.l2jmobius.gameserver.model.zone.ZoneId;
|
||||||
import org.l2jmobius.gameserver.model.zone.ZoneType;
|
import org.l2jmobius.gameserver.model.zone.ZoneType;
|
||||||
import org.l2jmobius.gameserver.model.zone.type.FishingZone;
|
import org.l2jmobius.gameserver.model.zone.type.FishingZone;
|
||||||
@ -316,8 +317,8 @@ public class Fishing
|
|||||||
{
|
{
|
||||||
final FishingData fishingData = FishingData.getInstance();
|
final FishingData fishingData = FishingData.getInstance();
|
||||||
final double lvlModifier = (Math.pow(_player.getLevel(), 2.2) * fishingCatchData.getMultiplier());
|
final double lvlModifier = (Math.pow(_player.getLevel(), 2.2) * fishingCatchData.getMultiplier());
|
||||||
final long xp = (long) (Rnd.get(fishingData.getExpRateMin(), fishingData.getExpRateMax()) * lvlModifier);
|
final long xp = (long) (Rnd.get(fishingData.getExpRateMin(), fishingData.getExpRateMax()) * lvlModifier * _player.getStat().getValue(Stats.FISHING_EXP_SP_BONUS, 1));
|
||||||
final long sp = (long) (Rnd.get(fishingData.getSpRateMin(), fishingData.getSpRateMax()) * lvlModifier);
|
final long sp = (long) (Rnd.get(fishingData.getSpRateMin(), fishingData.getSpRateMax()) * lvlModifier * _player.getStat().getValue(Stats.FISHING_EXP_SP_BONUS, 1));
|
||||||
_player.addExpAndSp(xp, sp, true);
|
_player.addExpAndSp(xp, sp, true);
|
||||||
_player.getInventory().addItem("Fishing Reward", fishingCatchData.getItemId(), 1, _player, null);
|
_player.getInventory().addItem("Fishing Reward", fishingCatchData.getItemId(), 1, _player, null);
|
||||||
final SystemMessage msg = new SystemMessage(SystemMessageId.YOU_HAVE_EARNED_S1);
|
final SystemMessage msg = new SystemMessage(SystemMessageId.YOU_HAVE_EARNED_S1);
|
||||||
|
Loading…
Reference in New Issue
Block a user