• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Sumon Monsters

HeberPcL

[PowerOT.com.br]
Joined
Aug 21, 2007
Messages
1,294
Reaction score
54
Location
Brazil
GitHub
heberpcl
I was needing a function to sumon monsters.

Requirements:
1 - Limit amount of sumons in showrooms.
2 - Sumons in an area with different floors. (z = 7, z = 6, z = 5)
3 - Limit of monsters in total.
4 - Remove all monsters that are in that area.
5 - Teleport all players who are in the area for your church.


Exemplo:

PHP:
config {
maxAllMonsters = 30,
-- Monsters
[Rat] | maxsummons = 10,
[CavRat] | maxsummons = 5
}
 
Back
Top