Fixed pet resurrection scrolls.
This commit is contained in:
parent
78d6a85773
commit
4cab8029c0
@ -53,7 +53,7 @@ public class PcBody implements ITargetTypeHandler
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!selectedTarget.isPlayer() || selectedTarget.isPet())
|
if (!selectedTarget.isPlayer() && !selectedTarget.isPet())
|
||||||
{
|
{
|
||||||
if (sendMessage)
|
if (sendMessage)
|
||||||
{
|
{
|
||||||
|
@ -53,7 +53,7 @@ public class PcBody implements ITargetTypeHandler
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!selectedTarget.isPlayer() || selectedTarget.isPet())
|
if (!selectedTarget.isPlayer() && !selectedTarget.isPet())
|
||||||
{
|
{
|
||||||
if (sendMessage)
|
if (sendMessage)
|
||||||
{
|
{
|
||||||
|
@ -1876,17 +1876,17 @@
|
|||||||
</conditions>
|
</conditions>
|
||||||
</skill>
|
</skill>
|
||||||
<skill id="22472" toLevel="1" name="Blessed Scroll of Resurrection (Pet)">
|
<skill id="22472" toLevel="1" name="Blessed Scroll of Resurrection (Pet)">
|
||||||
<!-- AUTO GENERATED SKILL -->
|
|
||||||
<icon>icon.skill0000</icon>
|
|
||||||
<operateType>A1</operateType>
|
|
||||||
<castRange>400</castRange>
|
<castRange>400</castRange>
|
||||||
<hitTime>1000</hitTime>
|
|
||||||
<effectPoint>1</effectPoint>
|
<effectPoint>1</effectPoint>
|
||||||
|
<effectRange>600</effectRange>
|
||||||
|
<hitTime>1000</hitTime>
|
||||||
|
<isMagic>2</isMagic> <!-- Static Skill -->
|
||||||
|
<itemConsumeCount>1</itemConsumeCount>
|
||||||
|
<itemConsumeId>6387</itemConsumeId> <!-- Blessed Scroll of Resurrection for Pets -->
|
||||||
|
<magicLvl>1</magicLvl>
|
||||||
|
<operateType>A1</operateType>
|
||||||
<rideState>NONE;STRIDER;WYVERN;WOLF</rideState>
|
<rideState>NONE;STRIDER;WYVERN;WOLF</rideState>
|
||||||
<magicCriticalRate>5</magicCriticalRate>
|
<magicCriticalRate>5</magicCriticalRate>
|
||||||
<effectRange>600</effectRange>
|
|
||||||
<magicLvl>1</magicLvl>
|
|
||||||
<isMagic>2</isMagic>
|
|
||||||
<coolTime>500</coolTime>
|
<coolTime>500</coolTime>
|
||||||
<targetType>PC_BODY</targetType>
|
<targetType>PC_BODY</targetType>
|
||||||
<affectScope>SINGLE</affectScope>
|
<affectScope>SINGLE</affectScope>
|
||||||
@ -1896,6 +1896,11 @@
|
|||||||
<type>PET</type>
|
<type>PET</type>
|
||||||
</condition>
|
</condition>
|
||||||
</conditions>
|
</conditions>
|
||||||
|
<effects>
|
||||||
|
<effect name="Resurrection">
|
||||||
|
<power>100</power>
|
||||||
|
</effect>
|
||||||
|
</effects>
|
||||||
</skill>
|
</skill>
|
||||||
<skill id="22473" toLevel="1" name="Agathion Pack">
|
<skill id="22473" toLevel="1" name="Agathion Pack">
|
||||||
<!-- AUTO GENERATED SKILL -->
|
<!-- AUTO GENERATED SKILL -->
|
||||||
|
@ -53,7 +53,7 @@ public class PcBody implements ITargetTypeHandler
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!selectedTarget.isPlayer() || selectedTarget.isPet())
|
if (!selectedTarget.isPlayer() && !selectedTarget.isPet())
|
||||||
{
|
{
|
||||||
if (sendMessage)
|
if (sendMessage)
|
||||||
{
|
{
|
||||||
|
@ -1876,17 +1876,17 @@
|
|||||||
</conditions>
|
</conditions>
|
||||||
</skill>
|
</skill>
|
||||||
<skill id="22472" toLevel="1" name="Blessed Scroll of Resurrection (Pet)">
|
<skill id="22472" toLevel="1" name="Blessed Scroll of Resurrection (Pet)">
|
||||||
<!-- AUTO GENERATED SKILL -->
|
|
||||||
<icon>icon.skill0000</icon>
|
|
||||||
<operateType>A1</operateType>
|
|
||||||
<castRange>400</castRange>
|
<castRange>400</castRange>
|
||||||
<hitTime>1000</hitTime>
|
|
||||||
<effectPoint>1</effectPoint>
|
<effectPoint>1</effectPoint>
|
||||||
|
<effectRange>600</effectRange>
|
||||||
|
<hitTime>1000</hitTime>
|
||||||
|
<isMagic>2</isMagic> <!-- Static Skill -->
|
||||||
|
<itemConsumeCount>1</itemConsumeCount>
|
||||||
|
<itemConsumeId>6387</itemConsumeId> <!-- Blessed Scroll of Resurrection for Pets -->
|
||||||
|
<magicLvl>1</magicLvl>
|
||||||
|
<operateType>A1</operateType>
|
||||||
<rideState>NONE;STRIDER;WYVERN;WOLF</rideState>
|
<rideState>NONE;STRIDER;WYVERN;WOLF</rideState>
|
||||||
<magicCriticalRate>5</magicCriticalRate>
|
<magicCriticalRate>5</magicCriticalRate>
|
||||||
<effectRange>600</effectRange>
|
|
||||||
<magicLvl>1</magicLvl>
|
|
||||||
<isMagic>2</isMagic>
|
|
||||||
<coolTime>500</coolTime>
|
<coolTime>500</coolTime>
|
||||||
<targetType>PC_BODY</targetType>
|
<targetType>PC_BODY</targetType>
|
||||||
<affectScope>SINGLE</affectScope>
|
<affectScope>SINGLE</affectScope>
|
||||||
@ -1896,6 +1896,11 @@
|
|||||||
<type>PET</type>
|
<type>PET</type>
|
||||||
</condition>
|
</condition>
|
||||||
</conditions>
|
</conditions>
|
||||||
|
<effects>
|
||||||
|
<effect name="Resurrection">
|
||||||
|
<power>100</power>
|
||||||
|
</effect>
|
||||||
|
</effects>
|
||||||
</skill>
|
</skill>
|
||||||
<skill id="22473" toLevel="1" name="Agathion Pack">
|
<skill id="22473" toLevel="1" name="Agathion Pack">
|
||||||
<!-- AUTO GENERATED SKILL -->
|
<!-- AUTO GENERATED SKILL -->
|
||||||
|
@ -53,7 +53,7 @@ public class PcBody implements ITargetTypeHandler
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!selectedTarget.isPlayer() || selectedTarget.isPet())
|
if (!selectedTarget.isPlayer() && !selectedTarget.isPet())
|
||||||
{
|
{
|
||||||
if (sendMessage)
|
if (sendMessage)
|
||||||
{
|
{
|
||||||
|
@ -1876,17 +1876,17 @@
|
|||||||
</conditions>
|
</conditions>
|
||||||
</skill>
|
</skill>
|
||||||
<skill id="22472" toLevel="1" name="Blessed Scroll of Resurrection (Pet)">
|
<skill id="22472" toLevel="1" name="Blessed Scroll of Resurrection (Pet)">
|
||||||
<!-- AUTO GENERATED SKILL -->
|
|
||||||
<icon>icon.skill0000</icon>
|
|
||||||
<operateType>A1</operateType>
|
|
||||||
<castRange>400</castRange>
|
<castRange>400</castRange>
|
||||||
<hitTime>1000</hitTime>
|
|
||||||
<effectPoint>1</effectPoint>
|
<effectPoint>1</effectPoint>
|
||||||
|
<effectRange>600</effectRange>
|
||||||
|
<hitTime>1000</hitTime>
|
||||||
|
<isMagic>2</isMagic> <!-- Static Skill -->
|
||||||
|
<itemConsumeCount>1</itemConsumeCount>
|
||||||
|
<itemConsumeId>6387</itemConsumeId> <!-- Blessed Scroll of Resurrection for Pets -->
|
||||||
|
<magicLvl>1</magicLvl>
|
||||||
|
<operateType>A1</operateType>
|
||||||
<rideState>NONE;STRIDER;WYVERN;WOLF</rideState>
|
<rideState>NONE;STRIDER;WYVERN;WOLF</rideState>
|
||||||
<magicCriticalRate>5</magicCriticalRate>
|
<magicCriticalRate>5</magicCriticalRate>
|
||||||
<effectRange>600</effectRange>
|
|
||||||
<magicLvl>1</magicLvl>
|
|
||||||
<isMagic>2</isMagic>
|
|
||||||
<coolTime>500</coolTime>
|
<coolTime>500</coolTime>
|
||||||
<targetType>PC_BODY</targetType>
|
<targetType>PC_BODY</targetType>
|
||||||
<affectScope>SINGLE</affectScope>
|
<affectScope>SINGLE</affectScope>
|
||||||
@ -1896,6 +1896,11 @@
|
|||||||
<type>PET</type>
|
<type>PET</type>
|
||||||
</condition>
|
</condition>
|
||||||
</conditions>
|
</conditions>
|
||||||
|
<effects>
|
||||||
|
<effect name="Resurrection">
|
||||||
|
<power>100</power>
|
||||||
|
</effect>
|
||||||
|
</effects>
|
||||||
</skill>
|
</skill>
|
||||||
<skill id="22473" toLevel="1" name="Agathion Pack">
|
<skill id="22473" toLevel="1" name="Agathion Pack">
|
||||||
<!-- AUTO GENERATED SKILL -->
|
<!-- AUTO GENERATED SKILL -->
|
||||||
|
Loading…
Reference in New Issue
Block a user