Greetings to the masterminds of the Hive Workshop!
So i am trying to create a spell that when triggered it summons a minion and changes its base damage, health and mana, depending on the level of ability being cast, i came up with something like this, how can i do this better?
Dont worry, i still consider myself quite the noob even though i have learnt many things.
Context:
The spell is based on the Archmage - Summon Water Elemental, i made it so we dont actually see the water elemental spawning (Cause i might want to add more "summons" than just the one, and then i want to just remove the summoned one, and spawn in the amount of minions i would need)
The spell will have 100 Levels and i had thought maybe every 10th level to add another minion spawned.
So i am trying to create a spell that when triggered it summons a minion and changes its base damage, health and mana, depending on the level of ability being cast, i came up with something like this, how can i do this better?
Dont worry, i still consider myself quite the noob even though i have learnt many things.
Context:
The spell is based on the Archmage - Summon Water Elemental, i made it so we dont actually see the water elemental spawning (Cause i might want to add more "summons" than just the one, and then i want to just remove the summoned one, and spawn in the amount of minions i would need)
The spell will have 100 Levels and i had thought maybe every 10th level to add another minion spawned.
-
Summon Whatever
-

Events
-


Unit - A unit Spawns a summoned unit
-
-

Conditions
-

Actions
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




(Unit-type of (Summoned unit)) Equal to Water Elemental (Level 1)
-




(Unit-type of (Summoning unit)) Equal to Necromancer
-
-



Then - Actions
-




Set VariableSet SummonWhateverSpot[(Player number of (Triggering player))] = (Position of (Summoned unit))
-




Unit - Create 1 Lesser Dark Minion for (Owner of (Summoning unit)) at SummonWhateverSpot[(Player number of (Triggering player))] facing Default building facing degrees
-




Custom script: call RemoveLocation (udg_SummonWhateverSpot[GetConvertedPlayerId(GetTriggerPlayer())])
-




Unit - Remove (Summoned unit) from the game
-




Unit - Add a (20.00 + (SummonWhateverTime[(Player number of (Triggering player))] x 1.00)) second Generic expiration timer to (Last created unit)
-




Unit - Set Max HP of (Last created unit) to (SummonWhateverStatBlock[(Player number of (Triggering player))] x 50)
-




Unit - Set Max Mana of (Last created unit) to (SummonWhateverStatBlock[(Player number of (Triggering player))] x 10)
-




Unit - Set mana of (Last created unit) to 100.00%
-




Unit - Set life of (Last created unit) to 100.00%
-




Unit - Set Base Damage of (Last created unit) to ((SummonWhateverStatBlock[(Player number of (Triggering player))] x 2) - 1) for weapon index: 0
-




Unit - Set Dice Number of (Last created unit) to 1 for weapon index: 0
-




Unit - Set Dice Sides of (Last created unit) to 1 for weapon index: 0
-
-



Else - Actions
-
-
-


