• 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] A bit advanced Math problem

Status
Not open for further replies.
Level 7
Joined
May 18, 2010
Messages
264
  • Summon 1
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to (==) Feral Spirit
    • Actions
      • Set StatsStr[(Player number of (Owner of (Triggering unit)))] = (Strength of (Triggering unit) (Include bonuses))
        • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • StatsStr[(Player number of (Owner of (Triggering unit)))] Greater than (>) 999
          • Then - Actions
          • Else - Actions
Not shure how to do this one
Got 3 spells
1st = 10 lvls give 1 - 10 hp bonus
2nd = 10 lvl give 10-100 hp bonus
3rd = 10 lvls give 100 -1000 hp bonus
now my problem how i check thats
"StatsStr" = 96
so i add 2nd spell lvl 9 (900 hp ) and 1st spell lvl 6 = (60hp) ???
 
  • Summon 1
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to (==) Feral Spirit
    • Actions
      • Set StatsStr[(Player number of (Owner of (Triggering unit)))] = (Strength of (Triggering unit) (Include bonuses))
        • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • StatsStr[(Player number of (Owner of (Triggering unit)))] Greater than (>) 999
          • Then - Actions
          • Else - Actions
Not shure how to do this one
Got 3 spells
1st = 10 lvls give 1 - 10 hp bonus
2nd = 10 lvl give 10-100 hp bonus
3rd = 10 lvls give 100 -1000 hp bonus
now my problem how i check thats
"StatsStr" = 96
so i add 2nd spell lvl 9 (900 hp ) and 1st spell lvl 6 = (60hp) ???

Could you maybe rephrase that, cause i kinda do not understand what you mean?
Are you trying to add a hp bonus to something? Cause instead of using 3spells use 1, with 30 levels, frst 10, 1-10, second 10 levels 10-10, and last 10 levels 100-1000 hp bonus.
 
Level 7
Joined
May 18, 2010
Messages
264
Yea using 3 spells so i can add
3650 hp ^^
i add spell 3000 600 50
id need 365 lvl on ability for that = long load time on map
  • Summon 1
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to (==) Feral Spirit
    • Actions
      • Set StatsStr[(Player number of (Owner of (Triggering unit)))] = (Strength of (Triggering unit) (Include bonuses))
        • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • StatsStr[(Player number of (Owner of (Triggering unit)))] Greater than (>) 999
          • Then - Actions
            • Set StatsStr[(Player number of (Owner of (Triggering unit)))] = (StatsStr[(Player number of (Owner of (Triggering unit)))] - 100)
            • Unit - Add HP Bonus 100-1000 to (Summoned unit)
            • Unit - Set level of HP Bonus 100-1000 for (Summoned unit) to 10
          • Else - Actions
            • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
              • If - Conditions
                • StatsStr[(Player number of (Owner of (Triggering unit)))] Greater than (>) 899
              • Then - Actions
                • Set StatsStr[(Player number of (Owner of (Triggering unit)))] = (StatsStr[(Player number of (Owner of (Triggering unit)))] - 90)
                • Unit - Add HP Bonus 100-1000 to (Summoned unit)
                • Unit - Set level of HP Bonus 100-1000 for (Summoned unit) to 9
              • Else - Actions
im going with this anithing easyer Let me know
 
Level 7
Joined
May 18, 2010
Messages
264
with all do respect
u got Feral spirit on new map
u cr8 1 variable and thats all i got here ^^

Edit: and the hp bonus but im gona stick to this one... unles som1 find something Bether
 
Level 7
Joined
May 18, 2010
Messages
264
  • Actions
    • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • SummoningStats Greater than (>) 99
      • Then - Actions
        • Set SummoningStats = (SummoningStats - 100)
        • Unit - Add HP Bonus 100-1000 to SummoningUnit
        • Unit - Set level of HP Bonus 100-1000 for SummoningUnit to 10
        • Trigger - Run (This trigger) (ignoring conditions)
      • Else - Actions
  • Summon 1
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to (==) Feral Spirit
    • Actions
      • Unit - Create 1 Spirit Wolf (Level 1) for (Owner of (Triggering unit)) at ((Position of (Triggering unit)) offset by 150.00 towards (Facing of (Triggering unit)) degrees) facing Default building facing (270.0) degrees
      • Set StatsStr[(Player number of (Owner of (Triggering unit)))] = (Strength of (Triggering unit) (Include bonuses))
      • Set SummoningPlayer = (Owner of (Triggering unit))
      • Set SummoningUnit = (Last created unit)
      • Set SummoningStats = StatsStr[(Player number of (Owner of (Triggering unit)))]
      • Game - Display to (All players) the text: (String(StatsStr[1]))
Story
I got unit
it got a spell Summon Wolf
Spell does this ( trigger ( create wolf ) ) and wolf got 1 hp
now i use (Set str(owner of trigering unit) lets say its ( 100 )
and i got a spell Item Bonus Hp that gives + hp(i made 10 lvl) 100hp per lvl
I add spell to (Created unit) and (modify its lvl) based on str (str*10 = hp)

its not best explanation<-(=,=) but hope it helps
Btw this is working Just fine but .. not shure cuz it will cause lag.
 
Yea it wouldnt work

Edit: i got BUmp im my project
Edit2:
  • Summon 1
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to (==) Feral Spirit
    • Actions
      • Unit - Create 1 Spirit Wolf (Level 1) for (Owner of (Triggering unit)) at ((Position of (Triggering unit)) offset by 150.00 towards (Facing of (Triggering unit)) degrees) facing Default building facing (270.0) degrees
      • Set StatsStr[(Player number of (Owner of (Triggering unit)))] = (Strength of (Triggering unit) (Include bonuses))
      • Game - Display to (All players) the text: (String(StatsStr[1]))
        • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • StatsStr[(Player number of (Owner of (Triggering unit)))] Greater than (>) 99
          • Then - Actions
            • Set StatsStr[(Player number of (Owner of (Triggering unit)))] = (StatsStr[(Player number of (Owner of (Triggering unit)))] - 100)
            • Unit - Add HP Bonus 100-1000 to (Summoned unit)
            • Unit - Set level of HP Bonus 100-1000 for (Summoned unit) to 10
          • Else - Actions
            • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
              • If - Conditions
                • StatsStr[(Player number of (Owner of (Triggering unit)))] Greater than (>) 89
              • Then - Actions
                • Set StatsStr[(Player number of (Owner of (Triggering unit)))] = (StatsStr[(Player number of (Owner of (Triggering unit)))] - 90)
                • Unit - Add HP Bonus 100-1000 to (Summoned unit)
                • Unit - Set level of HP Bonus 100-1000 for (Summoned unit) to 9
              • Else - Actions
                • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
                  • If - Conditions
                    • StatsStr[(Player number of (Owner of (Triggering unit)))] Greater than (>) 79
                  • Then - Actions
                    • Set StatsStr[(Player number of (Owner of (Triggering unit)))] = (StatsStr[(Player number of (Owner of (Triggering unit)))] - 80)
                    • Unit - Add HP Bonus 100-1000 to (Summoned unit)
                    • Unit - Set level of HP Bonus 100-1000 for (Summoned unit) to 8
                  • Else - Actions
                    • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
                      • If - Conditions
                        • StatsStr[(Player number of (Owner of (Triggering unit)))] Greater than (>) 69
                      • Then - Actions
                        • Set StatsStr[(Player number of (Owner of (Triggering unit)))] = (StatsStr[(Player number of (Owner of (Triggering unit)))] - 70)
                        • Unit - Add HP Bonus 100-1000 to (Summoned unit)
                        • Unit - Set level of HP Bonus 100-1000 for (Summoned unit) to 7
                      • Else - Actions
                        • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
                          • If - Conditions
                            • StatsStr[(Player number of (Owner of (Triggering unit)))] Greater than (>) 59
                          • Then - Actions
                            • Set StatsStr[(Player number of (Owner of (Triggering unit)))] = (StatsStr[(Player number of (Owner of (Triggering unit)))] - 60)
                            • Unit - Add HP Bonus 100-1000 to (Summoned unit)
                            • Unit - Set level of HP Bonus 100-1000 for (Summoned unit) to 6
                          • Else - Actions
                            • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
                              • If - Conditions
                                • StatsStr[(Player number of (Owner of (Triggering unit)))] Greater than (>) 49
                              • Then - Actions
                                • Set StatsStr[(Player number of (Owner of (Triggering unit)))] = (StatsStr[(Player number of (Owner of (Triggering unit)))] - 50)
                                • Unit - Add HP Bonus 100-1000 to (Triggering unit)
                                • Unit - Set level of HP Bonus 100-1000 for (Triggering unit) to 5
                                • Game - Display to (All players) the text: da mi 50
                              • Else - Actions
                                • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                  • If - Conditions
                                    • StatsStr[(Player number of (Owner of (Triggering unit)))] Greater than (>) 39
                                  • Then - Actions
                                    • Set StatsStr[(Player number of (Owner of (Triggering unit)))] = (StatsStr[(Player number of (Owner of (Triggering unit)))] - 40)
                                    • Unit - Add HP Bonus 100-1000 to (Summoned unit)
                                    • Unit - Set level of HP Bonus 100-1000 for (Summoned unit) to 4
                                  • Else - Actions
                                    • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                      • If - Conditions
                                        • StatsStr[(Player number of (Owner of (Triggering unit)))] Greater than (>) 29
                                      • Then - Actions
                                        • Set StatsStr[(Player number of (Owner of (Triggering unit)))] = (StatsStr[(Player number of (Owner of (Triggering unit)))] - 30)
                                        • Unit - Add HP Bonus 100-1000 to (Summoned unit)
                                        • Unit - Set level of HP Bonus 100-1000 for (Summoned unit) to 3
                                      • Else - Actions
                                        • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                          • If - Conditions
                                            • StatsStr[(Player number of (Owner of (Triggering unit)))] Greater than (>) 19
                                          • Then - Actions
                                            • Set StatsStr[(Player number of (Owner of (Triggering unit)))] = (StatsStr[(Player number of (Owner of (Triggering unit)))] - 20)
                                            • Unit - Add HP Bonus 100-1000 to (Summoned unit)
                                            • Unit - Set level of HP Bonus 100-1000 for (Summoned unit) to 2
                                          • Else - Actions
                                            • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                              • If - Conditions
                                                • StatsStr[(Player number of (Owner of (Triggering unit)))] Greater than (>) 9
                                              • Then - Actions
                                                • Set StatsStr[(Player number of (Owner of (Triggering unit)))] = (StatsStr[(Player number of (Owner of (Triggering unit)))] - 10)
                                                • Unit - Add HP Bonus 100-1000 to (Summoned unit)
                                                • Unit - Set level of HP Bonus 100-1000 for (Summoned unit) to 1
                                              • Else - Actions
                                                • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                                  • If - Conditions
                                                    • StatsStr[(Player number of (Owner of (Triggering unit)))] Equal to (==) 9
                                                  • Then - Actions
                                                    • Set StatsStr[(Player number of (Owner of (Triggering unit)))] = (StatsStr[(Player number of (Owner of (Triggering unit)))] - 9)
                                                    • Unit - Add HP Bonus 10-100 to (Summoned unit)
                                                    • Unit - Set level of HP Bonus 10-100 for (Summoned unit) to 9
                                                  • Else - Actions
                                                    • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                                      • If - Conditions
                                                        • StatsStr[(Player number of (Owner of (Triggering unit)))] Equal to (==) 8
                                                      • Then - Actions
                                                        • Set StatsStr[(Player number of (Owner of (Triggering unit)))] = (StatsStr[(Player number of (Owner of (Triggering unit)))] - 8)
                                                        • Unit - Add HP Bonus 10-100 to (Summoned unit)
                                                        • Unit - Set level of HP Bonus 10-100 for (Summoned unit) to 8
                                                      • Else - Actions
                                                        • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                                          • If - Conditions
                                                            • StatsStr[(Player number of (Owner of (Triggering unit)))] Equal to (==) 7
                                                          • Then - Actions
                                                            • Set StatsStr[(Player number of (Owner of (Triggering unit)))] = (StatsStr[(Player number of (Owner of (Triggering unit)))] - 7)
                                                            • Unit - Add HP Bonus 10-100 to (Summoned unit)
                                                            • Unit - Set level of HP Bonus 10-100 for (Summoned unit) to 7
                                                          • Else - Actions
                                                            • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                                              • If - Conditions
                                                                • StatsStr[(Player number of (Owner of (Triggering unit)))] Equal to (==) 6
                                                              • Then - Actions
                                                                • Set StatsStr[(Player number of (Owner of (Triggering unit)))] = (StatsStr[(Player number of (Owner of (Triggering unit)))] - 6)
                                                                • Unit - Add HP Bonus 10-100 to (Summoned unit)
                                                                • Unit - Set level of HP Bonus 10-100 for (Summoned unit) to 6
                                                              • Else - Actions
                                                                • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                                                  • If - Conditions
                                                                    • StatsStr[(Player number of (Owner of (Triggering unit)))] Equal to (==) 5
                                                                  • Then - Actions
                                                                    • Set StatsStr[(Player number of (Owner of (Triggering unit)))] = (StatsStr[(Player number of (Owner of (Triggering unit)))] - 5)
                                                                    • Unit - Add HP Bonus 10-100 to (Summoned unit)
                                                                    • Unit - Set level of HP Bonus 10-100 for (Summoned unit) to 5
                                                                  • Else - Actions
                                                                    • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                                                      • If - Conditions
                                                                        • StatsStr[(Player number of (Owner of (Triggering unit)))] Equal to (==) 4
                                                                      • Then - Actions
                                                                        • Set StatsStr[(Player number of (Owner of (Triggering unit)))] = (StatsStr[(Player number of (Owner of (Triggering unit)))] - 4)
                                                                        • Unit - Add HP Bonus 10-100 to (Summoned unit)
                                                                        • Unit - Set level of HP Bonus 10-100 for (Summoned unit) to 4
                                                                      • Else - Actions
                                                                        • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                                                          • If - Conditions
                                                                            • StatsStr[(Player number of (Owner of (Triggering unit)))] Equal to (==) 3
                                                                          • Then - Actions
                                                                            • Set StatsStr[(Player number of (Owner of (Triggering unit)))] = (StatsStr[(Player number of (Owner of (Triggering unit)))] - 3)
                                                                            • Unit - Add HP Bonus 10-100 to (Summoned unit)
                                                                            • Unit - Set level of HP Bonus 10-100 for (Summoned unit) to 3
                                                                          • Else - Actions
                                                                            • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                                                              • If - Conditions
                                                                                • StatsStr[(Player number of (Owner of (Triggering unit)))] Equal to (==) 2
                                                                              • Then - Actions
                                                                                • Set StatsStr[(Player number of (Owner of (Triggering unit)))] = (StatsStr[(Player number of (Owner of (Triggering unit)))] - 2)
                                                                                • Unit - Add HP Bonus 10-100 to (Summoned unit)
                                                                                • Unit - Set level of HP Bonus 10-100 for (Summoned unit) to 2
                                                                              • Else - Actions
                                                                                • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                                                                  • If - Conditions
                                                                                    • StatsStr[(Player number of (Owner of (Triggering unit)))] Equal to (==) 1
                                                                                  • Then - Actions
                                                                                    • Set StatsStr[(Player number of (Owner of (Triggering unit)))] = (StatsStr[(Player number of (Owner of (Triggering unit)))] - 1)
                                                                                    • Unit - Add HP Bonus 10-100 to (Summoned unit)
                                                                                    • Unit - Set level of HP Bonus 10-100 for (Summoned unit) to 1
                                                                                  • Else - Actions
                                                                                    • Game - Display to (All players) the text: (String(StatsStr[1]))
Now i should figure that i need 2 triggers b4 i did this ... BTW
anitime i (add hp bonus 10-100) to Trigering units ( at 50 )
it dosent lvl my spell to ani lvl i up it ? most i add ""wait"" thing or?

Firstly, Can you start wrapping your triggers with [ Hidden="Name here" ]then put triggers here with [ TRIGGER ] [ / TRIGGER ] so it dont get overcrowded.
And hmmm, its a strange system i still do not understand what you are trying to do.
 
Level 7
Joined
May 18, 2010
Messages
264
Code:
zxc
Aniway cant figure out how the
asd[/Trigger]]
:cq:
Suprise
 
Level 7
Joined
May 18, 2010
Messages
264
  • Stats add
    • Events
    • Conditions
    • Actions
      • Game - Display to (All players) the text: It runed
        • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • SummoningStats Greater than (>) 99
          • Then - Actions
            • Set SummoningStats = (SummoningStats - 100)
            • Unit - Add HP Bonus 1000 to SummoningUnit
            • Trigger - Run (This trigger) (ignoring conditions)
          • Else - Actions
            • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
              • If - Conditions
                • SummoningStats Greater than (>) 89
              • Then - Actions
                • Set SummoningStats = (SummoningStats - 90)
                • Unit - Add HP Bonus 900 to SummoningUnit
                • Trigger - Run (This trigger) (ignoring conditions)
              • Else - Actions
                • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
                  • If - Conditions
                    • SummoningStats Greater than (>) 79
                  • Then - Actions
                    • Set SummoningStats = (SummoningStats - 80)
                    • Unit - Add HP Bonus 800 to SummoningUnit
                    • Trigger - Run (This trigger) (ignoring conditions)
                  • Else - Actions
                    • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
                      • If - Conditions
                        • SummoningStats Greater than (>) 69
                      • Then - Actions
                        • Set SummoningStats = (SummoningStats - 70)
                        • Unit - Add HP Bonus 700 to SummoningUnit
                        • Trigger - Run (This trigger) (ignoring conditions)
                      • Else - Actions
                        • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
                          • If - Conditions
                            • SummoningStats Greater than (>) 59
                          • Then - Actions
                            • Set SummoningStats = (SummoningStats - 60)
                            • Unit - Add HP Bonus 600 to SummoningUnit
                            • Trigger - Run (This trigger) (ignoring conditions)
                          • Else - Actions
                            • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
                              • If - Conditions
                                • SummoningStats Greater than (>) 49
                              • Then - Actions
                                • Set SummoningStats = (SummoningStats - 50)
                                • Unit - Add HP Bonus 500 to SummoningUnit
                                • Trigger - Run (This trigger) (ignoring conditions)
                              • Else - Actions
                                • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                  • If - Conditions
                                    • SummoningStats Greater than (>) 39
                                  • Then - Actions
                                    • Set SummoningStats = (SummoningStats - 40)
                                    • Unit - Add HP Bonus 400 to SummoningUnit
                                    • Trigger - Run (This trigger) (ignoring conditions)
                                  • Else - Actions
                                    • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                      • If - Conditions
                                        • SummoningStats Greater than (>) 29
                                      • Then - Actions
                                        • Set SummoningStats = (SummoningStats - 30)
                                        • Unit - Add HP Bonus 300 to SummoningUnit
                                        • Trigger - Run (This trigger) (ignoring conditions)
                                      • Else - Actions
                                        • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                          • If - Conditions
                                            • SummoningStats Greater than (>) 19
                                          • Then - Actions
                                            • Set SummoningStats = (SummoningStats - 20)
                                            • Unit - Add HP Bonus 200 to SummoningUnit
                                            • Trigger - Run (This trigger) (ignoring conditions)
                                          • Else - Actions
                                            • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                              • If - Conditions
                                                • SummoningStats Greater than (>) 9
                                              • Then - Actions
                                                • Set SummoningStats = (SummoningStats - 10)
                                                • Unit - Add HP Bonus 100 to SummoningUnit
                                                • Trigger - Run (This trigger) (ignoring conditions)
                                              • Else - Actions
                                                • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                                  • If - Conditions
                                                    • SummoningStats Equal to (==) 9
                                                  • Then - Actions
                                                    • Set SummoningStats = (SummoningStats - 9)
                                                    • Unit - Add HP Bonus 90 to SummoningUnit
                                                  • Else - Actions
                                                    • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                                      • If - Conditions
                                                        • SummoningStats Equal to (==) 8
                                                      • Then - Actions
                                                        • Set SummoningStats = (SummoningStats - 8)
                                                        • Unit - Add HP Bonus 80 to SummoningUnit
                                                      • Else - Actions
                                                        • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                                          • If - Conditions
                                                            • SummoningStats Equal to (==) 7
                                                          • Then - Actions
                                                            • Set SummoningStats = (SummoningStats - 7)
                                                            • Unit - Add HP Bonus 70 to (Summoned unit)
                                                          • Else - Actions
                                                            • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                                              • If - Conditions
                                                                • SummoningStats Equal to (==) 6
                                                              • Then - Actions
                                                                • Set SummoningStats = (SummoningStats - 6)
                                                                • Unit - Add HP Bonus 60 to SummoningUnit
                                                              • Else - Actions
                                                                • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                                                  • If - Conditions
                                                                    • SummoningStats Equal to (==) 5
                                                                  • Then - Actions
                                                                    • Set SummoningStats = (SummoningStats - 5)
                                                                    • Unit - Add HP Bonus 50 to SummoningUnit
                                                                  • Else - Actions
                                                                    • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                                                      • If - Conditions
                                                                        • SummoningStats Greater than (>) 4
                                                                      • Then - Actions
                                                                        • Set SummoningStats = (SummoningStats - 4)
                                                                        • Unit - Add HP Bonus 40 to SummoningUnit
                                                                      • Else - Actions
                                                                        • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                                                          • If - Conditions
                                                                            • SummoningStats Equal to (==) 3
                                                                          • Then - Actions
                                                                            • Set SummoningStats = (SummoningStats - 3)
                                                                            • Unit - Add HP Bonus 30 to SummoningUnit
                                                                          • Else - Actions
                                                                            • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                                                              • If - Conditions
                                                                                • SummoningStats Equal to (==) 2
                                                                              • Then - Actions
                                                                                • Set SummoningStats = (SummoningStats - 2)
                                                                                • Unit - Add HP Bonus 20 to SummoningUnit
                                                                              • Else - Actions
                                                                                • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                                                                  • If - Conditions
                                                                                    • SummoningStats Equal to (==) 1
                                                                                  • Then - Actions
                                                                                    • Set SummoningStats = (SummoningStats - 1)
                                                                                    • Unit - Add HP Bonus 10 to SummoningUnit
                                                                                  • Else - Actions
                                                                                    • Game - Display to (All players) the text: (String(StatsStr[1]))
                                                                                    • Game - Display to (All players) the text: Check done


Non special but it works Flavlesly
(makes lag when used 1st time) but i dont think ppl will mind
 
Hmmm, the reason it lags is because of this
  • If - Conditions
    • SummoningStats Greater than (>) 99
  • If - Conditions
    • SummoningStats Greater than (>) 89
  • If - Conditions
    • SummoningStats Greater than (>) 79
If you notice that third one, It will clash with the second and first one,
as 89 and 99 are both greater than 79,
You would need to arrange it like this
  • If - Conditions
    • SummoningStats Greater than (>) 89
    • SummongStats Less Than (<) 99
would then need to repeat this for each one.
I hope that will help you sort out the lag.
 
Status
Not open for further replies.
Top