you can change this line in monster.cpp
[cpp]setSkull(mType->skull);[/cpp]
to this
[cpp]setSkull((Skulls_t) random_range(2, 4));[/cpp]
they'll get a skull with ID between 2 and 4
Cykotitan made this change in sources but have monsters with a skull is only 2 or only 4
i need a change to set creatures names to set only skull 2 and only skull 4 please help me in this script...
kind Regards
[cpp]setSkull(mType->skull);[/cpp]
to this
[cpp]setSkull((Skulls_t) random_range(2, 4));[/cpp]
they'll get a skull with ID between 2 and 4
Code:
SKULL_YELLOW = 1
[B]SKULL_GREEN = [COLOR="red"]2[/COLOR]
SKULL_WHITE = [COLOR="red"]3[/COLOR]
SKULL_RED = [COLOR="red"]4[/COLOR][/B]
SKULL_BLACK = 5
Cykotitan made this change in sources but have monsters with a skull is only 2 or only 4
i need a change to set creatures names to set only skull 2 and only skull 4 please help me in this script...
kind Regards