jestem pro
That is the question
- Joined
- Apr 20, 2013
- Messages
- 650
- Solutions
- 14
- Reaction score
- 88
Hello, I try and try, but it's so fucking annoying and hard to understand how it's made.
In this function in spell.cpp:
I need to add "target checking". Does the target is monster or not.
I know it won't be working, but I can't do.
Tried to add Creature* target to the function, but there are lots of errors in references to others functions.
Any hints?
In this function in spell.cpp:
C++:
bool Spell::playerSpellCheck(Player* player) const
C++:
Monster* monster = target->getMonster()
if(monster)
return false;
Tried to add Creature* target to the function, but there are lots of errors in references to others functions.
Any hints?