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 minutes. 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 minutes. Effect disappears when restarted. -->

View File

@@ -1266,6 +1266,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

@@ -36,8 +36,18 @@
<!-- Enchant scroll exclusively for Angel and Dragon accessories. The scroll can enchant an accessory up to +10.. <Warning>. The Angel Accessory may fail to enchant starting from +1, and it will be destroyed if it fails. -->
<set name="icon" val="icon.scrl_of_ench_acc" />
<set name="default_action" val="SKILL_REDUCE" />
<set name="etcitem_type" val="ENCHT_AM" />
<set name="immediate_effect" val="true" />
<set name="material" val="PAPER" />
<set name="weight" val="10" />
<set name="is_dropable" val="false" />
<set name="is_stackable" val="true" />
<set name="handler" val="EnchantScrolls" />
<set name="is_clan_depositable" val="false" />
<set name="is_mailable" val="false" />
<set name="commissionItemType" val="SCROLL_OTHER" />
<skills>
<skill id="39247" level="1" /> <!-- Scroll: Enchant Angel Accessory -->
</skills>
</item>
</list>

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

@@ -108,7 +108,6 @@
<itemConsumeId>37560</itemConsumeId> <!-- Emperor's Vitality Tonic -->
<magicLvl>1</magicLvl>
<operateType>A1</operateType>
<reuseDelay>60000</reuseDelay>
<magicCriticalRate>5</magicCriticalRate>
<specialLevel>-1</specialLevel>
<hitCancelTime>0</hitCancelTime>
@@ -129,7 +128,6 @@
<itemConsumeId>37561</itemConsumeId> <!-- Emperor's Vitality Tonic -->
<magicLvl>1</magicLvl>
<operateType>A1</operateType>
<reuseDelay>60000</reuseDelay>
<magicCriticalRate>5</magicCriticalRate>
<specialLevel>-1</specialLevel>
<hitCancelTime>0</hitCancelTime>
@@ -150,7 +148,6 @@
<itemConsumeId>37562</itemConsumeId> <!-- Emperor's Vitality Tonic -->
<magicLvl>1</magicLvl>
<operateType>A1</operateType>
<reuseDelay>60000</reuseDelay>
<magicCriticalRate>5</magicCriticalRate>
<specialLevel>-1</specialLevel>
<hitCancelTime>0</hitCancelTime>
@@ -362,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 minutes, P. Atk./ M. Atk./ Atk. Spd./ Casting Spd. x 2. Effect disappears upon logout. -->
@@ -1081,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 cooldown. -->
<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

@@ -1487,6 +1487,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 minutes, Standard and Skill Attack Critical Rate and Damage +25%. PA exclusive skill. -->

View File

@@ -128,6 +128,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>