green_ooze
base_state = "green-ooze"
icon_state = "green-ooze-standing"
shadow_state = "ooze-shadow"
power = 4
speed = 5
defense = 5
health = 40
max_health = 40
base_speed = 1
abilities = list(new /Ability/EnemyAttack(), new /Ability/EnemyPoisonAttack())
New()
..()
money = rand(3, 12)
experience = 10
// we override the died proc to give enemies a chance to drop items
died()
noise('splat.wav', frequency = 0.6)
spawn(50)
respawn()
if(prob(30))
new /item/weak_health_potion(src)
if(prob(25))
new /item/weak_mana_potion(src)
if(prob(25))
new /item/sword(src)
..()
Problem description:
Hey, I am new here to BYOND and ran into a small problem with re-spawning enemies. They die, and they do indeed re-spawn but not where they died nor where they were placed on the map file. The enemies seem to re-spawn where the players re-spawn at. I am using Action-RPG-FrameWork. Any help would be greatly appreciated.
Best regards -
George
They're respawning where the players do because that's what it says they should do.