Piece of code
The Cathedral of Attnam > Programming|
Print
|
Mar 27, 2008 at 12:22 am |
#1
![]() |
|
![]() zombie |
Joined: Feb 28, 2008 Occupation: Web developper Location: Paris Posts: 38 Groups: | |
|
Piece of code Here a small piece of code I made to allow Helmet, Cloak, Body Armor and Belt to add Arm Strength, Dexterity, Leg Strength and Agility. It's maybe a bit dirty, but it work. The enchant bonus is divised by 2, because the bonus value is added to each arm or leg. A +1 Dexterity bonus will add +0.5 Dexterity to each arm so (could be invisible for a +1 item so, unless you're Dexterity is already a bit trained). Code ---------- bodypart.h ---------- Tell me if you encounter bugs, I'll edit this code, and feel free to post your own. | ||
|
Last edited by Planplan : Mar 27, 2008 at 4:36 pm. Edited 2 times total | ||
Mar 27, 2008 at 12:31 am |
#2
![]() |
|
![]() Banned |
Joined: Mar 14, 2008 Posts: 62 | |
|
Have you ever heard of a program called "Diff" | ||
Mar 27, 2008 at 3:22 pm |
#3
![]() |
|
![]() hedgehog |
Joined: Mar 25, 2008 Posts: 9 | |
|
If it's not needed other changes from the CVS version could you make me a patch? | ||
Mar 27, 2008 at 4:39 pm |
#4
![]() |
|
![]() zombie |
Joined: Feb 28, 2008 Occupation: Web developper Location: Paris Posts: 38 Groups: | |
|
Here for you nukes, added it to my first message. Nice people always get what they want ![]() | ||
|
Print
|
||
The Cathedral of Attnam > Programming > Piece of code


Mar 27, 2008 at 12:22 am

zombie

Banned
hedgehog