bizao030188
Member
- Joined
- Jun 4, 2012
- Messages
- 50
- Solutions
- 2
- Reaction score
- 7
Hi guys!
I am trying to chance the monster.cpp function
and I must know if the creature is a player and has at least one summon. How can I do that?
It is something like this:
What should I put on the ... part? Is there any function that I can use for that?
Thanks in advance
I am trying to chance the monster.cpp function
C++:
bool Monster::selectTarget(Creature* creature)
and I must know if the creature is a player and has at least one summon. How can I do that?
It is something like this:
Code:
if (creature->getPlayer() && creature->getPlayer()->...) {
What should I put on the ... part? Is there any function that I can use for that?
Thanks in advance