- Unknown
- Events
- Unit - A unit Sells an item (from shop)
- Conditions
- Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Item-type of (Sold Item)) Equal to Your_Item
- Then - Actions
- Item - Remove (Sold Item)
- Unit - Add Some_Ability to (Buying unit)
- Else - Actions
Multi Instance means that spell works for all players, that will be playing the map... (i may be wrong, dont know the exact meaning xD)
And GhostWolf, why youre saying, that your spell is not MUI, there are no wait-actions or refering to other triggers, its simple instant-cast spell that cant collide if runned many times for different players... :|
@Up
Arh, you were faster than me... Anyway, there is an incredibly small chance, that 2 or more players will cast that ability at the same time. Something like 1:1000.
- Unknown
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to Your_Skill
- Actions
- Special Effect - Create a special effect attached to the overhead of (Target unit of ability being cast) using Abilities\Spells\Other\TalkToMe\TalkToMe.mdl
- Set Special_Effect = (Last created special effect)
- Animation - Change (Target unit of ability being cast)'s size to (100.00%, 100.00%, 50.00%) of its original size
- Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing 500.00 damage of attack type Spells and damage type Normal
- For each (Integer A) from 6 to 10, do (Actions)
- Loop - Actions
- Animation - Change (Target unit of ability being cast)'s size to (100.00%, 100.00%, ((Real((Integer A))) x 10.00)%) of its original size
- Special Effect - Destroy Special_Effect
This spell will do:
• Make a effect (find a effect by yourself).
• "Smash" the unit to 50% of its height.
• Deal the unit damage.
• Make the unit "grow" back to its normal height.
Warning the spell above is NOT MUI (Multi Instance).
[Offtopic] Finaly found the code for "•" ^^
[Offtopic] humpadumpa now you've made it ! lol I thought on it for some time before like 2 weeks on "how to make a index that will update itself automaticly to +1" for exacly the same reason but didn't think of using another variable inside it
Does this work? -.-
Variables: Special Effect=special effect array 8192 (this means that the spell can be used 8192 times, if it works ) (>.<) Spec_Effect_Int = Integer
- Another 1
- Events
- Unit - A unit Begins casting an ability
- Conditions
- (Ability being cast) Equal to Freeze Enemys
- Actions
- Special Effect - Create a special effect attached to the overhead of (Target unit of ability being cast) using Abilities\Spells\Other\TalkToMe\TalkToMe.mdl
- Set Special_Effect[(Spec_Effect_Int + 1)] = (Last created special effect)
- Animation - Change (Target unit of ability being cast)'s size to (100.00%, 100.00%, 50.00%) of its original size
- Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing ((Real((Intelligence of (Triggering unit) (Include bonuses)))) x 2.00) damage of attack type Spells and damage type Normal
- For each (Integer A) from 6 to 10, do (Actions)
- Loop - Actions
- Animation - Change (Target unit of ability being cast)'s size to (100.00%, 100.00%, ((Real((Integer A))) + 10.00)%) of its original size
- Special Effect - Destroy Special_Effect[Spec_Effect_Int]
- Set Spec_Effect_Int = (Spec_Effect_Int + 1)
BTW, i added that the dmg is the double of the hero's int.
Its 2 diffrent integars, one harrayed and one not.
And I just noticed that the loop has Integer[A]+10 , change that to Integer[A]x10.
Its 2 diffrent integars, one harrayed and one not.
And I just noticed that the loop has Integer[A]+10 , change that to Integer[A]x10.
one's integer and the other one's a special effect array
Same for me, good night.
(and humpadumpa, stop copying my triggers )
U mean windwalk, that makes the unit attacked while breaking the stealth go underground and be stunned?
U mean windwalk, that makes the unit attacked while breaking the stealth go underground and be stunned?
EDIT:
- Windwalk-stun-burrow
- Events
- Unit - Unit is target of attack. (or something like that)
- Conditions
- (Attacking unit) have buff ([Windwalk buff])
- Actions
- Unit - Add Burrow to (Attacked Unit)
- Unit - Order (Attacked unit) to Undead - Crypt Fiend - Burrow (is this correct path?)
- Unit - Pause (Attacked unit).
- Set W-S-B_Unit[(Player number of (Owner of (Attacked unit)))] = (Attacked unit)
- Wait some seconds.
- For each (Integer A) do (Unit - Unpause W-S-B_Unit[(Integer A)]
- For each (Integer A) do (Unit - Order W-S-B_Unit[(Integer A)] to Undead - Crypt Fiend - Burrow
Dont know if this will work, its midnight in my coutry, im tired... xD