Jump to content
  • 0

A Really Really Big Question.


Virtue

Question


  • Group:  Members
  • Topic Count:  92
  • Topics Per Day:  0.02
  • Content Count:  354
  • Reputation:   22
  • Joined:  11/17/11
  • Last Seen:  

I am really wondering if I could make an Item that if it is in a players inventory it gives stats. like str+ 1 then when refine it gives str +2 and so on. and if possible this item can be refined with this http://rathena.org/b...ng/page__st__20 or atleast that it need 3 items to be made into the next level and so on. I don't know what to search / look for that is why I am posting here. I'm not even sure it i posted this at the right section. if i did post this at the wrong one, please pardon me. thanks in advance to those who will help.

and how do I edit this

if( sc->data[sC_SAFETYWALL] && (flag&(BF_SHORT|BF_MAGIC))==BF_SHORT )
 {
  struct skill_unit_group* group = skill_id2group(sc->data[sC_SAFETYWALL]->val3);
  if (group) {
   /**
 * in RE, SW possesses a lifetime equal to 3 times the caster's health
 **/
  #ifdef RENEWAL
   if ( ( group->val2 - damage) > 0 ) {
 group->val2 -= damage;
 d->dmg_lv = ATK_BLOCK;
 return 0;
   } else
 damage -= group->val2;
   skill_delunitgroup(group);
  #else
   if (--group->val2<=0)
 skill_delunitgroup(group);
   d->dmg_lv = ATK_BLOCK;
   return 0;
  #endif
  }
  status_change_end(bl, SC_SAFETYWALL, INVALID_TIMER);
 }

to atleast 5x the caster's health.

Edited by mnjfx
Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  42
  • Topics Per Day:  0.01
  • Content Count:  227
  • Reputation:   11
  • Joined:  11/16/11
  • Last Seen:  

For the first request, I think you are looking for the Charm System

http://www.eathena.ws/board/index.php?showtopic=246304

Link to comment
Share on other sites

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