gohamvsgoku
Member
- Joined
- Aug 21, 2017
- Messages
- 151
- Reaction score
- 9
Using Theforgottenserver 1.2
anyone with knowledge could help me?
within this function
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
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)
}