Difference between revisions of "Mob Once Spawn"

From Hercules Wiki
Jump to: navigation, search
(Created page with "== Mob Spawn == int mob_once_spawn (struct map_session_data *sd, char *mapname, short x, short y, const char *mobname, int class_, int amount, const char *event) mob_once_s...")
 

Latest revision as of 03:16, 13 January 2013

Mob Spawn

int mob_once_spawn (struct map_session_data *sd, char *mapname, short x, short y, const char *mobname, int class_, int amount, const char *event)
mob_once_spawn(sd,"mapname", x, y, "Name", mob_class, Count, "Event");
  • "mapname" = Map Name ("this" is actual map)
  • X and Y = Map coordenates
  • "Name" = Name that will show
    • "--ja--" Will show the name in collumn "Japanese" in mob_db
    • "--en--" Will show the name in collumn "English" in mob_db
    • status_get_name(src) Will show character name
  • mob_class = Mob ID
  • Count = Amount to be spawned
  • Event = Event that will start On Mob Death