OMGOMGOMG
UMBWGMG (Unidentified Human Being.)
- Reaction score
- 28
and No.
The PlayerUnit thing isn't the problem.
3rd trigger
Trigger:
- Player reverts back to normal
- Events
- Game - The in-game time of day becomes Equal to 6.00
- Conditions
- Actions
- For each (Integer A) from 1 to 11, do (Actions)
- Loop - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Werewolf[(Integer A)] Equal to True
- Then - Actions
- Game - Display to (All players) the text: TEST
- Set Strength[(Integer A)] = (Strength of PlayerUnit[(Integer A)] (Exclude bonuses))
- Set Intellagence[(Integer A)] = (Intelligence of PlayerUnit[(Integer A)] (Exclude bonuses))
- Set Agility[(Integer A)] = (Agility of PlayerUnit[(Integer A)] (Exclude bonuses))
- Set Exp[(Integer A)] = (Hero experience of PlayerUnit[(Integer A)])
- Unit - Replace WereUnit[(Integer A)] with a (Unit-type of PlayerUnit[(Integer A)]) using The old unit's relative life and mana
- Hero - Modify Strength of (Last replaced unit): Set to Strength[(Integer A)]
- Hero - Modify Agility of (Last replaced unit): Set to Agility[(Integer A)]
- Hero - Modify Intelligence of (Last replaced unit): Set to Intellagence[(Integer A)]
- Hero - Set (Last replaced unit) experience to Exp[(Integer A)], Hide level-up graphics
- Set WereUnit[(Integer A)] = (Last replaced unit)
- Else - Actions
2nd trigger
Trigger:
- Player turns into a Werewolf
- Events
- Game - The in-game time of day becomes Greater than or equal to 18.00
- Conditions
- Actions
- For each (Integer A) from 1 to 11, do (Actions)
- Loop - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Werewolf[(Integer A)] Equal to True
- Then - Actions
- Game - Display to (All players) the text: TEST
- Set Strength[(Integer A)] = (Strength of PlayerUnit[(Integer A)] (Exclude bonuses))
- Set Intellagence[(Integer A)] = (Intelligence of PlayerUnit[(Integer A)] (Exclude bonuses))
- Set Agility[(Integer A)] = (Agility of PlayerUnit[(Integer A)] (Exclude bonuses))
- Set Exp[(Integer A)] = (Hero experience of PlayerUnit[(Integer A)])
- Unit - Replace PlayerUnit[(Integer A)] with a Srge. Big Wolf using The old unit's relative life and mana
- Hero - Modify Strength of (Last replaced unit): Set to Strength[(Integer A)]
- Hero - Modify Agility of (Last replaced unit): Set to Agility[(Integer A)]
- Hero - Modify Intelligence of (Last replaced unit): Set to Intellagence[(Integer A)]
- Hero - Set (Last replaced unit) experience to Exp[(Integer A)], Hide level-up graphics
- Hero - Learn skill for (Last replaced unit): Bite
- Set WereUnit[(Integer A)] = (Last created unit)
- Else - Actions
1st trigger
Trigger:
- Bite
- Events
- Unit - A unit Begins casting an ability
- Conditions
- (Ability being cast) Equal to Bite
- ((Target unit of ability being cast) is A Hero) Equal to True
- Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Random integer number between 0 and 100) Less than 35
- Then - Actions
- Game - Display to (All players) the text: TEST
- Trigger - Turn on Player turns into a Werewolf <gen>
- Set Count = (Count + 1)
- Set PlayerUnit[Count] = (Target unit of ability being cast)
- Set Werewolf[Count] = True
- Else - Actions
OK, and those are the triggers.