Spell Help

Rare_Yeoman

Cool Member
Reaction score
1
I am currently creating a Necromancer Hero and have hit a few snags with his spells.

The first spell I need help with is called Preservation. Basically take the meat wagon's cargo hold ability and make it into a hero ability with 4 lvls, each lvl increases the amount of corpses the hero can hold, starting at 2 and ending with 8. This part i am capable of doing, but I also want the hero to recieve an aura that suspends corpse decay in an area. So the area never increases with ranks, only the storage capacity does.

Secondly, i need a spell that destroys corpses around the hero, dealing AOE dmg. Again 4 ranks, dmg/area increases with each rank.

Finally, my last spell, Create Abomination, I'm not sure if it's possible to make, but oh well. I need this spell to check how many corpses the hero is carrying, if it is less than 2, nothing happens; If it is 2 it summons a weak abomination; 3, a lesser abomination; 4, minor abomination; 5, an abomination; 6, a strong abomination; 7, major abomination; and finally if there are 8 corpses being stored an even stronger abomination.
-for now just one rank, probably going to make 3 ranks that increae health or dmg, but im not sure yet-

I don't need the abominations made, i can do that, just the spell.

-If i was unclear about anything please ask, and of course you will recieve rep and credit for the spell.

--P.S. If anyone uses these ideas, i'd appreciate credit for them.
 

MicroSheep

New Member
Reaction score
3
For Preservation,

Give the hero an aura, that only effects enemy dead units, but has no effect.

Then do in triggers:
Trigger:
  • Untitled Trigger 001
    • Events
      • Unit - A unit comes within 400.00 of Necromancer <gen>
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Triggering unit) has buff Preservation) Equal to True
          • ((Triggering unit) is dead) Equal to True
        • Then - Actions
          • Unit - Suspend corpse decay for (Triggering unit)
        • Else - Actions


I haven't tested it, but it looks like it should work. There's also got to be a trigger for when it leaves 400 range of necromancer, it resumes corpse delay.

Necromancer would be a Unit variable, array if there are many players that can select him.

Let me know if it works

2. Is it casting or passive?

3. Basically every time the Necromancer uses Preservation, it sets an integer variable to "CreateAbominationInteger + 1", then do another trigger where:
Trigger:
  • Untitled Trigger 001
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to (Spell#2)
    • Actions
      • Set CreateAbominationInteger = (Bounty + 1)


Then trigger #2

Trigger:
  • Untitled Trigger 001
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Create Abomination
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • CreateAbominationInteger Equal to 2
        • Then - Actions
          • Unit - Create 1 Abomination for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Default building facing degrees
          • Unit - Add a 60.00 second Generic expiration timer to (Last created unit)
          • Unit - Create 1 Abomination for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Default building facing degrees
          • Unit - Add a 60.00 second Generic expiration timer to (Last created unit)
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • CreateAbominationInteger Equal to 3
            • Then - Actions
              • Unit - Create 1 Abomination for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Default building facing degrees
              • Unit - Add a 60.00 second Generic expiration timer to (Last created unit)
              • Unit - Create 1 Abomination for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Default building facing degrees
              • Unit - Add a 60.00 second Generic expiration timer to (Last created unit)
            • Else - Actions


Also you'll need a trigger to reduce CreateAbominationInteger = CreateabominationInteger - 1
whenever it loses a cargo thingyy
 

Rare_Yeoman

Cool Member
Reaction score
1
-I've only gotten a chance to try your first trigger, and it seems to work- thank you

And this ability, Preservance, is a passive aura around the necromancer.

"3. Basically every time the Necromancer uses Preservation, it sets an integer variable to "CreateAbominationInteger + 1", then do another trigger where:
Trigger:
Untitled Trigger 001
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to (Spell#2)
Actions
Set CreateAbominationInteger = (Bounty + 1)"

Not sure what you mean here

I'm having trouble with the last trigger.

Do you have it set up to remove and destroy the corpses when the abomination is created?

Again thank you for the reply.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top