- Joined
- Jul 19, 2007
- Messages
- 973
I have an imported spell in my map named "Fiery Vortex" and it uses the "Dummy Caster" system. The problem is that if an unit is killed by the "Fiery Vortex" spell, the kill credit will not go to the Hero casting the "Fiery Vortex" spell, it will go to neutral instead because it's set to that in the "Dummy Caster" system... How can I change the owner of the dummy caster to the player owner of the hero casting the "Fiery Vortex" spell?
JASS:
// This shouldn't be changed, but in some maps perhaps it is necessary.
constant player DUMMY_OWNER=Player(PLAYER_NEUTRAL_AGGRESSIVE)
