Embrace_It
New Member
- Reaction score
- 9
I started making a spell critical detection system a while ago and after browsing through some forums/tuts and the like trying to understand how it more or less works, I started coding. However, I soon realized it was a bit more complicated than I assumed at the beginning.
Now I'm asking for ideas, links that'll help me!
My own ideas:
1. Based on the "normal" Damage Detection System (where units who enter the map add an event, where it takes damage, to another trigger), maybe you could somehow tell if the damage source was a spell and maybe if its AOE, unit target etc. This idea is probably not possible...
2. Simply adding a function to every single spell capable of doing a crit which checks if the casting unit has the "Spell Critical"-ability, does calculations and returns the result.
As always, thanks in advance
Now I'm asking for ideas, links that'll help me!
My own ideas:
1. Based on the "normal" Damage Detection System (where units who enter the map add an event, where it takes damage, to another trigger), maybe you could somehow tell if the damage source was a spell and maybe if its AOE, unit target etc. This idea is probably not possible...
2. Simply adding a function to every single spell capable of doing a crit which checks if the casting unit has the "Spell Critical"-ability, does calculations and returns the result.
As always, thanks in advance