protected override void Die(float dt) {
List<Player> players = GetPlayers();
foreach (Player pl in players) {
if (DistanceTo(pl.Position) < 800) {
pl.AccState.Gold += 130;
}
}
if (Parent.Tag == Tags.Server)
if (CCRandom.NextDouble() >= 0.5f) {
(Parent as GameLayer).AddEntity(new HealPot(Util.GetUniqueId()) {Position = Position});
}
base.Die(dt);
}
}