• 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!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Make this trigger please

Status
Not open for further replies.
Level 9
Joined
Feb 20, 2014
Messages
409
I tried but I failed...
I would like 3 triggers please :

One for each spell that deals dammages based on one of my hero stats :
If I have 50 strenght,then deals 50 dammages (+ the base spell dammage ofc)
But I need 3 version ,that's where I failed...

Would like to do it with breath of fire,flame strike and a lightning chain.
I created variable,converted integer to real ect but it's too hard for me.
 
Level 9
Joined
Feb 20, 2014
Messages
409
Tried this for flamestrike. doesn't work.

  • Unit - A unit Initie l'effet d'une competence
  • Conditions
    • (Casting unit) Equal to Myhero[1]
  • Actions
    • Set intellE = (Intelligence of Myhero[1] (Inclure bonuses))
    • Set intell = (Real(intellE))
    • Set spellPoint = (Target point of ability being cast)
    • Set spellPointGrou = (Units within 250.00 of spellPoint)
 
Last edited:
Level 12
Joined
Jun 15, 2016
Messages
472
Alright, first it would be better to post your trigger like this How To Post Your Trigger .

Second, just to make sure: you want to create, for example, a spell that copies breath of fire, but has the damage defined by the casting hero's intelligence. Do you want to make it with the burning effect of continued damage after drunken haze? Any other thing to note?
 
Level 9
Joined
Feb 20, 2014
Messages
409
Alright, first it would be better to post your trigger like this How To Post Your Trigger .

Second, just to make sure: you want to create, for example, a spell that copies breath of fire, but has the damage defined by the casting hero's intelligence. Do you want to make it with the burning effect of continued damage after drunken haze? Any other thing to note?

Well I just changed the model of some spells. Then I changed the dammages.
But I already made this.
I just want want for theses spells to add a stat as dammage. I mean instant dammage (even the spell,like breath of fire has dammage per sec it doesn't matter,just deal instantly + (stat) dammage to the unit or to the aoe,nothing complicated.
Is it understandable? My english isn't that good.
 
Level 12
Joined
Jun 15, 2016
Messages
472
Yes, it is understandable. Unfortunately, things aren't that easy with WC3 triggers. Specifically, I don't think you can catch which units are damaged by an ability like chain lightning (or there is a DDS which can do it, if I'm wrong I hope someone fixes this), so choosing the actual units that are damaged by chain lightning is a problem
A possible solution I offer is to create an entirely custom spell which will act the same way as chain lightning, and will deal damage according to the caster's stats/ whatever you want.
 
Level 12
Joined
Jun 15, 2016
Messages
472
And what about flame strike? Is it possible to deal dammage based on stat in an AOE ?

This can easier to make. Maybe, if you will create a group of units which have the flame strike buff as and run the trigger on them. But then you'd have to consider the delay from cast to actual effect, and it will not be MUI if you have two different casters using flame strike on close locations.

In short, although it sounds like more work, I believe creating a trigger that does the whole thing will be better.
 
If a spell places a buff onDamage you can use a Damage detection System:
Not all buffs are shown in the Unit interface (ingame).​
breath of fire is such a spell ^^ lucky ( the buff is always placed, even if the unit will not burn)

flame strike places buffs. But flamestrike has 2 phases this might be tricky.

Chain lightning not really doable with DDS and damage manipulation:
it does not place a buff so there is no easy method to findout which ability was used.
There is % reduction on each jump.​
Doing the whole chain lightning on your own is also troublesome cause handling unit to unit lightnings is quite a mess.

Dummy Caster also has a problem with %reduction from each jump.

I suppose the best would be to use a chain lightning spell dealing no damage, and mimicing the jumps correcty.
From my experiments: chain lightning jumps 4 times a second and allways jumps to the nearest visible valid target from the last affected target, won't hit units twice.

Edit: This should be doable with spellSystem from bribe.
 
Status
Not open for further replies.
Top