Jump to content

Quests, Games: [AI] Mobspawn


Recommended Posts


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  130
  • Reputation:   43
  • Joined:  12/11/11
  • Last Seen:  

File Name: [AI] Mobspawn

File Submitter: plankt

File Submitted: 26 Dec 2011

File Category: Games, Events, Quests

[AI] Monster Invasion Event

The monster invasion which will change difficulty depending on how well the players are doing!

Description:

This script will allow the users to go through a monster invasion event in three stages, helping a poor Banquet Houseman who can't finish his job. The monsters spawned are first determined by the level of the character, and then adjusted depending on how difficult it was for him/her.

The player has 10 minutes to clear the three stages. If the player runs out of time, the HP is decreased for the spawned monsters, if the player finishes it in under 5 minutes, the HP is increased for the spawned monsters.

If the player dies a lot of HP during the event, the damage is decreased for the spawned monsters and likewise if the player don't get hurt that much, the damage is increased.

It will search for monsters in the table `mob_db` so if you don't want it to find custom mobs, add them to `mob_db2`.

It will only find monsters who match these criteria:

  • Attack is above 1 and matches the difficulty
  • HP is above 1 and matches the difficulty
  • DEF and MDEF is below the users level
  • The monster can move and attack

Requirements:

This script uses the queue system found here. You need to download and add it.

You need to set up the config at the top of the script.

Settings in the script:

  • Name of NPC
  • Which queue number it should have (leave this as 1 if you're unsure)
  • What map the event should use, make sure it's an empty map
  • Where the player enters the map
  • If donators/GMs should have priority in the queue system

Prize:

The script will look up the 100 rarest items owned by players on your server and give one of those.

It determines the rarity by how many is owned overall by the players.

Click here to download this file

  • Upvote 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...