darking123 Posted January 9, 2013 Group: Members Topic Count: 318 Topics Per Day: 0.07 Content Count: 931 Reputation: 13 Joined: 12/20/11 Last Seen: November 21, 2020 Share Posted January 9, 2013 if i put 1 Vit..how many hp will be added if for example 1 VIT= 10HP i want to make it 1 VIt = 20 HP what will i edit? Quote Link to comment Share on other sites More sharing options...
malufett Posted January 10, 2013 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 554 Reputation: 70 Joined: 04/04/12 Last Seen: November 8, 2013 Share Posted January 10, 2013 actually its 1% per vit @status.c val += val * status->vit/100; // +1% per each point of VIT Quote Link to comment Share on other sites More sharing options...
darking123 Posted January 10, 2013 Group: Members Topic Count: 318 Topics Per Day: 0.07 Content Count: 931 Reputation: 13 Joined: 12/20/11 Last Seen: November 21, 2020 Author Share Posted January 10, 2013 what if i want to make it +2% per each point of VIT i will make it like this val += val * status->vit/200; correct? Quote Link to comment Share on other sites More sharing options...
icabit Posted January 10, 2013 Group: Members Topic Count: 28 Topics Per Day: 0.01 Content Count: 353 Reputation: 70 Joined: 07/14/12 Last Seen: February 12, 2023 Share Posted January 10, 2013 what if i want to make it +2% per each point of VIT i will make it like this val += val * status->vit/200; correct? yeah then compile Quote Link to comment Share on other sites More sharing options...
malufett Posted January 10, 2013 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 554 Reputation: 70 Joined: 04/04/12 Last Seen: November 8, 2013 Share Posted January 10, 2013 nope its suppose to be val += val * status->vit * 2 / 100; // +2% per each point of VIT Quote Link to comment Share on other sites More sharing options...
darking123 Posted January 10, 2013 Group: Members Topic Count: 318 Topics Per Day: 0.07 Content Count: 931 Reputation: 13 Joined: 12/20/11 Last Seen: November 21, 2020 Author Share Posted January 10, 2013 (edited) thank you malufett BTW.. can i do this val += val * status->vit * 1.5 / 100; // +1.5% per each point of VIT Edited January 10, 2013 by glemor123 Quote Link to comment Share on other sites More sharing options...
malufett Posted January 10, 2013 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 554 Reputation: 70 Joined: 04/04/12 Last Seen: November 8, 2013 Share Posted January 10, 2013 better.. val += val * status->vit * 150 / 10000; // +1.5% per each point of VIT because you might lost the .5 and won't work as intended... Quote Link to comment Share on other sites More sharing options...
darking123 Posted January 10, 2013 Group: Members Topic Count: 318 Topics Per Day: 0.07 Content Count: 931 Reputation: 13 Joined: 12/20/11 Last Seen: November 21, 2020 Author Share Posted January 10, 2013 thank you so much Quote Link to comment Share on other sites More sharing options...
Question
darking123
if i put 1 Vit..how many hp will be added
if for example 1 VIT= 10HP
i want to make it 1 VIt = 20 HP what will i edit?
Link to comment
Share on other sites
7 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.