Hello.
I am updating my rAthena after a while nowt, and I found a problem with a code.
Because Maelstrom isn't working as it should http://irowiki.org/wiki/Maelstrom I've been using the old 3ceam code that works like a "mini magnetic field", but now that I updated to revision 17203 this code isn't working anymore, I get alot of errors when I add it to battle.c and compile.
Somewhere between revision 17019 and revision 17203 the code stopped working, every other code of maelstrom is exactly the same so I suppose rAthena doesn't support something on this code anymore. Is there a way to modify the code to make it work again on the newer versions of rAthena? I know its custom but I want to use it until Maelstrom works like it should be.
Thanks.
if( map_getcell(bl->m,bl->x,bl->y,CELL_CHKMAELSTROM) && (flag&BF_MAGIC) && skill_num && (skill_get_inf(skill_num)&INF_GROUND_SKILL) )
{
int sp = damage * 20 / 100; // Steel need official value.
status_heal(bl,0,sp,3);
d->dmg_lv = ATK_BLOCK;
return 0;
}