Matteo 46 Posted March 23, 2020 Share Posted March 23, 2020 Hi, I need a function on server side which returns true/false if the mob is a Boss. I want to use it in battle.cpp as pkVictim->IsBoss(). Did someone already developed it? Thank you! System Administrator @ Hungarian Government System Administrator @ Vibestro Freelancer Developer @ Various projects Link to comment Share on other sites More sharing options...
Honorable Member Solution Mali 41766 Posted March 23, 2020 Honorable Member Solution Share Posted March 23, 2020 enum EMobRank { MOB_RANK_PAWN, MOB_RANK_S_PAWN, MOB_RANK_KNIGHT, MOB_RANK_S_KNIGHT, MOB_RANK_BOSS, MOB_RANK_KING, MOB_RANK_MAX_NUM }; if (GetMobRank() == MOB_RANK_BOSS) 2 Link to comment Share on other sites More sharing options...
Matteo 46 Posted March 23, 2020 Author Share Posted March 23, 2020 1 hour ago, Mali61 said: enum EMobRank { MOB_RANK_PAWN, MOB_RANK_S_PAWN, MOB_RANK_KNIGHT, MOB_RANK_S_KNIGHT, MOB_RANK_BOSS, MOB_RANK_KING, MOB_RANK_MAX_NUM }; if (GetMobRank() == MOB_RANK_BOSS) Thank you! I got it! 1 System Administrator @ Hungarian Government System Administrator @ Vibestro Freelancer Developer @ Various projects Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now