Blockland Forums
Home
Help
Login
Register
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Adjusting damage dealt by a percentage
« previous
next »
Print
Pages: [
1
]
Author
Topic: Adjusting damage dealt by a percentage (Read 592 times)
Tezuni 2.0
July 10, 2011, 06:41:03 AM
Is it possible to adjust damage dealt by a percentage?
For example, if I set my player to have a value of 900/1000 strength, would it be possible to make my player only deal 90% of the damage it regularly would?
How would I do this?
Ad Bot
Advertisement
Destiny/Zack0Wack0
July 10, 2011, 08:09:07 AM
Package the Armor::damage function and multiply the damage amount by 100th of the percentage. Search, there's heaps of these topics.
Print
Pages: [
1
]
« previous
next »
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Adjusting damage dealt by a percentage