Xenduria Posted November 9, 2020 Share Posted November 9, 2020 I would like to make a character status immune to the common ailments by having a total luck count of 300. Can anyone help me out with this? So far this is what i have and it doesn't seem to be working. if ((type >= SC_COMMON_MIN && type <= SC_COMMON_MAX) && status->luk >= 300) sc_def = 10000; Quote Link to comment Share on other sites More sharing options...
0 Litro Endemic Posted November 12, 2020 Share Posted November 12, 2020 try putting it before this code and don't forget to recompile. // When tick def not set, reduction is the same for both. if(tick_def == -1) tick_def = sc_def; Quote Link to comment Share on other sites More sharing options...
I would like to make a character status immune to the common ailments by having a total luck count of 300. Can anyone help me out with this?
So far this is what i have and it doesn't seem to be working.
Link to comment
Share on other sites