HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

CS and Custom Damage

07-23-2009, 09:10 PM#1
Anarki
I want to implement my own damage types / resistances / hit formula, while using CS.

I assume it does not support this, so basically, I want to replace UnitDamageTarget with my own function (which will calculate damage and blah blah) - but looking through the script, there seems to be multiple uses of UnitDamageTarget, and I'm not sure which ones I should not touch. Any suggestions?
07-23-2009, 11:21 PM#2
Kwah
You'd want to replace all of the present calls of UnitDamageTarget, so that damage is dealt consistently in your fashion.

I'd recommend taking a look at this, as a possible integration though.