A
Axiom
Guest
Hey, so I built this quest for Novices where they kill a specific kind of Poring that spawns regularly around town. My first approach was to only have the mobs spawn upon activating the quest like so:
monster prontera,0,0,"Pesky Poring",1002,20,"Sari#Elmina::OnPeskyDeath";
The embedded behavior is to keep track of how many have been killed using a variable. This approach is problematic though, firstly because spawns are at a set number and if any other player kills the marks, whoever is performing the quest is screwed. Instead, I planned on making the Porings spawn automatically like so:
prontera,0,0,0,0 monster Pesky Poring 1002,30,0,0,0,"Sari#Elmina::OnPeskyDeath";
... I'm actually not sure it's possible to embed a behavior into naturally spawning mobs. Is there a better way to handle this, or did I not format this behavior properly?
monster prontera,0,0,"Pesky Poring",1002,20,"Sari#Elmina::OnPeskyDeath";
The embedded behavior is to keep track of how many have been killed using a variable. This approach is problematic though, firstly because spawns are at a set number and if any other player kills the marks, whoever is performing the quest is screwed. Instead, I planned on making the Porings spawn automatically like so:
prontera,0,0,0,0 monster Pesky Poring 1002,30,0,0,0,"Sari#Elmina::OnPeskyDeath";
... I'm actually not sure it's possible to embed a behavior into naturally spawning mobs. Is there a better way to handle this, or did I not format this behavior properly?