avertuss 48 Posted December 22, 2016 Share Posted December 22, 2016 Hi. How i can make unremovable affects after dead? Because i have AddAffect(ALIGNMENT_BONUS_5, POINT_MAX_HP, VALUE_BONUS_ALIGNMENT_5, 0, ALIGNMENT_TIME, 0, true); and if i dead i don't have this affect. Ty for help. Link to comment Share on other sites More sharing options...
metin2team 766 Posted December 22, 2016 Share Posted December 22, 2016 do you have the source? you should add a new affect type like AFFECT_ALIGNMENT. Link to comment Share on other sites More sharing options...
avertuss 48 Posted December 22, 2016 Author Share Posted December 22, 2016 15 minutes ago, metin2team said: do you have the source? you should add a new affect type like AFFECT_ALIGNMENT. Yes, i have in affect.h this: ALIGNMENT_BONUS_1, ALIGNMENT_BONUS_2, ALIGNMENT_BONUS_3, ALIGNMENT_BONUS_4, ALIGNMENT_BONUS_5, Link to comment Share on other sites More sharing options...
Ikh 35 Posted December 22, 2016 Share Posted December 22, 2016 Find this line. #define IS_NO_CLEAR_ON_DEATH_AFFECT(type) ((type) == AFFECT_BLOCK_CHAT || ((type) >= 500 && (type) < 600)) Replace with. #define IS_NO_CLEAR_ON_DEATH_AFFECT(type) \ ((type) == AFFECT_BLOCK_CHAT || \ ((type) >= 500 && (type) < 600)) || \ ((type) >= ALIGNMENT_BONUS_1 && (type) <= ALIGNMENT_BONUS_5)) 2 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