HeberPcL
[PowerOT.com.br]
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:
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
}