Jump to content
  • 0

A Really Really Big Question.


Question

Posted (edited)

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

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...