This is a spell that I posted for help a while ago, thanks to all who helped me.
But I will need some more help here it goes: My tower attacks, when the attack hits it deals 250 "fire" damge to all enemy units around the attacked unit. The trigger works fine except it also deals damage to my own units.
This is what I use.
Trigger 1
This above works fine.
Trigger 2
*Can I use - Pick units in 300 range matching condition? I tried but I can't get it to work.
(I don't have all the triggers or words in it, only the most important. If you want the whole I can add them. It looks just about this)
If I made it unclear just say that and I will try to correct me.<3
Any help will be helpful
But I will need some more help here it goes: My tower attacks, when the attack hits it deals 250 "fire" damge to all enemy units around the attacked unit. The trigger works fine except it also deals damage to my own units.
This is what I use.
Trigger 1
Code:
Event: Unit enters playable map area.
Action: Set "unit" = Entering unit
add to my trigger the event, unit takes damage
Trigger 2
Code:
Event: (none) Event added by above trigger
Condition: - damage source = my tower of choise
Action: create dummy unit for owner of damage scourse at position of attacked unit.
Unit Group - Pick every unit in (units with 300 AoE of last created unit([U][I]Here's the problem[/I][/U]:banghead:*) and to actions
Loop - actions
cause last created unit to damage picked unit dealing 250 of attack type siege and damage type normal
Create special effect,
Destroy special effect
[loop stop]
wait 0.5 seconds
pick every units in units of type dummy unit and remove picked units from the game.
*Can I use - Pick units in 300 range matching condition? I tried but I can't get it to work.
(I don't have all the triggers or words in it, only the most important. If you want the whole I can add them. It looks just about this)
If I made it unclear just say that and I will try to correct me.<3
Any help will be helpful