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

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

@@ -80,11 +80,9 @@
</skill>
<skill id="17114" toLevel="1" name="Promise Cube">
<operateType>A1</operateType>
<reuseDelay>-1000</reuseDelay>
</skill>
<skill id="17115" toLevel="1" name="Promise Cube Skill">
<operateType>A1</operateType>
<reuseDelay>-1000</reuseDelay>
</skill>
<skill id="17116" toLevel="1" name="Promise Cube Pack">
<operateType>A1</operateType>
@@ -110,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>
@@ -131,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>
@@ -152,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>
@@ -364,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... For 2 minutes, P. Atk. / M. Atk. / Atk. Spd. / Casting Spd. x 2. Effect disappears upon logout. -->
@@ -1083,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

@@ -133,6 +133,7 @@
<isMagic>2</isMagic> <!-- Static Skill -->
<magicLvl>1</magicLvl>
<operateType>A1</operateType>
<reuseDelay>500</reuseDelay>
<magicCriticalRate>5</magicCriticalRate>
<hitCancelTime>0</hitCancelTime>
<targetType>SELF</targetType>
@@ -150,6 +151,7 @@
<isMagic>2</isMagic> <!-- Static Skill -->
<magicLvl>1</magicLvl>
<operateType>A1</operateType>
<reuseDelay>500</reuseDelay>
<magicCriticalRate>5</magicCriticalRate>
<hitCancelTime>0</hitCancelTime>
<targetType>SELF</targetType>
@@ -167,6 +169,7 @@
<isMagic>2</isMagic> <!-- Static Skill -->
<magicLvl>1</magicLvl>
<operateType>A1</operateType>
<reuseDelay>500</reuseDelay>
<magicCriticalRate>5</magicCriticalRate>
<hitCancelTime>0</hitCancelTime>
<targetType>SELF</targetType>
@@ -184,6 +187,7 @@
<isMagic>2</isMagic> <!-- Static Skill -->
<magicLvl>1</magicLvl>
<operateType>A1</operateType>
<reuseDelay>500</reuseDelay>
<magicCriticalRate>5</magicCriticalRate>
<hitCancelTime>0</hitCancelTime>
<targetType>SELF</targetType>
@@ -197,10 +201,13 @@
<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>
<targetType>SELF</targetType>
@@ -664,7 +671,6 @@
<!-- Teleports you to Talking Island Village. -->
<itemConsumeId>39553</itemConsumeId> <!-- Minstrel's Scroll of Escape: Talking Island -->
<itemConsumeCount>1</itemConsumeCount>
<icon>icon.skill0000</icon>
<operateType>A1</operateType>
<targetType>SELF</targetType>
<affectScope>SINGLE</affectScope>
@@ -693,7 +699,6 @@
<value level="1">39554</value> <!-- Bard's Scroll of Escape - Hunter's Village -->
</itemConsumeId>
<itemConsumeCount>1</itemConsumeCount>
<icon>icon.skill0000</icon>
<operateType>A1</operateType>
<targetType>SELF</targetType>
<affectScope>SINGLE</affectScope>
@@ -722,7 +727,6 @@
<value level="1">39555</value> <!-- Minstrel's Scroll of Escape: Magmeld -->
</itemConsumeId>
<itemConsumeCount>1</itemConsumeCount>
<icon>icon.skill0000</icon>
<operateType>A1</operateType>
<targetType>SELF</targetType>
<affectScope>SINGLE</affectScope>