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

Solved Line for adding skull to a npc/monster

Mjmackan

Mapper ~ Writer
Joined
Jul 18, 2009
Messages
1,477
Solutions
18
Reaction score
195
Location
Sweden
Hello as the topic says, whats the simple line for adding a skull to a npc or monster?

Regards,
Mjmackan.
 
I the above does not work use this:
Code:
    <flags>
        <flag skull="5"/>
    </flags>

5 is a black skull. Play around with the number, I dont know them
 
There is also the xml version for 1.0
Code:
enum Skulls_t : uint8_t {
    SKULL_NONE = 0,
    SKULL_YELLOW = 1,
    SKULL_GREEN = 2,
    SKULL_WHITE = 3,
    SKULL_RED = 4,
    SKULL_BLACK = 5,
    SKULL_ORANGE = 6,
    SKULL_LAST = SKULL_ORANGE
};

For monster:
Code:
<monster name="Bear" namedescription="a bear" race="blood" experience="23" speed="145" manacost="300" skull="1">

For npc:
Code:
<npc name="Alice" script="bless.lua" walkinterval="2000" floorchange="0" skull="1">
 
Last edited:
You can use the color names aswell instead the numeric, just in case you dont remember them. So instead of skull="1" you can set skull="yellow" for exemple, as @Colors said.
 
Back
Top