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