Addition of ShotsBonus effect.
This commit is contained in:
		@@ -307,6 +307,7 @@ public class EffectMasterHandler
 | 
			
		||||
		EffectHandler.getInstance().registerHandler("SetSkill", SetSkill::new);
 | 
			
		||||
		EffectHandler.getInstance().registerHandler("ShieldDefence", ShieldDefence::new);
 | 
			
		||||
		EffectHandler.getInstance().registerHandler("ShieldDefenceRate", ShieldDefenceRate::new);
 | 
			
		||||
		EffectHandler.getInstance().registerHandler("ShotsBonus", ShotsBonus::new);
 | 
			
		||||
		EffectHandler.getInstance().registerHandler("SilentMove", SilentMove::new);
 | 
			
		||||
		EffectHandler.getInstance().registerHandler("SkillCritical", SkillCritical::new);
 | 
			
		||||
		EffectHandler.getInstance().registerHandler("SkillCriticalDamage", SkillCriticalDamage::new);
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										31
									
								
								L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/effecthandlers/ShotsBonus.java
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										31
									
								
								L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/effecthandlers/ShotsBonus.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.StatSet;
 | 
			
		||||
import org.l2jmobius.gameserver.model.stats.Stat;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * @author Mobius
 | 
			
		||||
 */
 | 
			
		||||
public class ShotsBonus extends AbstractStatEffect
 | 
			
		||||
{
 | 
			
		||||
	public ShotsBonus(StatSet params)
 | 
			
		||||
	{
 | 
			
		||||
		super(params, Stat.SHOTS_BONUS);
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
@@ -276,6 +276,7 @@ SetHp: Sets current HP to the given amount.
 | 
			
		||||
SetSkill: Adds a skill to the Player and saves it in the database.
 | 
			
		||||
ShieldDefence: Shield P. Def stat.
 | 
			
		||||
ShieldDefenceRate: Shield block success rate stat.
 | 
			
		||||
ShotsBonus: Additional shot damage bonus. (l2jmobius)
 | 
			
		||||
SilentMove: Prevents aggressive mobs from attacking you when entering aggression range.
 | 
			
		||||
SkillCritical: Activates double debuff or cooldown reset critical based on the specified stat.
 | 
			
		||||
SkillCriticalDamage: Skill critical damage stat.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user