Custom scarecrows.
This commit is contained in:
parent
ce30f0010f
commit
46a97055f9
@ -29,13 +29,15 @@ import com.l2jserver.gameserver.model.actor.L2Npc;
|
|||||||
public final class Scarecrow extends AbstractNpcAI
|
public final class Scarecrow extends AbstractNpcAI
|
||||||
{
|
{
|
||||||
// NPCs
|
// NPCs
|
||||||
private static final int SCARECROW = 27457;
|
|
||||||
private static final int TRAINING_DUMMY = 19546;
|
private static final int TRAINING_DUMMY = 19546;
|
||||||
|
private static final int SCARECROW = 27457;
|
||||||
|
private static final int PHYSICAL_PUNCH_MACHINE = 33752;
|
||||||
|
private static final int MAGICAL_PUNCH_MACHINE = 33753;
|
||||||
|
|
||||||
private Scarecrow()
|
private Scarecrow()
|
||||||
{
|
{
|
||||||
super(Scarecrow.class.getSimpleName(), "ai");
|
super(Scarecrow.class.getSimpleName(), "ai");
|
||||||
addSpawnId(SCARECROW, TRAINING_DUMMY);
|
addSpawnId(TRAINING_DUMMY, SCARECROW, PHYSICAL_PUNCH_MACHINE, MAGICAL_PUNCH_MACHINE);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
12
trunk/dist/game/data/stats/npcs/33700-33799.xml
vendored
12
trunk/dist/game/data/stats/npcs/33700-33799.xml
vendored
@ -1351,10 +1351,10 @@
|
|||||||
<height normal="40" />
|
<height normal="40" />
|
||||||
</collision>
|
</collision>
|
||||||
</npc>
|
</npc>
|
||||||
<npc id="33752" level="85" type="L2Npc" name="Physical Punch Machine">
|
<npc id="33752" level="85" type="L2Monster" name="Physical Punch Machine">
|
||||||
<!-- Source http://l2i-god.gaikotsu.ru/ (Lindvior) -->
|
<!-- Source http://l2i-god.gaikotsu.ru/ (Lindvior) -->
|
||||||
<race>ETC</race>
|
<race>ETC</race>
|
||||||
<stats> <!-- str="88" int="79" dex="55" wit="78" con="82" men="78" -->
|
<stats>
|
||||||
<vitals hp="1730000000" hpRegen="7.5" mp="1730000000" mpRegen="2.7" />
|
<vitals hp="1730000000" hpRegen="7.5" mp="1730000000" mpRegen="2.7" />
|
||||||
<attack physical="4900" magical="2550" random="30" critical="4" accuracy="4.75" attackSpeed="253" type="SWORD" range="40" distance="80" width="120" />
|
<attack physical="4900" magical="2550" random="30" critical="4" accuracy="4.75" attackSpeed="253" type="SWORD" range="40" distance="80" width="120" />
|
||||||
<defence physical="3840" magical="825" />
|
<defence physical="3840" magical="825" />
|
||||||
@ -1367,16 +1367,16 @@
|
|||||||
</speed>
|
</speed>
|
||||||
<hitTime>500</hitTime>
|
<hitTime>500</hitTime>
|
||||||
</stats>
|
</stats>
|
||||||
<status attackable="false" />
|
<status attackable="true" targetable="true" talkable="false" undying="true" /> <!-- Custom -->
|
||||||
<collision>
|
<collision>
|
||||||
<radius normal="13" />
|
<radius normal="13" />
|
||||||
<height normal="30" />
|
<height normal="30" />
|
||||||
</collision>
|
</collision>
|
||||||
</npc>
|
</npc>
|
||||||
<npc id="33753" level="85" type="L2Npc" name="Magical Punch Machine">
|
<npc id="33753" level="85" type="L2Monster" name="Magical Punch Machine">
|
||||||
<!-- Source http://l2i-god.gaikotsu.ru/ (Lindvior) -->
|
<!-- Source http://l2i-god.gaikotsu.ru/ (Lindvior) -->
|
||||||
<race>ETC</race>
|
<race>ETC</race>
|
||||||
<stats> <!-- str="88" int="79" dex="55" wit="78" con="82" men="78" -->
|
<stats>
|
||||||
<vitals hp="1730000000" hpRegen="7.5" mp="1730000000" mpRegen="2.7" />
|
<vitals hp="1730000000" hpRegen="7.5" mp="1730000000" mpRegen="2.7" />
|
||||||
<attack physical="4900" magical="2550" random="30" critical="4" accuracy="4.75" attackSpeed="253" type="SWORD" range="40" distance="80" width="120" />
|
<attack physical="4900" magical="2550" random="30" critical="4" accuracy="4.75" attackSpeed="253" type="SWORD" range="40" distance="80" width="120" />
|
||||||
<defence physical="3840" magical="825" />
|
<defence physical="3840" magical="825" />
|
||||||
@ -1389,7 +1389,7 @@
|
|||||||
</speed>
|
</speed>
|
||||||
<hitTime>500</hitTime>
|
<hitTime>500</hitTime>
|
||||||
</stats>
|
</stats>
|
||||||
<status attackable="false" />
|
<status attackable="true" targetable="true" talkable="false" undying="true" /> <!-- Custom -->
|
||||||
<collision>
|
<collision>
|
||||||
<radius normal="13" />
|
<radius normal="13" />
|
||||||
<height normal="30" />
|
<height normal="30" />
|
||||||
|
Loading…
Reference in New Issue
Block a user