- Joined
- Nov 9, 2011
- Messages
- 326
So for my map i use custom damage system (triggered)
custom armor, physical/magical damage, magic resistance. However
For the physical damage my hero has 1-1 Base damage. Now i use damage detection system by looking_for_help and i know how to make him deal more damage depending on the 'physical damage increase' (triggered) based on items/buffs.
Main problem here is when hero attacks another hero he deals PhysicalDamage[PlayerNumberofOwnerofDamageDealer] so he deals for example 50 physical damage. (if hero 50 pd x armor(reduction))
Now i have spells that also deal physical damage (example 140+60% of hero's physical damage(also all triggered)). But, in spell when i deal damage to the target it goes back to the trigger above and deals just 50pd x armor. How do i turn off that trigger function for the spells???
Also can i make a dummy for each player or at least 1 to change owner every time its about to make damage and hide it and in the 1st trigger (50pd x armor) to set a condition that the triggering unit isn't a dummy type unit?
Will that work whatsoever? (p.s. i know that hero won get the killing blow but at least it will be player based so what the hell)
Sorry for long post i hope someone understands what i want . Peace
custom armor, physical/magical damage, magic resistance. However
For the physical damage my hero has 1-1 Base damage. Now i use damage detection system by looking_for_help and i know how to make him deal more damage depending on the 'physical damage increase' (triggered) based on items/buffs.
Main problem here is when hero attacks another hero he deals PhysicalDamage[PlayerNumberofOwnerofDamageDealer] so he deals for example 50 physical damage. (if hero 50 pd x armor(reduction))
Now i have spells that also deal physical damage (example 140+60% of hero's physical damage(also all triggered)). But, in spell when i deal damage to the target it goes back to the trigger above and deals just 50pd x armor. How do i turn off that trigger function for the spells???
Also can i make a dummy for each player or at least 1 to change owner every time its about to make damage and hide it and in the 1st trigger (50pd x armor) to set a condition that the triggering unit isn't a dummy type unit?
Will that work whatsoever? (p.s. i know that hero won get the killing blow but at least it will be player based so what the hell)
Sorry for long post i hope someone understands what i want . Peace