mirror of
https://github.com/raphaelcheung/zircon-legend-server.git
synced 2026-10-29 14:10:22 +08:00
33 lines
718 B
C#
33 lines
718 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using Library;
|
|
using Server.Envir;
|
|
|
|
namespace Zircon.Server.Models.Monsters
|
|
{
|
|
class MonasteryBoss : PinkBat
|
|
{
|
|
private bool HasDied;
|
|
|
|
public override void Die()
|
|
{
|
|
base.Die();
|
|
|
|
if (HasDied) return;
|
|
|
|
HasDied = true;
|
|
|
|
SpawnMinions(1, 0, null); // 1 in 15 to spawn two.
|
|
}
|
|
|
|
public override void RangeAttack()
|
|
{
|
|
if (Functions.InRange(Target.CurrentLocation, CurrentLocation, Globals.MagicRange))
|
|
AttackMagic(MagicType.GreenSludgeBall, Element.Wind, true);
|
|
}
|
|
}
|
|
}
|