funtwocrasher Posted May 20, 2022 Posted May 20, 2022 I have downloaded the latest rAthena git. And as the title goes, the card effect is not working on mobs. You will still get petrified. Can someone help and find a fix? Quote
0 Playtester Posted May 20, 2022 Posted May 20, 2022 Hmm this also works for me. I tried vs. Medusa and with Evil Druid Card or Medusa Card, I never get petrified. The code is also in place in status.cpp: case SC_STONE: case SC_STONEWAIT: case SC_FREEZE: // Undead are immune to Freeze/Stone if (undead_flag && !(flag&SCSTART_NOAVOID)) return 0; break; You could debug there and check why it doesn't reach the "return 0" part in your test case. For Medusa Card the could would be in status_get_sc_def: // Item resistance (only applies to rate%) if (sd) { for (const auto &it : sd->reseff) { if (it.id == type) rate -= rate * it.val / 10000; } if (sd->sc.data[SC_COMMONSC_RESIST] && SC_COMMON_MIN <= type && type <= SC_COMMON_MAX) rate -= rate*sd->sc.data[SC_COMMONSC_RESIST]->val1/100; } Note: That if you set undead_detect_type to "race", then of course Evil Druid Card doesn't protect you from Stone (has nothing to do with mobs, though). Medusa card would work either way. 1 Quote
0 LearningRO Posted July 16, 2022 Posted July 16, 2022 me have some problem but only with medusa card Quote
0 LearningRO Posted July 17, 2022 Posted July 17, 2022 On 7/17/2022 at 5:26 AM, LearningRO said: me have some problem but only with medusa card Only happen on pre reneawal Quote
0 PsyOps Posted March 16, 2023 Posted March 16, 2023 On 5/21/2022 at 2:38 AM, Playtester said: Hmm this also works for me. I tried vs. Medusa and with Evil Druid Card or Medusa Card, I never get petrified. The code is also in place in status.cpp: case SC_STONE: case SC_STONEWAIT: case SC_FREEZE: // Undead are immune to Freeze/Stone if (undead_flag && !(flag&SCSTART_NOAVOID)) return 0; break; You could debug there and check why it doesn't reach the "return 0" part in your test case. For Medusa Card the could would be in status_get_sc_def: // Item resistance (only applies to rate%) if (sd) { for (const auto &it : sd->reseff) { if (it.id == type) rate -= rate * it.val / 10000; } if (sd->sc.data[SC_COMMONSC_RESIST] && SC_COMMON_MIN <= type && type <= SC_COMMON_MAX) rate -= rate*sd->sc.data[SC_COMMONSC_RESIST]->val1/100; } Note: That if you set undead_detect_type to "race", then of course Evil Druid Card doesn't protect you from Stone (has nothing to do with mobs, though). Medusa card would work either way. Playtester is actually right about it but i think you need to check the git history about the updates for this. Or just download an updated trunk. They have solved this there. Quote
Question
funtwocrasher
I have downloaded the latest rAthena git. And as the title goes, the card effect is not working on mobs. You will still get petrified. Can someone help and find a fix?
4 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.