Jump to content
  • 0

Any Help Of Modifying VIT status


Fuse

Question


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  6
  • Reputation:   2
  • Joined:  03/03/18
  • Last Seen:  

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

 

 

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  220
  • Reputation:   251
  • Joined:  04/08/13
  • Last Seen:  

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  6
  • Reputation:   2
  • Joined:  03/03/18
  • Last Seen:  

Which Line Should I Change There? i already follow already follow this guide.


https://rathena.org/board/topic/88606-2-vit-1-def-where-can-i-change-this/

Putty Doesn't Give me an error when i recompile. but it wont work on my Server

Edited by Fuse
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  50
  • Reputation:   9
  • Joined:  01/09/12
  • Last Seen:  

1 hour ago, Fuse said:

Which Line Should I Change There? i already follow already follow this guide.


https://rathena.org/board/topic/88606-2-vit-1-def-where-can-i-change-this/

Putty Doesn't Give me an error when i recompile. but it wont work on my Server

L2624 ?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  220
  • Reputation:   251
  • Joined:  04/08/13
  • Last Seen:  

7 hours ago, Fuse said:

Which Line Should I Change There? i already follow already follow this guide.


https://rathena.org/board/topic/88606-2-vit-1-def-where-can-i-change-this/

Look at the date of that topic.

 

6 hours ago, Ehwaz said:

L2624 ?

In that line you must edit.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  6
  • Reputation:   2
  • Joined:  03/03/18
  • Last Seen:  

Thank you for the answer.
It Work Now this will be a big help!!! :)))) 

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