Jump to content
  • 0

Maelstrom old code


Cheria

Question


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  6
  • Reputation:   0
  • Joined:  02/04/12
  • Last Seen:  

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;
  }

 

Link to comment
Share on other sites

1 answer 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.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...