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

C++ C++ Help Modific Spell Summon

gohamvsgoku

Member
Joined
Aug 21, 2017
Messages
151
Reaction score
9
Using Theforgottenserver 1.2


anyone with knowledge could help me?

within this function
C++:
bool InstantSpell::SummonMonster

is possible for example, when the player try summon a creature with xxxx specific name, addSummon other creature with diferente name? "only in this case"

utevo res "Demon

will appear a Dragon Lord for example.

i dont understand c++ but something like this i want


C++:
if (creature->getName() == "Demon"){
        summonName = getName() == "Dragon Lord" {
        creature->addSummon(summonName)
    }
 
Back
Top