Fixed auto HP potions.

Contributed by gamelike85.
This commit is contained in:
MobiusDevelopment
2019-11-01 19:42:29 +00:00
parent 299cbfaed7
commit de2a8d5d05
74 changed files with 637 additions and 68 deletions

View File

@@ -1688,9 +1688,15 @@
<set name="is_sellable" val="false" />
<set name="is_commissionable" val="false" />
<set name="is_freightable" val="true" />
<set name="etcitem_type" val="POTION" />
<set name="is_stackable" val="true" />
<set name="default_action" val="SKILL_REDUCE" />
<set name="immediate_effect" val="true"/>
<set name="etcitem_type" val="POTION"/>
<set name="commissionItemType" val="POTION"/>
<set name="handler" val="ItemSkills"/>
<skills>
<skill id="17153" level="1"/> <!-- Heavenly Recovery Potion -->
</skills>
</item>
<item id="37672" name="Mysterious Friend Summon Bracelet" additionalName="30-day" type="Armor">
<!-- Bracelet that can summon another character. The summoning character and the summoned character must both be equipped with it and in the same party. 30-day. Cooldown is 60 min. Cannot be used in the Olympiad. Cannot be shared within the same account through the Dimensional Merchant. -->

View File

@@ -980,6 +980,13 @@
<set name="icon" val="icon.bm_grankain_potion" />
<set name="immediate_effect" val="true" />
<set name="is_stackable" val="true" />
<set name="immediate_effect" val="true"/>
<set name="etcitem_type" val="POTION"/>
<set name="commissionItemType" val="POTION"/>
<set name="handler" val="ItemSkills"/>
<skills>
<skill id="18670" level="1"/> <!-- Gran Kain's Miraculous Medicine -->
</skills>
</item>
<item id="47579" name="Christmas Party Herb" type="EtcItem">
<!-- Christmas Party Herb. P. Atk./ M. Atk./ P. Def./ M. Def. are increased by 50%, and you are turned into Santa for 2 min. Effect disappears when restarted. -->

View File

@@ -1271,6 +1271,13 @@
<set name="is_dropable" val="false" />
<set name="is_depositable" val="false" />
<set name="is_stackable" val="true" />
<set name="immediate_effect" val="true"/>
<set name="etcitem_type" val="POTION"/>
<set name="commissionItemType" val="POTION"/>
<set name="handler" val="ItemSkills"/>
<skills>
<skill id="39174" level="1"/> <!-- Valor Recovery Potion Lv1 -->
</skills>
</item>
<item id="48285" name="Scroll: PK" type="EtcItem">
<!-- Double-click to lower PK value by 1. Your PK value has to be at least 1. Cannot be used when the Demonic Sword Zariche or the Blood Sword Akamanah is in possession. -->

View File

@@ -244,7 +244,7 @@
<set name="is_sellable" val="false" />
<set name="is_stackable" val="true" />
</item>
<item id="48623" name="Warrior's Ring" additionalName="30-day" type="Armor">
<item id="48623" name="Hero's Ring" additionalName="30-day" type="Armor">
<!-- A ring purchased with the Marks of Battle. Max MP +33, Max CP +10%, Stun/ Paralysis/ Knock Back/ Knock Down Success Rate and Resistance +15%, Standard/ P. Atk./ M. Atk. Critical Damage +15%, and Atk. Spd./ Casting Spd. +5%. These effects do not stack with identical rings. -->
<set name="icon" val="icon.accessory_ring_of_hero_i01" />
<set name="default_action" val="EQUIP" />
@@ -263,14 +263,21 @@
<stat type="maxMp">33</stat>
</stats>
</item>
<item id="48624" name="Warrior's Miracle Cure" type="EtcItem">
<!-- Warrior's Miracle Cure purchased with the Marks of Battle. When used, it restores HP by 7000, and the remaining power restores CP. Can be used even in Mesmerized state. Cannot be used in Olympiad. -->
<item id="48624" name="Hero's Miracle Cure" type="EtcItem">
<!-- Heros's Miracle Cure purchased with the Marks of Battle. When used, it restores HP by 7000, and the remaining power restores CP. Can be used even in Mesmerized state. Cannot be used in Olympiad. -->
<set name="icon" val="icon.pvp_battle_quick_healing_potion2" />
<set name="default_action" val="SKILL_REDUCE" />
<set name="material" val="PAPER" />
<set name="is_stackable" val="true" />
<set name="immediate_effect" val="true"/>
<set name="etcitem_type" val="POTION"/>
<set name="commissionItemType" val="POTION"/>
<set name="handler" val="ItemSkills"/>
<skills>
<skill id="17263" level="1"/> <!-- Hero's Quick Healing Potion -->
</skills>
</item>
<item id="48625" name="Warrior's Rune Box (1-hour)" type="EtcItem">
<item id="48625" name="Hero's Rune Box (1-hour)" type="EtcItem">
<!-- A box containing the Warrior's Rune (1-hour) purchased with the Marks of Battle. Double-click to obtain the Warrior's Rune (1-hour) that increases XP/ SP by 20%. -->
<set name="icon" val="BranchSys3.icon.g_cash_fortuna_box_r" />
<set name="default_action" val="PEEL" />
@@ -279,7 +286,7 @@
<set name="weight" val="10" />
<set name="is_stackable" val="true" />
</item>
<item id="48626" name="Warrior's Rune" additionalName="1-hour" type="EtcItem">
<item id="48626" name="Hero's Rune" additionalName="1-hour" type="EtcItem">
<!-- Warrior's Rune purchased with the Mark of Battle. If stored in the inventory, increases Hunting Acquired XP/ SP by 20%. -->
<set name="icon" val="icon.bm_freya_bloody_rune" />
<set name="material" val="PAPER" />

View File

@@ -562,6 +562,8 @@
<operateType>A1</operateType>
<magicCriticalRate>5</magicCriticalRate>
<hitCancelTime>0</hitCancelTime>
<itemConsumeId>35930</itemConsumeId>
<itemConsumeCount>1</itemConsumeCount>
<magicLvl>1</magicLvl>
<isMagic>2</isMagic>
<targetType>SELF</targetType>

View File

@@ -359,6 +359,19 @@
</skill>
<skill id="17153" toLevel="1" name="Heavenly Recovery Potion">
<operateType>A1</operateType>
<isMagic>2</isMagic> <!-- Static Skill -->
<magicLvl>1</magicLvl>
<itemConsumeId>37671</itemConsumeId>
<itemConsumeCount>1</itemConsumeCount>
<magicCriticalRate>5</magicCriticalRate>
<hitCancelTime>0</hitCancelTime>
<targetType>SELF</targetType>
<affectScope>SINGLE</affectScope>
<effects>
<effect name="HpCpHeal">
<power>2500</power>
</effect>
</effects>
</skill>
<skill id="17154" toLevel="1" name="Love Potion">
<!-- A strange sensation fogs your brain. Your heart is racing. Your weapon seems to be changing shape. Is that a lady orc? Her muscles are mesmerizing...\nFor 2 min., P. Atk./ M. Atk./ Atk. Spd./ Casting Spd. x 2. Effect disappears upon logout. -->
@@ -1078,7 +1091,7 @@
<effect name="MagicMpCost">
<amount>-10</amount>
<mode>PER</mode>
<magicType>22</magicType>
<magicType>2</magicType>
</effect>
</effects>
</skill>

View File

@@ -421,6 +421,19 @@
</skill>
<skill id="17263" toLevel="1" name="Warrior's Quick Healing Potion">
<operateType>A1</operateType>
<isMagic>2</isMagic> <!-- Static Skill -->
<magicLvl>1</magicLvl>
<itemConsumeId>48624</itemConsumeId>
<itemConsumeCount>1</itemConsumeCount>
<magicCriticalRate>5</magicCriticalRate>
<hitCancelTime>0</hitCancelTime>
<targetType>SELF</targetType>
<affectScope>SINGLE</affectScope>
<effects>
<effect name="HpCpHeal">
<power>7000</power>
</effect>
</effects>
</skill>
<skill id="17264" toLevel="1" name="Scroll of Escape: Hellbound">
<!-- Scroll to teleport to Hellbound. -->

View File

@@ -201,10 +201,12 @@
<skill id="17913" toLevel="1" name="Supreme Windy Quick Healing Potion">
<!-- Restores 5000 HP and restores CP with remaining power. No duration. -->
<icon>icon.etc_potion_gold_i00</icon>
<operateType>A1</operateType>
<blockedInOlympiad>true</blockedInOlympiad>
<isMagic>2</isMagic> <!-- Static Skill -->
<magicLvl>1</magicLvl>
<operateType>A1</operateType>
<itemConsumeId>37894</itemConsumeId>
<itemConsumeCount>1</itemConsumeCount>
<reuseDelay>500</reuseDelay>
<magicCriticalRate>5</magicCriticalRate>
<hitCancelTime>0</hitCancelTime>

View File

@@ -1491,6 +1491,19 @@
</skill>
<skill id="18670" toLevel="1" name="Gran Kain's Miraculous Medicine">
<operateType>A1</operateType>
<isMagic>2</isMagic> <!-- Static Skill -->
<magicLvl>1</magicLvl>
<itemConsumeId>47578</itemConsumeId>
<itemConsumeCount>1</itemConsumeCount>
<magicCriticalRate>5</magicCriticalRate>
<hitCancelTime>0</hitCancelTime>
<targetType>SELF</targetType>
<affectScope>SINGLE</affectScope>
<effects>
<effect name="Hp">
<power>7000</power>
</effect>
</effects>
</skill>
<skill id="18671" toLevel="1" name="Prophecy of Might - PA exclusive">
<!-- For 60 min., Standard and Skill Attack Critical Rate and Damage +25%. PA exclusive skill. -->

View File

@@ -130,6 +130,19 @@
</skill>
<skill id="39174" toLevel="1" name="Valor Recovery Potion">
<operateType>A1</operateType>
<isMagic>2</isMagic> <!-- Static Skill -->
<magicLvl>1</magicLvl>
<itemConsumeId>48284</itemConsumeId>
<itemConsumeCount>1</itemConsumeCount>
<magicCriticalRate>5</magicCriticalRate>
<hitCancelTime>0</hitCancelTime>
<targetType>SELF</targetType>
<affectScope>SINGLE</affectScope>
<effects>
<effect name="HpCpHeal">
<power>5000</power>
</effect>
</effects>
</skill>
<skill id="39175" toLevel="1" name="Scroll: PK">
<operateType>A1</operateType>