• 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.

Trigger Effect

Status
Not open for further replies.
Level 9
Joined
Dec 21, 2006
Messages
490
hello everyone

i am trying to create a wc3 critical strike. so far so good but one thing...
i have an item that adds a crit chance and i have abilities.
my problem is that i want to check both, the ability and the item. (let's say each having 15% chance) .
but the trigger effect stops as soon as the validator is true but the chance of 15 % is after that. so it will only check the ability or the item since one validator will be true.
what i want is that if the 15% chance of the one effect fails the other 15% is checked too.
i thought if i activate the flag Fail inside the trigger effect for each effect it should work. but then both effects can be executed (and multiply each other resulting in 9x dmg instead of 3+3).
any ideas how to combinate effects to have exclusive effects but checking second if first fails?

i am using lots of crits with different chances and dmg. only ability and item can overlap. example item with 250% dmg and 15% chance and ability crit lvl 5 with 400% dmg and 28% chance.

a set effect with max 1 effect to be executed and set to random effect doesn't work either. even if all validators fail that no effect but one can be executed doesn't result in this one to be executed.

i hope i could have pointed out my problem
 
Level 9
Joined
Dec 21, 2006
Messages
490
only effects, what i mean with trigger effect is that effect which has several cases which can be executed depending on the validator.

i just need a way to check if an effect was executed or not. if not executed another effect will be by chance.

i also tried markers but my marker-validator always gives false for no reason. w/e is set it's false.
 
Status
Not open for further replies.
Top