Morph skills all together

M4st3rM1nd

New Member
Reaction score
0
In my self-made Hero Defense I wanted to make a special all-rounded hero with all morphing abilities.

Now I changed the bear form to a hero skill and made 10 hero-bears with the additional skills roar and unholy frenzy. Bear form itself has also Bear form skill of course. The Bear is supposed to be the combat type

I created a copy of this ability but changed it to Dryad form (the magician type) with entangling roots and spell immunity and cyclone.

The hero also has attribute increase and will get a standard ability and 2 more morph forms (healer and tank) but before that I already ran in to some problems.

1. When the hero changes to Bear form he keeps all skills he had before changing (attribute increase and dryad form if picked)
- this also means that noone can enter over 2 forms because all skill slots are taken from there on.. which is a big problem for me :( -
2. When the hero changes to Bear form and already has Dryad form, then he cant change back. Clicking human form or Dryad form or Bear form will simply change him to either Dryad or Bear once changed.

I hope someone knows a good solution or nice trigger to make this work.

Secondly I needed a good trigger to give the level 3 Dryad the level 3 Cyclone ability without having to:
1. make 10 Dryads (which i already did :banghead:)
2. don't have to switch forms back and forth so the morphed creature gets the right level of abilities.

Kind Regards, MasterMind

P.S. don't all answer my second question, my first is way more important ;)
 

Whisky

New Member
Reaction score
45
I made some triggers that should (hopefully) solve your problem..

When your hero morphs, you can disable his original abilities with this simple trigger:

Trigger:
  • Morph to something
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • Or - Any (Conditions) are true
        • Conditions
          • (Ability being cast) Equal to Bear Morph
          • (Ability being cast) Equal to Dryad Morph
      • (Unit-type of (Triggering unit)) Equal to Morpher
    • Actions
      • Player - Disable Acid Bomb for (Owner of (Casting unit))
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Ability being cast) Equal to Bear Morph
        • Then - Actions
          • Player - Disable Skill 1 for (Owner of (Casting unit))
          • Player - Disable Skill 2 for (Owner of (Casting unit))
          • Player - Disable Dryad Morph for (Owner of (Casting unit))
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Ability being cast) Equal to Dryad Morph
            • Then - Actions
              • Player - Disable Skill 1 for (Owner of (Casting unit))
              • Player - Disable Skill 2 for (Owner of (Casting unit))
              • Player - Disable Bear Morph for (Owner of (Casting unit))
            • Else - Actions
      • Player - Disable Acid Bomb for (Owner of (Casting unit))


And then the same backwards when the hero morphs back:

Trigger:
  • Back to normal
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • Or - Any (Conditions) are true
        • Conditions
          • (Unit-type of (Triggering unit)) Equal to Morpher (Bear)
          • (Unit-type of (Triggering unit)) Equal to Morpher (Dryad)
      • Or - Any (Conditions) are true
        • Conditions
          • (Ability being cast) Equal to Bear Morph
          • (Ability being cast) Equal to Dryad Morph
    • Actions
      • Player - Enable Bear Morph for (Owner of (Casting unit))
      • Player - Enable Dryad Morph for (Owner of (Casting unit))
      • Player - Enable Skill 1 for (Owner of (Casting unit))
      • Player - Enable Skill 2 for (Owner of (Casting unit))


And there is the final trigger (easiest way is to make one of these for each morphable form)

Trigger:
  • Set bear skills
    • Events
      • Unit - A unit Finishes casting an ability
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to Morpher (Bear)
      • (Ability being cast) Equal to Bear Morph
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Real((Level of Bear Morph for (Triggering unit)))) Equal to 1.00
        • Then - Actions
          • Unit - Set level of Morph Skill 1 for (Triggering unit) to 1
          • Unit - Set level of Morph Skill 2 for (Triggering unit) to 1
          • Unit - Set level of Morph Skill 3 for (Triggering unit) to 1
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Real((Level of Bear Morph for (Triggering unit)))) Equal to 2.00
            • Then - Actions
              • Unit - Set level of Morph Skill 1 for (Triggering unit) to 2
              • Unit - Set level of Morph Skill 2 for (Triggering unit) to 2
              • Unit - Set level of Morph Skill 3 for (Triggering unit) to 2
            • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Real((Level of Bear Morph for (Triggering unit)))) Equal to 3.00
                • Then - Actions
                  • Unit - Set level of Morph Skill 1 for (Triggering unit) to 3
                  • Unit - Set level of Morph Skill 2 for (Triggering unit) to 3
                  • Unit - Set level of Morph Skill 3 for (Triggering unit) to 3
                • Else - Actions


I hope these help :thup:

PS. And could someone tell me how to use the ''spoiler'' tags?

Edit: Remember to make sure that you use different base abilities for all the morphing skills, or you won't be able to use all of them.
For additional info about morphing, visit here (if you already haven't)
 

Attachments

  • Triggers.w3x
    18.2 KB · Views: 201

roXplosive

New Member
Reaction score
15
I am just wondering why don't you add the form specific skills as nonhero skills along with Inventory Hero.

Well the spoiler tags are used by writing yourself spoiler and /spoiler in [] . The opening is
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top