Addition of BonusRaidPoints effect handler.
This commit is contained in:
@@ -70,6 +70,7 @@ public class EffectMasterHandler
|
||||
EffectHandler.getInstance().registerHandler("BonusDropAdena", BonusDropAdena::new);
|
||||
EffectHandler.getInstance().registerHandler("BonusDropAmount", BonusDropAmount::new);
|
||||
EffectHandler.getInstance().registerHandler("BonusDropRate", BonusDropRate::new);
|
||||
EffectHandler.getInstance().registerHandler("BonusRaidPoints", BonusRaidPoints::new);
|
||||
EffectHandler.getInstance().registerHandler("BonusSpoilRate", BonusSpoilRate::new);
|
||||
EffectHandler.getInstance().registerHandler("Breath", Breath::new);
|
||||
EffectHandler.getInstance().registerHandler("BuffBlock", BuffBlock::new);
|
||||
|
||||
31
L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/handlers/effecthandlers/BonusRaidPoints.java
vendored
Normal file
31
L2J_Mobius_8.2_Homunculus/dist/game/data/scripts/handlers/effecthandlers/BonusRaidPoints.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 BonusRaidPoints extends AbstractStatPercentEffect
|
||||
{
|
||||
public BonusRaidPoints(StatSet params)
|
||||
{
|
||||
super(params, Stat.BONUS_RAID_POINTS);
|
||||
}
|
||||
}
|
||||
@@ -34,6 +34,10 @@
|
||||
<set name="weight" val="10" />
|
||||
<set name="is_sellable" val="false" />
|
||||
<set name="is_stackable" val="true" />
|
||||
<set name="handler" val="ExtractableItems" />
|
||||
<capsuled_items>
|
||||
<item id="48304" min="1" max="1" chance="100" /> <!-- Resolute Raid Point Rune -->
|
||||
</capsuled_items>
|
||||
</item>
|
||||
<item id="48304" name="Resolute Raid Point Rune" additionalName="2-hour" type="EtcItem">
|
||||
<!-- Having it in the inventory increases Raid Points gained by 100%. -->
|
||||
@@ -42,6 +46,11 @@
|
||||
<set name="is_tradable" val="false" />
|
||||
<set name="is_dropable" val="false" />
|
||||
<set name="is_sellable" val="false" />
|
||||
<set name="etcitem_type" val="ENCHT_ATTR_RUNE" />
|
||||
<set name="time" val="120" />
|
||||
<skills>
|
||||
<skill id="39177" level="1" /> <!-- Resolute Raid Point Rune -->
|
||||
</skills>
|
||||
</item>
|
||||
<item id="48305" name="Blessed Antharas' Earring - Shield" additionalName="30-day" type="Armor">
|
||||
<!-- MP +59, P./ M. Def. +15%, CON/ MEN +3, Earth/ Holy Resistance +30, Infection Resistance/ Atk. Rate +50%, Confusion Resistance/ Atk. Rate +40%, Received Healing +10%, Skill MP Consumption -5%, Vampiric Rage effect +4%. Active skill: Removes Stun debuffs and grants immunity to Confusion for 5 sec. Effects of two identical earrings do not stack. <Special effect>. P. Def. +4% -->
|
||||
|
||||
@@ -203,6 +203,13 @@
|
||||
<!-- When in inventory, Acquired RP +100%. -->
|
||||
<icon>icon.etc_i.etc_rp_point_i00</icon>
|
||||
<operateType>P</operateType>
|
||||
<magicCriticalRate>5</magicCriticalRate>
|
||||
<magicLevel>1</magicLevel>
|
||||
<effects>
|
||||
<effect name="BonusRaidPoints">
|
||||
<amount>100</amount>
|
||||
</effect>
|
||||
</effects>
|
||||
</skill>
|
||||
<skill id="39178" toLevel="1" name="Resolute Attack Scroll">
|
||||
<!-- For $s1, clan members' P. Atk./ M. Atk. +$s2, P. Skill Power/ M. Skill Power +$s3, acquired XP/ SP +$s4. -->
|
||||
|
||||
@@ -40,6 +40,7 @@ Bluff: Rotates the target so you face its back.
|
||||
BonusDropAdena: Bonus amount for dropped adena. (l2jmobius)
|
||||
BonusDropAmount: Bonus amount for dropped items. (l2jmobius)
|
||||
BonusDropRate: Bonus chance for dropping items. (l2jmobius)
|
||||
BonusRaidPoints: Bonus amount for raid points. (l2jmobius)
|
||||
BonusSpoilRate: Bonus chance for acquiring spoil items. (l2jmobius)
|
||||
Breath: Underwater breathing stat.
|
||||
BuffBlock: Blocks target from receiving buffs.
|
||||
|
||||
Reference in New Issue
Block a user