I would know how I can exclude SC_CP_WEAPON SC_CP_SHIELD SC_CP_ARMOR and SC_CP_HELM From Banishing Buster skill (rebellion) ?
Does it something like this would works ?
for(i=0;i<SC_MAX;i++) {
if (!tsc->data[i])
continue;
switch (i) {
case SC_CP_WEAPON:
case SC_CP_SHIELD:
case SC_CP_ARMOR:
case SC_CP_HELM:
break;
}
case RL_BANISHING_BUSTER:
if (dstsd && tsc) {
uint16 i = 0;
uint8 n = skill_lv * 2 + 2; //4, 6, 8, 10, 12
for(i=0;i<SC_MAX;i++) {
if (!tsc->data[i])
continue;
switch (i) {
case SC_CP_WEAPON:
case SC_CP_SHIELD:
case SC_CP_ARMOR:
case SC_CP_HELM:
break;
}
for (i = 0; i < SC_MAX && n > 0; i++) {
if (tsc->data[i] && rnd()%400 < status_get_dex(src)) { //(custom)
status_change_end(bl,(sc_type)i,INVALID_TIMER);
n--;
}
}
}
break;
Question
Idolo
Hello guys aigan me ! xD
I would know how I can exclude SC_CP_WEAPON SC_CP_SHIELD SC_CP_ARMOR and SC_CP_HELM From Banishing Buster skill (rebellion) ?
Does it something like this would works ?
?
Thank.
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.