| 12-10-2003, 08:38 PM | #1 |
I thought this would be a common question, but I could't find it anywhere -- is there any way to get the value of a unit's damage? |
| 12-11-2003, 12:18 AM | #2 |
Eh two ways... Damage report: After the unit attacks another unit you check to see how much damage it did. Forknowledge: Very, very, very hard to implement, extraordinarily time consuming. All units of its type will have its damage, so you effectively load all unit damage stats into variables. Spell observation: This acompanies the forknowledge method to ensure an accurate damage check. You monitor all spells cast, that are afffecting the unit, based on their durarions. If they affect damage then you can calculate the damage change. There is probably an easier way but you would have to be more specific about what you need to know the damage for. |
| 12-11-2003, 12:27 AM | #3 |
I was afraid of that... I'm making a MTG map so I need to keep track of the units' power for various abilities. |
