• 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!

Lua create monsters with skulls

Garuh066

New Member
Joined
Apr 11, 2013
Messages
19
Reaction score
1
it's possible make one or more scripts what...

...
...
example


spawned 10 rats
(in one and one rat)
random (0,100)
if random == 1 and the rat no have skull (skull none) then
rat change the not skull to white skull
add +% health
if random == 2 and the rat no have skull (skull none) then
rat change the not skull to red skull
add +% health
add + 1 item drop
change name (rat to.. am.. ratattue... xD!)
else
nothing happens
end


it's possible?

rep++ and my thx

(EPIC SORRY FOR MY BAD ENGLISH)
 
Last edited:
ok... let me see...


10 rat respawn... (normal rats nothing more)
....
1 or 2 or xx rats have X skull (white green...)
if have skull
the rat now gives the 5 exp to 10exp (example)... increases 100% the exp...
the rat now have 30 hp (example)... increases 50% life
the rat now change the name from "rat" to... to... "the rat" (example... xD!)


this is possible?... and how?
 
Last edited:
You can just make more rat monster files with different name/hp/exp.
For the skull you can add
XML:
<flag skull="3" />
Type of skulls you can choose
LUA:
SKULL_YELLOW = 1
SKULL_GREEN = 2
SKULL_WHITE = 3
SKULL_RED = 4
SKULL_BLACK = 5
 
Almost, but not looking for that
A clear example of what I'm looking for is the "Sex System" of pokemon, when the monster spawn already have a icon of male or female
 
Back
Top