daen Posted November 19, 2013 Group: Members Topic Count: 14 Topics Per Day: 0.00 Content Count: 25 Reputation: 0 Joined: 11/08/13 Last Seen: February 28, 2014 Share Posted November 19, 2013 hey can i ask again how to disable other status effect of masquerade unlucky or Shadow Chaser? i want stun only? Quote Link to comment Share on other sites More sharing options...
painrugi Posted November 19, 2013 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 58 Reputation: 6 Joined: 06/16/13 Last Seen: September 27, 2015 Share Posted November 19, 2013 on src/map/status.c find this line: case SC__UNLUCKY: { short rand_eff; switch(rand() % 3) { case 1: rand_eff = SC_BLIND; break; case 2: rand_eff = SC_SILENCE; break; default: rand_eff = SC_POISON; break; } change to this : case SC__UNLUCKY: { short rand_eff; switch(rand() % 3) { default: rand_eff = SC_STUN; break; } and then recompile your server. Quote Link to comment Share on other sites More sharing options...
daen Posted November 26, 2013 Group: Members Topic Count: 14 Topics Per Day: 0.00 Content Count: 25 Reputation: 0 Joined: 11/08/13 Last Seen: February 28, 2014 Author Share Posted November 26, 2013 on src/map/status.c find this line: case SC__UNLUCKY: { short rand_eff; switch(rand() % 3) { case 1: rand_eff = SC_BLIND; break; case 2: rand_eff = SC_SILENCE; break; default: rand_eff = SC_POISON; break; } change to this : case SC__UNLUCKY: { short rand_eff; switch(rand() % 3) { default: rand_eff = SC_STUN; break; } and then recompile your server. HOW ABOUT THE TIME FOR THE STUN THE STUN LAST LIKE 15 SECONDS status_change_start(src,bl,rand_eff,10000,val1,0,0,0,tick,1); Quote Link to comment Share on other sites More sharing options...
Question
daen
hey can i ask again how to disable other status effect of masquerade unlucky or Shadow Chaser? i want stun only?
Link to comment
Share on other sites
2 answers 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.