You could just make an integer array where when ever a player casts the spell on another player, their number fills the slot' and when ever a player dies, it just checks the array to see who gets the point. So for example...
Player one casts spell on player 2, set the 2nd integer in the array to 1
When player 2 dies, check 2nd integer in array, its 1... player 1 gets the point..
0
Last_Attacker is a player array with a size of 11..
Event 1 - Unit casts Your_Spell
Actions - Set last_attacker(player number(Owner of targeted unit)) = Owner of Casting unit
Event 2 - Unit Dies
Actions - Give 1 point to last_attacker(Player number(Owner of dying unit))
0
Are there multiple units per player?
0
You could just make an integer array where when ever a player casts the spell on another player, their number fills the slot' and when ever a player dies, it just checks the array to see who gets the point. So for example...
Player one casts spell on player 2, set the 2nd integer in the array to 1
When player 2 dies, check 2nd integer in array, its 1... player 1 gets the point..