alexander03 Posted August 20, 2020 Group: Members Topic Count: 52 Topics Per Day: 0.03 Content Count: 174 Reputation: 0 Joined: 01/03/20 Last Seen: 1 hour ago Share Posted August 20, 2020 (edited) Hello sir and maam, Any body can help me how to set this i look for ithis line on src/status.cpp folder , iwonder how to change this // Def2 if (bl->type == BL_MER) stat = (int)(status->vit + ((float)level / 10) + ((float)status->vit / 5)); else { stat = status->def2; stat += (int)(((float)level + status->vit) / 2 + (bl->type == BL_PC ? ((float)status->agi / 5) : 0)); //base level + (every 2 vit = +1 def) + (every 5 agi = +1 def) } status->def2 = cap_value(stat, 0, SHRT_MAX); All i want to change is -I dont want the vit def increase when my base level increase -i dont want agi give a vit def also -only VIT can increase the Vit Def and every 2 vit = 1 vit def thank you , hopefully anybodty can help me which line i going to change and how,. im using Renewal server Edited August 20, 2020 by alexander03 identify renewal server Quote Link to comment Share on other sites More sharing options...
0 Seravy Posted August 20, 2020 Group: Members Topic Count: 31 Topics Per Day: 0.01 Content Count: 176 Reputation: 60 Joined: 01/11/19 Last Seen: March 12, 2021 Share Posted August 20, 2020 replace the stat+= line with this : stat+= (int) (status->vit / 2) This will affect everything that's not a mercenary though, not just player characters, you didn't specify if that's what you want. 1 Quote Link to comment Share on other sites More sharing options...
0 alexander03 Posted August 20, 2020 Group: Members Topic Count: 52 Topics Per Day: 0.03 Content Count: 174 Reputation: 0 Joined: 01/03/20 Last Seen: 1 hour ago Author Share Posted August 20, 2020 may i know sir which line and how to change it ? to make it clear? ill just want sir on my def status to change because when my level increase also my VIT def increase, so i dont want it and i want to change, i want to change only vit can increase my vit def also when i levelup my agi status every 5 agi i got 1 VIT def and i dont like that so iwant to know which line to change , and can u sir please clear where sir ? thank u sir for replying On 8/20/2020 at 2:45 PM, Seravy said: replace the stat+= line with this : stat+= (int) (status->vit / 2) This will affect everything that's not a mercenary though, not just player characters, you didn't specify if that's what you want. sir it works my VIT def not increase anymore when my level is increase ,also on my agi dont give VIT def anymore thank u sir very much your number 1 FIX!! Quote Link to comment Share on other sites More sharing options...
Question
alexander03
Hello sir and maam,
Any body can help me how to set this
i look for ithis line on src/status.cpp folder , iwonder how to change this
status->def2 = cap_value(stat, 0, SHRT_MAX);
All i want to change is
-I dont want the vit def increase when my base level increase
-i dont want agi give a vit def also
Edited by alexander03-only VIT can increase the Vit Def and every 2 vit = 1 vit def
thank you , hopefully anybodty can help me which line i going to change and how,.
im using Renewal server
identify renewal server
Link to comment
Share on other sites
2 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.