| 05-03-2006, 06:32 AM | #1 |
I'll be using a formula to figure out min-max damage for the player's hero. How can I update the command card where it displays damage range to match the min-max damage i get using my formula, while in game? |
| 05-03-2006, 07:34 AM | #2 |
Use the Tome of Damage ability to modify damage, just make one that adds damage and one that reduces it, then give heros the items in the correct amount to change their damage. |
| 05-03-2006, 02:43 PM | #3 |
There is no neat way of only adding min or max dmg though, to my knowledge. I've been trying out ways of doing that myself for some time :s |
| 05-03-2006, 02:44 PM | #4 |
There is a tome of damage ability? Never saw anything like that : /. |
| 05-03-2006, 03:19 PM | #5 |
all that does is increase both numbers, I need to be able to change the range like say for example: currently it is at 5-10 then I need to change to 10-20 |
| 05-03-2006, 03:33 PM | #6 |
Only way would be upgrades. You can change the "Combat - Attack # - Damage Number of Dice", and the "Combat - Attack # - Damage Sides per Die". using them. |
| 05-03-2006, 03:39 PM | #7 |
you can unresearch though to go back down |
| 05-03-2006, 03:53 PM | #8 |
No... you can't. It won't let you put research levels down, only go up. You can however, make a thing that reduces it, for the next level. |
| 05-03-2006, 03:55 PM | #9 |
well this is to modify damage on the command card so I don't think upgrades is the way to go as it can change alot. |
| 05-03-2006, 04:04 PM | #10 |
Simple answer: You can't. Complex answer: Multiple units with different size ranges, and then using tomes (if it can decrease damage). |
| 05-03-2006, 04:08 PM | #11 |
then it will mean my command will display a damage range different from won't the unit will actually be doing. |
| 05-03-2006, 04:51 PM | #12 |
Well, for this thread, i made a lil system that increases damage, its just that i cant put a -1 into the object editor for a integer, other than that, you can add damage, just not take it away, this is in jass so if you need any help with it just post. If you find a way to put a -1 in a integer field then you can subtract and add damage, but for now, i cant do it, you can only add damage using this system at at the moment. Forget the functions below, use AddUnitDamage(whichUnit, amount) for the time being. Create a item that has the ability perminant damage +1 (and -1 if you can get it) Then change the rawcodes of the item to the 1s in your map, its pretty simple, the code is in a .txt file because the jass tag isent working correctly, its not putting all my code in. I will send the map later when i have more time. |
