Jump to content
  • 0

Any Help Of Modifying VIT status


Question

Posted

I Was Running A Pre-renewal Server. My Problem is I Got an Item thats already Fix stats.
Now Point here is VIT is actually Include so the DEF status is Growing.
I Like to Change it From 1 VIT=1Def into 2vit =1Def

I Got This Guide From The Other Section So I try this on my server file
When I Recompile i dont get any errors but it wont Work.

Hope There's Some Other Solution on This
 

status.c

#ifdef RENEWAL // renewal formulas

status->hit += level + status->dex + status->luk/3 + 175; //base level + ( every 1 dex = +1 hit ) + (every 3 luk = +1 hit) + 175

status->flee += level + status->agi + status->luk/5 + 100; //base level + ( every 1 agi = +1 flee ) + (every 5 luk = +1 flee) + 100

status->def2 += (int)(((float)level + status->vit)/2 + ((float)status->agi/5)); //base level + (every 2 vit = +1 def) + (every 5 agi = +1 def)

status->mdef2 += (int)(status->int_ + ((float)level/4) + ((float)status->dex/5) + ((float)status->vit/5)); //(every 4 base level = +1 mdef) + (every 1 int = +1 mdef) + (every 5 dex = +1 mdef) + (every 5 vit = +1 mdef)

 

Hope You Can Help Me Guys My Server Becomes A Thana Base
and i wont let that forever Happen

 

 

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

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