Since my map is too big for the attachment limit....
http://www.divshare.com/download/3632759-42c
Oh, and I know there are a ton of memory leaks and stuff in my map....I'll go back through later and fix em. =P
If someone does help me, can the result be in GUI please. =/
THANKS to anyone that helps!
When the timer for the form duration expires, the game crashes [if I use valor and master].
Here is the trigger which creates the forms...and gives them xp...and stuff....:
Code: Select all
Form Spell
Events
Unit - A unit Starts the effect of an ability
Conditions
Or - Any (Conditions) are true
Conditions
(Ability being cast) Equal to Valor Form
(Ability being cast) Equal to Wisdom Form
(Ability being cast) Equal to Master Form
Actions
Set SoraItemCustomValue[1] = (Custom value of (Item carried by (Triggering unit) of type Valor Form Experience))
Set SoraItemCustomValue[2] = (Custom value of (Item carried by (Triggering unit) of type Wisdom Form Experience))
Set SoraItemCustomValue[3] = (Custom value of (Item carried by (Triggering unit) of type Master Form Experience))
Set SoraItemCustomValue[4] = (Custom value of (Item carried by (Triggering unit) of type Final Form Experience))
Hero - Drop the item from slot 5 of (Triggering unit)
Set SoraDroppedItem[1] = (Last dropped item)
Hero - Drop the item from slot 6 of (Triggering unit)
Set SoraDroppedItem[2] = (Last dropped item)
Set SoraLoc = (Position of (Triggering unit))
Unit - Set the custom value of (Triggering unit) to (Player number of (Owner of (Triggering unit)))
Unit - Change ownership of (Triggering unit) to Player 12 (Brown) and Change color
Unit - Move (Triggering unit) instantly to (Center of Pause Hero Zone <gen>)
Unit - Pause (Triggering unit)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Ability being cast) Equal to Valor Form
Then - Actions
Unit - Create 1 Valor Form for (Player((Custom value of (Triggering unit)))) at SoraLoc facing Default building facing degrees
Set SoraValor[(Player number of (Player((Custom value of (Triggering unit)))))] = (Last created unit)
Trigger - Turn off FormHitsLevel5 <gen>
Hero - Set (Last created unit) experience to SoraItemCustomValue[1], Hide level-up graphics
Trigger - Turn on FormHitsLevel5 <gen>
Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Spells\Human\ThunderClap\ThunderClapCaster.mdl
Special Effect - Destroy (Last created special effect)
Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Spells\Human\MarkOfChaos\MarkOfChaosTarget.mdl
Special Effect - Destroy (Last created special effect)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Ability being cast) Equal to Wisdom Form
Then - Actions
Unit - Create 1 Wisdom Form for (Player((Custom value of (Triggering unit)))) at SoraLoc facing Default building facing degrees
Set SoraWisdom[(Player number of (Player((Custom value of (Triggering unit)))))] = (Last created unit)
Trigger - Turn off FormHitsLevel5 <gen>
Hero - Set (Last created unit) experience to SoraItemCustomValue[2], Hide level-up graphics
Trigger - Turn on FormHitsLevel5 <gen>
Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Spells\Human\ThunderClap\ThunderClapCaster.mdl
Special Effect - Destroy (Last created special effect)
Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Spells\Other\Charm\CharmTarget.mdl
Special Effect - Destroy (Last created special effect)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Ability being cast) Equal to Master Form
Then - Actions
Unit - Create 1 Master Form for (Player((Custom value of (Triggering unit)))) at SoraLoc facing Default building facing degrees
Set SoraMaster[(Player number of (Player((Custom value of (Triggering unit)))))] = (Last created unit)
Trigger - Turn off FormHitsLevel5 <gen>
Hero - Set (Last created unit) experience to SoraItemCustomValue[3], Hide level-up graphics
Trigger - Turn on FormHitsLevel5 <gen>
Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Spells\Human\ThunderClap\ThunderClapCaster.mdl
Special Effect - Destroy (Last created special effect)
Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Spells\Orc\Disenchant\DisenchantSpecialArt.mdl
Special Effect - Destroy (Last created special effect)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Hero level of (Triggering unit)) Greater than or equal to 15
(Hero level of (Triggering unit)) Less than 30
Then - Actions
Unit - Set level of Fire for (Last created unit) to 2
Unit - Set level of Blizzard for (Last created unit) to 2
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Hero level of (Triggering unit)) Equal to 30
Then - Actions
Unit - Set level of Fire for (Last created unit) to 3
Unit - Set level of Blizzard for (Last created unit) to 3
Else - Actions
Set SoraForm[(Player number of (Player((Custom value of (Triggering unit)))))] = (Last created unit)
Hero - Give SoraDroppedItem[1] to (Last created unit)
Hero - Give SoraDroppedItem[2] to (Last created unit)
Selection - Select (Last created unit) for (Player((Custom value of (Triggering unit))))
Hero - Make (Player((Custom value of (Triggering unit)))) Heroes gain 0.00% experience from future kills
Hero - Create Valor Form Experience and give it to (Last created unit)
Item - Set the custom value of (Last created item) to SoraItemCustomValue[1]
Hero - Create Wisdom Form Experience and give it to (Last created unit)
Item - Set the custom value of (Last created item) to SoraItemCustomValue[2]
Hero - Create Master Form Experience and give it to (Last created unit)
Item - Set the custom value of (Last created item) to SoraItemCustomValue[3]
Hero - Create Final Form Experience and give it to (Last created unit)
Item - Set the custom value of (Last created item) to SoraItemCustomValue[4]
Countdown Timer - Start SoraFormDuration as a One-shot timer that will expire in 120.00 seconds
Countdown Timer - Create a timer window for SoraFormDuration with title Drive Form ends in....
Set SoraFormDurationWindow[(Custom value of (Triggering unit))] = (Last created timer window)
Countdown Timer - Hide SoraFormDurationWindow[(Custom value of (Triggering unit))]
Countdown Timer - Show SoraFormDurationWindow[(Custom value of (Triggering unit))] for (Player((Custom value of (Triggering unit))))
Wait 120.00 seconds
<<<<<<<<<<<<<this is where the game crashes>>>>>>>>>>>>>>
Countdown Timer - Destroy SoraFormDurationWindow[(Custom value of (Triggering unit))]
Unit - Change ownership of (Triggering unit) to (Player((Custom value of (Triggering unit)))) and Change color
Set SoraItemCustomValue[1] = (Custom value of (Item carried by SoraForm[(Player number of (Owner of (Triggering unit)))] of type Valor Form Experience))
Set SoraItemCustomValue[2] = (Custom value of (Item carried by SoraForm[(Player number of (Owner of (Triggering unit)))] of type Wisdom Form Experience))
Set SoraItemCustomValue[3] = (Custom value of (Item carried by SoraForm[(Player number of (Owner of (Triggering unit)))] of type Master Form Experience))
Set SoraItemCustomValue[4] = (Custom value of (Item carried by SoraForm[(Player number of (Owner of (Triggering unit)))] of type Final Form Experience))
Hero - Drop the item from slot 5 of SoraForm[(Player number of (Owner of (Triggering unit)))]
Set SoraDroppedItem[1] = (Last dropped item)
Hero - Drop the item from slot 6 of SoraForm[(Player number of (Owner of (Triggering unit)))]
Set SoraDroppedItem[2] = (Last dropped item)
Set SoraLoc = (Position of SoraForm[(Player number of (Owner of (Triggering unit)))])
Set SoraValor[(Player number of (Owner of (Triggering unit)))] = No unit
Set SoraWisdom[(Player number of (Owner of (Triggering unit)))] = No unit
Set SoraMaster[(Player number of (Owner of (Triggering unit)))] = No unit
Unit - Remove SoraForm[(Player number of (Owner of (Triggering unit)))] from the game
Set SoraForm[(Player number of (Owner of (Triggering unit)))] = No unit
Unit - Move (Triggering unit) instantly to SoraLoc
Unit - Unpause (Triggering unit)
Hero - Make (Owner of (Triggering unit)) Heroes gain 100.00% experience from future kills
Item - Set the custom value of (Item carried by (Triggering unit) of type Valor Form Experience) to SoraItemCustomValue[1]
Item - Set the custom value of (Item carried by (Triggering unit) of type Wisdom Form Experience) to SoraItemCustomValue[2]
Item - Set the custom value of (Item carried by (Triggering unit) of type Master Form Experience) to SoraItemCustomValue[3]
Item - Set the custom value of (Item carried by (Triggering unit) of type Final Form Experience) to SoraItemCustomValue[4]
Hero - Give SoraDroppedItem[1] to (Triggering unit)
Hero - Give SoraDroppedItem[2] to (Triggering unit)
Selection - Select (Triggering unit) for (Owner of (Triggering unit))
Player - Disable Valor Form for (Owner of (Triggering unit))
Player - Disable Wisdom Form for (Owner of (Triggering unit))
Player - Disable Master Form for (Owner of (Triggering unit))
Countdown Timer - Start SoraFormRecast as a One-shot timer that will expire in 180.00 seconds
Countdown Timer - Create a timer window for SoraFormRecast with title Drive recast in...
Set SoraFormRecastWindow[(Player number of (Owner of (Triggering unit)))] = (Last created timer window)
Countdown Timer - Hide SoraFormRecastWindow[(Player number of (Owner of (Triggering unit)))]
Countdown Timer - Show SoraFormRecastWindow[(Player number of (Owner of (Triggering unit)))] for (Owner of (Triggering unit))
Wait 180.00 seconds
Countdown Timer - Destroy SoraFormRecastWindow[(Player number of (Owner of (Triggering unit)))]
Player - Enable Valor Form for (Owner of (Triggering unit))
Player - Enable Wisdom Form for (Owner of (Triggering unit))
Player - Enable Master Form for (Owner of (Triggering unit))
Code: Select all
Attack and XP Gain
Events
Player - Player 1 (Red) Presses the Up Arrow key
Player - Player 2 (Blue) Presses the Up Arrow key
Player - Player 3 (Teal) Presses the Up Arrow key
Player - Player 4 (Purple) Presses the Up Arrow key
Player - Player 5 (Yellow) Presses the Up Arrow key
Player - Player 6 (Orange) Presses the Up Arrow key
Player - Player 7 (Green) Presses the Up Arrow key
Player - Player 8 (Pink) Presses the Up Arrow key
Player - Player 9 (Gray) Presses the Up Arrow key
Player - Player 10 (Light Blue) Presses the Up Arrow key
Conditions
((Triggering player) is in SoraPGroup) Equal to True
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
SoraCombo[(Player number of (Triggering player))] Equal to 0
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
SoraValor[(Player number of (Triggering player))] Not equal to No unit
(Hero level of SoraValor[(Player number of (Triggering player))]) Less than 5
Then - Actions
For each (Integer A) from 1 to (Number of units in (Units in (Region centered at (Position of SoraValor[(Player number of (Triggering player))]) with size (400.00, 400.00)) owned by Player 12 (Brown))), do (Actions)
Loop - Actions
Hero - Add 4 experience to SoraValor[(Player number of (Triggering player))], Show level-up graphics
Item - Set the custom value of (Item carried by SoraValor[(Player number of (Triggering player))] of type Valor Form Experience) to ((Custom value of (Item carried by SoraValor[(Player number of (Triggering player))] of type Valor Form Experience)) + 4)
Else - Actions
Set SoraCombo[(Player number of (Triggering player))] = (SoraCombo[(Player number of (Triggering player))] + 50)
Animation - Play Sora[(Player number of (Triggering player))]'s attack animation
Animation - Play SoraValor[(Player number of (Triggering player))]'s attack animation
Animation - Play SoraMaster[(Player number of (Triggering player))]'s attack animation
Unit Group - Pick every unit in (Units in (Region centered at (Position of Sora[(Player number of (Triggering player))]) with size (400.00, 400.00)) owned by Player 12 (Brown)) and do (Unit - Cause Sora[(Player number of (Triggering player))] to damage (Picked unit), dealing (50.00 x ((Real((Hero level of Sora[(Player number of (Triggering player))]))) x (1.50 x (Real((Agility of Sora[(Player number of (Triggering player))] (Include bonuse
Unit Group - Pick every unit in (Units in (Region centered at (Position of SoraValor[(Player number of (Triggering player))]) with size (400.00, 400.00)) owned by Player 12 (Brown)) and do (Unit - Cause SoraValor[(Player number of (Triggering player))] to damage (Picked unit), dealing (100.00 x ((Real((Hero level of SoraValor[(Player number of (Triggering player))]))) x (1.50 x (Real((Agility of SoraValor[(Player number of (Triggering player))]
Unit Group - Pick every unit in (Units in (Region centered at (Position of SoraMaster[(Player number of (Triggering player))]) with size (400.00, 400.00)) owned by Player 12 (Brown)) and do (Unit - Cause SoraMaster[(Player number of (Triggering player))] to damage (Picked unit), dealing (150.00 x ((Real((Hero level of SoraMaster[(Player number of (Triggering player))]))) x (1.75 x (Real((Agility of SoraMaster[(Player number of (Triggering player
Wait 0.45 seconds
Set SoraCombo[(Player number of (Triggering player))] = (SoraCombo[(Player number of (Triggering player))] - 49)
Wait 2.00 seconds
If (SoraCombo[(Player number of (Triggering player))] Less than 4) then do (Set SoraCombo[(Player number of (Triggering player))] = 0) else do (Do nothing)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
SoraCombo[(Player number of (Triggering player))] Equal to 1
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
SoraValor[(Player number of (Triggering player))] Not equal to No unit
(Hero level of SoraValor[(Player number of (Triggering player))]) Less than 5
Then - Actions
For each (Integer A) from 1 to (Number of units in (Units in (Region centered at (Position of SoraValor[(Player number of (Triggering player))]) with size (400.00, 400.00)) owned by Player 12 (Brown))), do (Actions)
Loop - Actions
Hero - Add 4 experience to SoraValor[(Player number of (Triggering player))], Show level-up graphics
Item - Set the custom value of (Item carried by SoraValor[(Player number of (Triggering player))] of type Valor Form Experience) to ((Custom value of (Item carried by SoraValor[(Player number of (Triggering player))] of type Valor Form Experience)) + 4)
Else - Actions
Set SoraCombo[(Player number of (Triggering player))] = (SoraCombo[(Player number of (Triggering player))] + 50)
Animation - Play Sora[(Player number of (Triggering player))]'s attack animation
Animation - Play SoraValor[(Player number of (Triggering player))]'s attack animation
Animation - Play SoraMaster[(Player number of (Triggering player))]'s attack animation
Unit Group - Pick every unit in (Units in (Region centered at (Position of Sora[(Player number of (Triggering player))]) with size (400.00, 400.00)) owned by Player 12 (Brown)) and do (Unit - Cause Sora[(Player number of (Triggering player))] to damage (Picked unit), dealing (100.00 x ((Real((Hero level of Sora[(Player number of (Triggering player))]))) x (2.00 x (Real((Agility of Sora[(Player number of (Triggering player))] (Include bonus
Unit Group - Pick every unit in (Units in (Region centered at (Position of SoraValor[(Player number of (Triggering player))]) with size (400.00, 400.00)) owned by Player 12 (Brown)) and do (Unit - Cause SoraValor[(Player number of (Triggering player))] to damage (Picked unit), dealing (175.00 x ((Real((Hero level of SoraValor[(Player number of (Triggering player))]))) x (2.00 x (Real((Agility of SoraValor[(Player number of (Triggering player))]
Unit Group - Pick every unit in (Units in (Region centered at (Position of SoraMaster[(Player number of (Triggering player))]) with size (400.00, 400.00)) owned by Player 12 (Brown)) and do (Unit - Cause SoraMaster[(Player number of (Triggering player))] to damage (Picked unit), dealing (200.00 x ((Real((Hero level of SoraMaster[(Player number of (Triggering player))]))) x (2.25 x (Real((Agility of SoraMaster[(Player number of (Triggering player
Wait 0.45 seconds
Set SoraCombo[(Player number of (Triggering player))] = (SoraCombo[(Player number of (Triggering player))] - 49)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
SoraCombo[(Player number of (Triggering player))] Equal to 2
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
SoraValor[(Player number of (Triggering player))] Not equal to No unit
(Hero level of SoraValor[(Player number of (Triggering player))]) Less than 5
Then - Actions
For each (Integer A) from 1 to (Number of units in (Units in (Region centered at (Position of SoraValor[(Player number of (Triggering player))]) with size (400.00, 400.00)) owned by Player 12 (Brown))), do (Actions)
Loop - Actions
Hero - Add 4 experience to SoraValor[(Player number of (Triggering player))], Show level-up graphics
Item - Set the custom value of (Item carried by SoraValor[(Player number of (Triggering player))] of type Valor Form Experience) to ((Custom value of (Item carried by SoraValor[(Player number of (Triggering player))] of type Valor Form Experience)) + 4)
Else - Actions
Set SoraCombo[(Player number of (Triggering player))] = (SoraCombo[(Player number of (Triggering player))] + 50)
Animation - Play Sora[(Player number of (Triggering player))]'s attack animation
Animation - Play SoraValor[(Player number of (Triggering player))]'s attack animation
Animation - Play SoraMaster[(Player number of (Triggering player))]'s attack animation
Unit Group - Pick every unit in (Units in (Region centered at (Position of Sora[(Player number of (Triggering player))]) with size (400.00, 400.00)) owned by Player 12 (Brown)) and do (Unit - Cause Sora[(Player number of (Triggering player))] to damage (Picked unit), dealing (150.00 x ((Real((Hero level of Sora[(Player number of (Triggering player))]))) x (2.50 x (Real((Agility of Sora[(Player number of (Triggering player))] (Include bonus
Unit Group - Pick every unit in (Units in (Region centered at (Position of SoraValor[(Player number of (Triggering player))]) with size (400.00, 400.00)) owned by Player 12 (Brown)) and do (Unit - Cause SoraValor[(Player number of (Triggering player))] to damage (Picked unit), dealing (250.00 x ((Real((Hero level of SoraValor[(Player number of (Triggering player))]))) x (2.25 x (Real((Agility of SoraValor[(Player number of (Triggering player))]
Unit Group - Pick every unit in (Units in (Region centered at (Position of SoraMaster[(Player number of (Triggering player))]) with size (400.00, 400.00)) owned by Player 12 (Brown)) and do (Unit - Cause SoraMaster[(Player number of (Triggering player))] to damage (Picked unit), dealing (250.00 x ((Real((Hero level of SoraMaster[(Player number of (Triggering player))]))) x (2.75 x (Real((Agility of SoraMaster[(Player number of (Triggering player
Wait 0.45 seconds
Set SoraCombo[(Player number of (Triggering player))] = (SoraCombo[(Player number of (Triggering player))] - 49)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
SoraCombo[(Player number of (Triggering player))] Equal to 3
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
SoraValor[(Player number of (Triggering player))] Not equal to No unit
(Hero level of SoraValor[(Player number of (Triggering player))]) Less than 5
Then - Actions
For each (Integer A) from 1 to (Number of units in (Units in (Region centered at (Position of SoraValor[(Player number of (Triggering player))]) with size (400.00, 400.00)) owned by Player 12 (Brown))), do (Actions)
Loop - Actions
Hero - Add 4 experience to SoraValor[(Player number of (Triggering player))], Show level-up graphics
Item - Set the custom value of (Item carried by SoraValor[(Player number of (Triggering player))] of type Valor Form Experience) to ((Custom value of (Item carried by SoraValor[(Player number of (Triggering player))] of type Valor Form Experience)) + 4)
Else - Actions
Set SoraCombo[(Player number of (Triggering player))] = (SoraCombo[(Player number of (Triggering player))] + 50)
Animation - Play Sora[(Player number of (Triggering player))]'s slam animation
Animation - Play SoraValor[(Player number of (Triggering player))]'s slam animation
Animation - Play SoraMaster[(Player number of (Triggering player))]'s slam animation
Unit Group - Pick every unit in (Units in (Region centered at (Position of Sora[(Player number of (Triggering player))]) with size (400.00, 400.00)) owned by Player 12 (Brown)) and do (Unit - Cause Sora[(Player number of (Triggering player))] to damage (Picked unit), dealing (200.00 x ((Real((Hero level of Sora[(Player number of (Triggering player))]))) x (3.00 x (Real((Agility of Sora[(Player number of (Triggering player))] (Include bonus
Unit Group - Pick every unit in (Units in (Region centered at (Position of SoraValor[(Player number of (Triggering player))]) with size (400.00, 400.00)) owned by Player 12 (Brown)) and do (Unit - Cause SoraValor[(Player number of (Triggering player))] to damage (Picked unit), dealing (300.00 x ((Real((Hero level of SoraValor[(Player number of (Triggering player))]))) x (2.75 x (Real((Agility of SoraValor[(Player number of (Triggering player))]
Unit Group - Pick every unit in (Units in (Region centered at (Position of SoraMaster[(Player number of (Triggering player))]) with size (400.00, 400.00)) owned by Player 12 (Brown)) and do (Unit - Cause SoraMaster[(Player number of (Triggering player))] to damage (Picked unit), dealing (350.00 x ((Real((Hero level of SoraMaster[(Player number of (Triggering player))]))) x (3.25 x (Real((Agility of SoraMaster[(Player number of (Triggering player
Special Effect - Create a special effect at (Position of Sora[(Player number of (Triggering player))]) using Abilities\Spells\Human\ThunderClap\ThunderClapCaster.mdl
Special Effect - Destroy (Last created special effect)
Special Effect - Create a special effect at (Position of SoraValor[(Player number of (Triggering player))]) using Abilities\Spells\Human\ThunderClap\ThunderClapCaster.mdl
Special Effect - Destroy (Last created special effect)
Wait 0.45 seconds
Set SoraCombo[(Player number of (Triggering player))] = (SoraCombo[(Player number of (Triggering player))] - 49)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
SoraValor[(Player number of (Triggering player))] Not equal to No unit
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
SoraValor[(Player number of (Triggering player))] Not equal to No unit
(Hero level of SoraValor[(Player number of (Triggering player))]) Less than 5
Then - Actions
For each (Integer A) from 1 to (Number of units in (Units in (Region centered at (Position of SoraValor[(Player number of (Triggering player))]) with size (400.00, 400.00)) owned by Player 12 (Brown))), do (Actions)
Loop - Actions
Hero - Add 4 experience to SoraValor[(Player number of (Triggering player))], Show level-up graphics
Item - Set the custom value of (Item carried by SoraValor[(Player number of (Triggering player))] of type Valor Form Experience) to ((Custom value of (Item carried by SoraValor[(Player number of (Triggering player))] of type Valor Form Experience)) + 4)
Else - Actions
Animation - Play SoraValor[(Player number of (Triggering player))]'s slam animation
Unit Group - Pick every unit in (Units in (Region centered at (Position of SoraValor[(Player number of (Triggering player))]) with size (400.00, 400.00)) owned by Player 12 (Brown)) and do (Unit - Cause SoraValor[(Player number of (Triggering player))] to damage (Picked unit), dealing (400.00 x ((Real((Hero level of SoraValor[(Player number of (Triggering player))]))) x (3.25 x (Real((Agility of SoraValor[(Player number of (Triggering player))]
For each (Integer A) from 1 to 6, do (Actions)
Loop - Actions
Special Effect - Create a special effect at ((Position of SoraValor[(Player number of (Triggering player))]) offset by 200.00 towards (100.00 x (Real((Integer A)))) degrees) using Abilities\Spells\Human\ThunderClap\ThunderClapCaster.mdl
Special Effect - Destroy (Last created special effect)
Wait 0.45 seconds
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
SoraMaster[(Player number of (Triggering player))] Equal to No unit
Then - Actions
Wait 0.45 seconds
Set SoraCombo[(Player number of (Triggering player))] = 0
Else - Actions
Wait 4.50 seconds
Set SoraCombo[(Player number of (Triggering player))] = 0
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
SoraCombo[(Player number of (Triggering player))] Equal to 4
SoraMaster[(Player number of (Triggering player))] Not equal to No unit
Then - Actions
Set SoraCombo[(Player number of (Triggering player))] = (SoraCombo[(Player number of (Triggering player))] + 50)
Animation - Play SoraMaster[(Player number of (Triggering player))]'s slam animation
Unit - Make SoraMaster[(Player number of (Triggering player))] Invulnerable
Wait 0.20 seconds
Animation - Change SoraMaster[(Player number of (Triggering player))]'s animation speed to 0.10% of its original speed
Unit - Pause SoraMaster[(Player number of (Triggering player))]
Trigger - Turn on MasterFormFinalAttack <gen>
Unit - Make SoraMaster[(Player number of (Triggering player))] Vulnerable
Else - Actions
Code: Select all
MasterFormFinalAttack
Events
Time - Every 0.10 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in (Units in (Region centered at (Position of SoraMaster[(Player number of (Triggering player))]) with size (1000.00, 1000.00)) owned by Player 12 (Brown)) and do (Unit - Move (Picked unit) instantly to ((Position of SoraMaster[(Player number of (Triggering player))]) offset by ((Distance between (Position of (Picked unit)) and (Position of SoraMaster[(Player number of (Triggering player))])) - 10.00) towards (Angle fr
Unit - Pause (Picked unit)
For each (Integer A) from 1 to 7, do (Actions)
Loop - Actions
Special Effect - Create a special effect at ((Position of SoraMaster[(Player number of (Triggering player))]) offset by 250.00 towards (50.00 x (Real((Integer A)))) degrees) using Abilities\Spells\Items\AIvi\AIviTarget.mdl
Special Effect - Destroy (Last created special effect)
Set SoraMasterFinalAttackCount[(Player number of (Triggering player))] = ((SoraMasterFinalAttackCount[(Player number of (Triggering player))] + 1) + 1)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
SoraMasterFinalAttackCount[(Player number of (Triggering player))] Equal to 60
Then - Actions
Trigger - Turn off (This trigger)
Trigger - Turn on MasterFormFinalAttack2 <gen>
Unit Group - Pick every unit in (Units in (Region centered at (Position of SoraMaster[(Player number of (Triggering player))]) with size (1000.00, 1000.00)) owned by Player 12 (Brown)) and do (Unit - Cause SoraMaster[(Player number of (Triggering player))] to damage (Picked unit), dealing (350.00 x ((Real((Hero level of SoraMaster[(Player number of (Triggering player))]))) x (3.25 x (Real((Agility of SoraMaster[(Player number of (Triggering player
Set SoraMasterFinalAttackCount[(Player number of (Triggering player))] = 0
Animation - Change SoraMaster[(Player number of (Triggering player))]'s animation speed to 100.00% of its original speed
Else - Actions
Code: Select all
MasterFormFinalAttack2
Events
Time - Every 0.05 seconds of game time
Conditions
Actions
Set SoraMasterFinalAttackCount[(Player number of (Triggering player))] = ((SoraMasterFinalAttackCount[(Player number of (Triggering player))] + 1) + 1)
Unit Group - Pick every unit in (Units in (Region centered at (Position of SoraMaster[(Player number of (Triggering player))]) with size (1000.00, 1000.00)) owned by Player 12 (Brown)) and do (Unit - Move (Picked unit) instantly to ((Position of SoraMaster[(Player number of (Triggering player))]) offset by (30.00 x (Real(SoraMasterFinalAttackCount[(Player number of (Triggering player))]))) towards (Angle from (Position of SoraMaster[(Player number
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
SoraMasterFinalAttackCount[(Player number of (Triggering player))] Equal to 40
Then - Actions
Trigger - Turn off (This trigger)
Set SoraMasterFinalAttackCount[(Player number of (Triggering player))] = 0
Unit - Make SoraMaster[(Player number of (Triggering player))] Vulnerable
Unit - Unpause SoraMaster[(Player number of (Triggering player))]
Else - Actions