Energy Posted October 19, 2016 Posted October 19, 2016 Dear community, please tell me how you can implement a simple task? If the monster MvP - he can not miss. Regardless Flee character. I have edited the original formula of HIT, adding a check for a monster and adding to it 500 base hits. But I do not get the desired effect. How i can set a rule: if monster MvP flag - he can not to miss on a character never, only hits. Please tell me where in the search for.. P.S: sorry if wrong section. But I think that this is realized with the help of the source code Quote
0 Athan17 Posted October 20, 2016 Posted October 20, 2016 maybe you can try editing mob.caround this part: /*========================================== * processes one mobdb entry *------------------------------------------*/ static bool mob_parse_dbrow(char** str) { after around: if (status_has_mode(status,MD_STATUS_IMMUNE|MD_KNOCKBACK_IMMUNE|MD_DETECTOR)) status->class_ = CLASS_BOSS; else // Store as Normal and overwrite in mob_race2_db for special Class status->class_ = CLASS_NORMAL; add this line: if( status->class_ == CLASS_BOSS) status->hit = 9999; //not sure, maybe 2000? 1 Quote
Question
Energy
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.