Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
Trying to make a spell buff where
Effects of buffs are doubled towards target unit
Effects of debuffs are also doubled towards target unit
Spell damage gets doubled towards target unit
Spells from target unit are twice as effective
It would require you to design the entire map around this system using custom triggered abilities.
The only exception is Spell damage as this can be done easily with a Damage Engine.
The system could work something like this:
Custom Storm Bolt
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Storm Bolt (This ability doesn't actually do anything besides fire the trigger)
Actions
Set VariableSet Damage = (100.00 x DamageMultiplier)
Set VariableSet BuffDuration = (2.00 x BuffDurationMultiplier)
-------- Run a custom missile system that attaches these values to the missile --------
When the missile hits the target this trigger would run:
Storm Bolt Hits Target
Events
Conditions
Actions
-------- Missile Hits Target --------
Unit - Create 1 Dummy for MissileOwner at (Position of MissileTarget) facing Default building facing degrees
Unit - Add a 0.50 second Generic expiration timer to (Last created unit)
Unit - Add Storm Bolt to (Last created unit)
Ability - Set Ability: (Unit: (Last created unit)'s Ability with Ability Code: Storm Bolt)'s Real Level Field: Duration - Normal ('adur') of Level: 0 to BuffDuration
Ability - Set Ability: (Unit: (Last created unit)'s Ability with Ability Code: Storm Bolt)'s Real Level Field: Duration - Hero ('ahdu') of Level: 0 to BuffDuration
Unit - Order (Last created unit) to Human Mountain King - Storm Bolt MissileTarget
Unit - Cause MissileSource to damage MissileTarget, dealing Damage damage of attack type Spells and damage type Normal
DamageMultiplier and BuffDurationMultiplier would be a stat that is tracked on each unit. Setting it to 2.00 would double the effects of your other variables. In my example it would double the effects of Damage and Buff Duration for the Storm Bolt ability.
You could also create variables like DamageReceivedMultiplier and BuffDurationReceivedMultiplier that would increase the effects that a unit receives.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.