[Spell Request] Arcane Slam

Avaleirra

Is back. Probably.
Reaction score
128
Hi I have a spell request :).

Arcane Slam
Kozshar slams the ground slowing and damaging enemies depending on how much mana they are missing. Damage is increased by 10 and slow is increased by 2% for every 5% mana missing

level 1: 10% base slow and 25 base damage.

level 2: 15% base slow and 25 base damage

level 3: 20% base slow and 75 base damage.

level 4: 25% base slow and 100 base damage.


EXAMPLE: so if you use it when they have 50% mana and skill is level 4 you slow by 50% and do 350 damage


Thanks!
 

Shura

New Member
Reaction score
45
Do you mean increasing damage by 10% or just by 10 for each percent of missing mana. Because you say 10%, but your example is dealing just 10 extra damage per percent of missing mana.
 

Shura

New Member
Reaction score
45
Okay, here's the trigger
Trigger:
  • Arcane Slam
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Arcane Slam
    • Actions
      • Set Temp_Point = (Position of (Triggering unit))
      • Set Temp_Group = (Units within 500.00 of Temp_Point matching (((Owner of (Matching unit)) is an enemy of (Owner of (Triggering unit))) Equal to True))
      • Unit Group - Pick every unit in Temp_Group and do (Actions)
        • Loop - Actions
          • Set Mana_Multiplier = (((((Max mana of (Picked unit)) - (Mana of (Picked unit))) / (Max mana of (Picked unit))) x 100.00) / (6.00 - (Real((Level of Arcane Slam for (Triggering unit))))))
          • Unit - Cause (Triggering unit) to damage (Picked unit), dealing (((Real((Level of Arcane Slam for (Triggering unit)))) x 25.00) + (10.00 x Mana_Multiplier)) damage of attack type Spells and damage type Normal
          • Unit - Create 1 Dummy for (Owner of (Triggering unit)) at Temp_Point facing Default building facing degrees
          • Unit - Add Slow to (Last created unit)
          • Unit - Set level of Slow for (Last created unit) to ((5 + ((Level of Arcane Slam for (Triggering unit)) x 5)) + (2 x (Integer(Mana_Multiplier))))
          • Unit - Add a 10.00 second Generic expiration timer to (Last created unit)
          • Unit - Order (Last created unit) to Slow (Picked unit)
      • Custom script: call RemoveLocation (udg_Temp_Point)
      • Custom script: call DestroyGroup (udg_Temp_Group)

Slow would be an ability that slows the target by a percent, with level 1 causing 1% slow, level 2 causing 2% slow etc.

I think that would work do what you want.

I could upload the map containing the trigger, but it's not going to have the required abilities or anything.
 

Grundy

Ultra Cool Member
Reaction score
35
and wouldnt your example slow by 75%? base 25% slow plus 2% for every 2% missing that means 50% missing +50% slow on top of the 25%
 

Shura

New Member
Reaction score
45
Yeah, sorry for late reply, here's the map with the trigger in it.
 

Attachments

  • Arcane Slam Trigger.w3x
    17.2 KB · Views: 148

jig7c

Stop reading me...-statement
Reaction score
123
don't forget to put Moon Well in that temp_group :)
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top