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

[tfs 1.2] Add skull to monsters

theduck

Member
Joined
Dec 6, 2018
Messages
246
Reaction score
20
<flag skull="black"/>
[Warning - Monsters::loadMonster] Unknown flag attribute: skull.

<monster name="Amazon" nameDescription="an amazon" race="blood" experience="60" speed="180" manacost="390" skull="SKULL_YELLOW">

I tested both methods to no avail

edit



I noticed now that the skull is appearing in the battle list but not in the mob
 
Last edited:
You need to use the name of the skull, not the numerical value...
Photo version:
1580782145101.png
Code version:
Code:
SkullNames skullNames[] = {
    {"none",    SKULL_NONE},
    {"yellow",    SKULL_YELLOW},
    {"green",    SKULL_GREEN},
    {"white",    SKULL_WHITE},
    {"red",        SKULL_RED},
    {"black",    SKULL_BLACK},
    {"orange",    SKULL_ORANGE},
};
 
You need to use the name of the skull, not the numerical value...
Photo version:
View attachment 42182
Code version:
Code:
SkullNames skullNames[] = {
    {"none",    SKULL_NONE},
    {"yellow",    SKULL_YELLOW},
    {"green",    SKULL_GREEN},
    {"white",    SKULL_WHITE},
    {"red",        SKULL_RED},
    {"black",    SKULL_BLACK},
    {"orange",    SKULL_ORANGE},
};
Yes it works more appears the skull only in battle
on top of the monster does not appear

only on client 12
 
So you added it like this and it only appears in battle? What you mean with only on client 12? other clients it appears normal?
XML:
<monster name="Amazon" nameDescription="an amazon" race="blood" experience="60" speed="180" manacost="390" skull="yellow">
 
So you added it like this and it only appears in battle? What you mean with only on client 12? other clients it appears normal?
XML:
<monster name="Amazon" nameDescription="an amazon" race="blood" experience="60" speed="180" manacost="390" skull="yellow">
yes in the other clients it appears in the monster and in the battle only in client 12 which appears only in the battle
 
Back
Top