need help quickly with a few abilities

Da Kommodor

New Member
Reaction score
1
Hi there,
I have a few abilities that I am having trouble creating properly. I have a trigger for the first, but it isnt working properly:mad: and i have no idea how to go about the other two:banghead:

The first is called Discharge Cannon and it is based off of Finger of Death. The idea is to deal damage to the target equal to the current mana of the caster, and then drain 75% of the caster's current mana.
so far my trigger looks like this:
Discharge Cannon
Events
Unit - A unit owned by Player 1 (Red) Begins casting an ability
Unit - A unit owned by Player 2 (Blue) Begins casting an ability
etc...
etc....
Conditions
(Ability being cast) Equal to Discharge Cannon (Neutral Hostile)
Actions
Unit - Set mana of (Triggering unit) to 25.00%
Unit - Set life of (Target unit of ability being cast) to (Percentage mana of (Triggering unit))


My second question is the Shimmer Cannon, an attack that greatly increases in damage if another shimmer cannon is targeting the same unit. (this is not an ability that targets a specific unit such as frost nova. autocasted abilities such as black arrow are what i am going at)
In essence: footman A, B, and C's basic attack is a shimmer cannon
Footman A attacks a grunt and deals 10 damage per hit
Footman B attacks the same grunt and now footman A and B are dealing 15 damage per hit
Footman C attacks the same grunt and now are footman A B and C are dealing 20 damage per hit.
this effect should last about 5 seconds so if any other shimer cannon weilding units decide to join in the fun, the damage multiplyer will keep on increasing.

And then finally (I know, sorry) the Molecular Disrupton Device. This is a basic attack (like the shimmer cannon) with an AOE. However, every time the AOE hits a target, I would like another equally powerfull AOE to be centered on the target that was just hit. and then if that AOE hits something that hit unit would be the cener of the another of the same AOE, and so on and so on... so that the AoE would be small if there are not that many targets but would branch out and become HUUUGE if there were lots of enemies in the area.
The final criteria is that I dont want units that have set off an AOE to set off another one. (or it would be madness:))

Thanks in advance for any advice that could be provided!:thup:
 

Carnerox

The one and only.
Reaction score
84
Trigger:
  • Discharge Cannon
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to (==) Discharge Cannon
    • Actions
      • Set Caster = (Triggering unit)
      • Set Target = (Target unit of ability being cast)
      • Set TempReal = (Mana of Caster)
      • Unit - Cause Caster to damage Target, dealing TempReal damage of attack type Spells and damage type Magic
      • Unit - Set mana of Caster to 25.00%
 

Da Kommodor

New Member
Reaction score
1
hmm for some reason I can't find in the trigger editor: unit-a unit starts the effect of an ability, and ALL of the actions
 

Da Kommodor

New Member
Reaction score
1
ah, no. For some reason my computer flipps whenever I try to download it:eek:. Yes I know its not a virus...

Any way to create these abilities without using the fancy world editor?
 

Da Kommodor

New Member
Reaction score
1
Alrighty, a few man hours later and some rugged determination and da Kommodor is back in business.
I got JASS up and running (stupid kapersky) and I found the trigger functions. And, after testing the discharge cannon, it works perfectly.

Now to figure out the other two...
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top