well for chance to block damage you can use the standard defend or evasion abilities for chance to heal use
events
a unit casts an ability
conditions
(ability being cast) equal to (ur ability)
actions
set interger_variable = random number between 1 - 100
if:then:else multiple actions
if: interger_variable less than or equal to 50
then: (set life of(casting unit) to (life of (casting unit) + (ur heal amount)
else: do nothing
this trigger will have a 50% cance to heal the caster
NOTE-some things might have the wrong name
and for gold
events
a unit casts an ability
conditions
(ability being cast) equal to (ur ability)
actions
set interger_variable = random number between 1 - 100
if:then:else multiple actions
if: interger_variable less than or equal to 25
then: add (ur amount) to (owner of(casting unit) current gold
else: do nothing
this one will have 25% chance to add 'ur amount' to the owner of the casing unit current gold
EDIT- ha ha 3 people replied at once (sort of)
Set INTEGER = (Random integer number between 1 and 3)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
INTEGER Equal to 1
Then - Actions
-------- Do Random 1 Here --------
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
INTEGER Equal to 2
Then - Actions
-------- Do Random 2 Here --------
Else - Actions
-------- Do Random 3 Here --------
This triggers whenever a unit casts the Animate Dead ability. You have to replace the Animate Dead ability with the one you want to use for your trigger. If you want it to occur on different occasions, such as when a unit is attacked or every so many seconds, just let me know and I'll try to help you out.
Basically you need to set an INTEGER variable (you can call it whatever you like, so long as it's variable type is integer) to a random number. Then you just have to check whatever number it is, and put whatever you want to happen in there.
For instance in the Do Random 1 Here part you can put the damage reduction thingy (which I don't know how to work )= ), in the Do Random 2 Here part you can add gold, and in the Do Random 3 Here you can heal something.
But you must replace the Animate Dead condition with the one that you want to use for your ability.
If there are any problems, anything that needs clarification or if you want me to be more specific, just let me know and I'll do my best to help ya!
How should i change ''game images''. I mean in WE: Advanced-Game Interface and then Image.
I allready made a blue color, used wc3 image extractor with succes, imported. Now it is all black.
Should i change custom path?
I'm on a page about incorrect corrections, and spent the better part of like two hours trying to get someone to understand that -5^2 = -25, not 25, and then that post had comments get reposted because that group is self sustaining, and that person was in turn trying to explain what I just explained to them. And I'm taking that as a victory
I will be AFK for a couple of days you guys hold down the fort while I am gone. I will be checking in on my phone but that will severly limit me. Be back saturday!