- Joined
- Mar 30, 2013
- Messages
- 180
It's me again, with another problem.
So i've got this spell that, once used, gives different bonuses, it has three forms and you can cycle between them
-Form 1 Gives X Bonuses
-Form 2 Gives Y Bonuses
-Form 3 Gives Z Bonuses
Y'see the problem is there is also an ability on this hero that makes use of chemical rage, so the unit changes, i've got it to preserve the units MS when transforming (MS is one of the form bonuses/deductions), but the skill book (That has all the other bonuses) doesn't level up (There's three skill books, with level 1-5, level 1 has no bonuses in it and that's the base, both the main unit and the transformed unit have these as default abilities)
So, when transformed, even with this trigger below, it leaves the skill book at level 1 and i have no idea why.
Sorry for it being messy/hard to read it's one of my older things i've just started editing
I'm sure this is gonna be a case of me being stupid, but i don't know everything about transformation abilties since i don't use them much, if there's an easier way to do this just say
So i've got this spell that, once used, gives different bonuses, it has three forms and you can cycle between them
-Form 1 Gives X Bonuses
-Form 2 Gives Y Bonuses
-Form 3 Gives Z Bonuses
Y'see the problem is there is also an ability on this hero that makes use of chemical rage, so the unit changes, i've got it to preserve the units MS when transforming (MS is one of the form bonuses/deductions), but the skill book (That has all the other bonuses) doesn't level up (There's three skill books, with level 1-5, level 1 has no bonuses in it and that's the base, both the main unit and the transformed unit have these as default abilities)
So, when transformed, even with this trigger below, it leaves the skill book at level 1 and i have no idea why.
-
Trans
-
Events
-
Unit - A unit Starts the effect of an ability
-
Unit - A unit Finishes casting an ability
-
-
Conditions
-
(Ability being cast) Equal to Issei_D_New
-
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
IsseiReal[2] Not equal to 1.00
-
-
Then - Actions
-
Set Issei = (Triggering unit)
-
Set IsseiReal[2] = 1.00
-
Set IsseiPoints[4] = (Position of Issei)
-
Unit - Create 1 IsseiTrans for Neutral Passive at IsseiPoints[4] facing (Random angle) degrees
-
Unit - Add a 0.50 second Generic expiration timer to (Last created unit)
-
Unit - Create 1 IsseiTrans2 for Neutral Passive at IsseiPoints[4] facing (Random angle) degrees
-
Unit - Add a 0.50 second Generic expiration timer to (Last created unit)
-
For each (Integer A) from 1 to 5, do (Actions)
-
Loop - Actions
-
Special Effect - Create a special effect at IsseiPoints[4] using war3mapImported\DustWave.mdx
-
Set Random_Number = (Random real number between 1.50 and 2.00)
-
Special Effect - Set Scale of (Last created special effect) to Random_Number
-
Special Effect - Set Alpha of (Last created special effect) to 60
-
Set Random_Number = (Random real number between 0.60 and 1.20)
-
Special Effect - Set Time Scale of (Last created special effect) to Random_Number
-
Special Effect - Set Roll of (Last created special effect) to: (Random angle)
-
Special Effect - Destroy (Last created special effect)
-
-
-
Sound - Play Issei_R <gen> at 100.00% volume, attached to Issei
-
Unit - Set level of IsseiUltBook for Issei to (Level of Issei_D_New for Issei)
-
Custom script: call RemoveLocation(udg_IsseiPoints[4])
-
Set IsseiMovespeed = (Current movement speed of Issei)
-
Wait 1.00 seconds
-
Set Issei = (Triggering unit)
-
Unit - Set Issei movement speed to IsseiMovespeed
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
IsseiForm Equal to 2
-
-
Then - Actions
-
Unit - Set level of IsseiKnight for Issei to 1
-
Unit - Set level of IsseiBishop for Issei to 1
-
Unit - Set level of IsseiRook for Issei to IsseiWLevel
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
IsseiForm Equal to 3
-
-
Then - Actions
-
Unit - Set level of IsseiRook for Issei to 1
-
Unit - Set level of IsseiKnight for Issei to 1
-
Unit - Set level of IsseiBishop for Issei to IsseiWLevel
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
IsseiForm Equal to 1
-
-
Then - Actions
-
Unit - Set level of IsseiBishop for Issei to 1
-
Unit - Set level of IsseiRook for Issei to 1
-
Unit - Set level of IsseiKnight for Issei to IsseiWLevel
-
-
Else - Actions
-
-
-
-
-
-
-
Else - Actions
-
Set IsseiReal[2] = 0.00
-
Set IsseiMovespeed = (Current movement speed of Issei)
-
Wait 1.00 seconds
-
Set Issei = (Triggering unit)
-
Unit - Set Issei movement speed to IsseiMovespeed
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
IsseiForm Equal to 2
-
-
Then - Actions
-
Unit - Set level of IsseiKnight for Issei to 1
-
Unit - Set level of IsseiBishop for Issei to 1
-
Unit - Set level of IsseiRook for Issei to IsseiWLevel
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
IsseiForm Equal to 3
-
-
Then - Actions
-
Unit - Set level of IsseiRook for Issei to 1
-
Unit - Set level of IsseiKnight for Issei to 1
-
Unit - Set level of IsseiBishop for Issei to IsseiWLevel
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
IsseiForm Equal to 1
-
-
Then - Actions
-
Unit - Set level of IsseiBishop for Issei to 1
-
Unit - Set level of IsseiRook for Issei to 1
-
Unit - Set level of IsseiKnight for Issei to IsseiWLevel
-
-
Else - Actions
-
-
-
-
-
-
-
-
-
Sorry for it being messy/hard to read it's one of my older things i've just started editing
I'm sure this is gonna be a case of me being stupid, but i don't know everything about transformation abilties since i don't use them much, if there's an easier way to do this just say