Ok, So im trying to make a spell where where when you cast it, units around you will get charmed. So I made a function to the spell "Targeted Magic" in Enfos Team Survival.
But oddly, it only charms 1. I think i fixed the problem by removing the cooldown of the charm spell, but then having no cooldown for that spell would make it abusable.
EDIT: The Cooldown of the Charmspell is already 0 yet, it only charms 1 target -_-
[SOLVED]
Bonus Question: How can I change the Image for my Map? Not the loading screen. Just the Small Picture on the upper right before you play the game.
[SOLVED]
But oddly, it only charms 1. I think i fixed the problem by removing the cooldown of the charm spell, but then having no cooldown for that spell would make it abusable.
EDIT: The Cooldown of the Charmspell is already 0 yet, it only charms 1 target -_-
-
Pursuade
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Pursuade
-
Actions
-
Unit Group - Pick every unit in (Units within 300.00 of (Position of (Triggering unit)) matching ((((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True) and (((Matching unit) is alive) Equal to True))) and do (Actions)
-
Loop - Actions
- Unit - Order (Triggering unit) to Neutral Dark Ranger - Charm (Picked unit)
-
Loop - Actions
-
Unit Group - Pick every unit in (Units within 300.00 of (Position of (Triggering unit)) matching ((((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True) and (((Matching unit) is alive) Equal to True))) and do (Actions)
-
Events
[SOLVED]
Bonus Question: How can I change the Image for my Map? Not the loading screen. Just the Small Picture on the upper right before you play the game.
[SOLVED]
Last edited: