Spellpack Return, Armor Crush and Forge Master

Earlenlajnen

Member
Reaction score
10
Details
All these Spells are made in GUI.
Armor Crush and Forge Master are MUI
I tried to make them unique and original.
All spells should be leakless. If you find something weird, give me a shout.

This Spellpack Contains:
  • Return
  • Armor Crush
  • Forge Master


Return


Target Type: Single Allied/Enemy Unit

MUI: Sadly no.

Description:
The Mountain King teleports himself to an allied unit or teleports an enemy unit to him. Heals allied units for 5% of their max health and stuns enemy units for 2 seconds.

Level 1: 35 second cooldown and 700 range
Level 2: 30 second cooldown and 800 range
Level 3: 25 second cooldown and 900 range
Level 4: 20 second cooldown and 1000 range

Notes:
0.1 seconds wait makes it not MUI. It's there to create a cooldown when being teleported.


Code:

Trigger:
  • Unit - A unit Starts the effect of an ability
    • (Ability being cast) Equal to Return
    • Set RCaster = (Triggering unit)
    • Set RTarget = (Target unit of ability being cast)
    • Set RHeal = 20.00
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • (RTarget belongs to an enemy of (Owner of RCaster)) Equal to True
      • Then - Actions
        • Set RPoint = (Position of RCaster)
        • Unit - Move RTarget instantly to RPoint
        • Unit - Create 1 Dummy Unit for (Owner of RCaster) at RPoint facing Default building facing degrees
        • Unit - Add Stun to (Last created unit)
        • Unit - Order (Last created unit) to Neutral - Firebolt RTarget
        • Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
        • Special Effect - Create a special effect attached to the origin of RTarget using Abilities\Spells\NightElf\Blink\BlinkCaster.mdl
        • Special Effect - Destroy (Last created special effect)
      • Else - Actions
        • Wait 0.05 seconds
        • Set RPoint = (Position of RTarget)
        • Unit - Move RCaster instantly to RPoint
        • Special Effect - Create a special effect attached to the origin of RCaster using Abilities\Spells\NightElf\Blink\BlinkCaster.mdl
        • Special Effect - Destroy (Last created special effect)
        • Unit - Set life of RTarget to ((Life of RTarget) + ((Max life of RTarget) / RHeal))
        • Special Effect - Create a special effect attached to the origin of RTarget using Abilities\Spells\NightElf\Blink\BlinkCaster.mdl
        • Special Effect - Destroy (Last created special effect)
    • Custom script: set udg_RCaster = null
    • Custom script: set udg_RTarget = null
    • Custom script: call RemoveLocation (udg_RPoint)

~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~

Armor Crush

Target Type: AoE Enemy Unit

MUI: Yes.

Description:
The Mountain King slams the ground, crushing nearby enemies armor and ignites them. Has a 40% chance to do extra damage. Also deals 8 damage per second to ignited targets and reduces their armor by 10. Interupts enemy spell casting.

Level 1: 50 damage, chance to 2 times normal damage.
Level 2: 100 damage, chance to 2 times normal damage.
Level 3: 150 damage, chance to 3 times normal damage.
Level 4: 200 damage, chance to 3 times normal damage.

Notes:
Targets Wards
Attack Type Spells and Damage Type Normal


Code:

Trigger:
  • Unit - A unit Starts the effect of an ability
    • (Ability being cast) Equal to Armor Crush
    • Set ACLevelDamage = 50.00
    • Set ACPoint = (Position of (Triggering unit))
    • Set ACGroup = (Units within 350.00 of ACPoint matching ((((Matching unit) is alive) Equal to True) and ((((Matching unit) is A structure) Equal to False) and (((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True))))
    • Set ACLevel = (Level of Armor Crush for (Triggering unit))
    • Unit Group - Pick every unit in ACGroup and do (Actions)
      • Loop - Actions
        • Custom script: local unit udg_ACUnit
        • Set ACUnit = (Picked unit)
        • Unit - Create 1 Dummy Unit for (Owner of (Triggering unit)) at ACPoint facing Default building facing degrees
        • Unit - Add Armor Reduction to (Last created unit)
        • Unit - Order (Last created unit) to Human Priest - Inner Fire ACUnit
        • Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
        • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • (Random integer number between 1 and 100) Less than or equal to 40
          • Then - Actions
            • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              • If - Conditions
                • ACLevel Less than or equal to 2
              • Then - Actions
                • Set ACDamage = (ACLevelDamage x (Real(ACLevel)))
                • Set ACDamage = (ACDamage x 2.00)
                • Unit - Cause (Triggering unit) to damage ACUnit, dealing ACDamage damage of attack type Spells and damage type Normal
                • Special Effect - Create a special effect attached to the chest of ACUnit using Abilities\Weapons\AncientProtectorMissile\AncientProtectorMissile.mdl
                • Special Effect - Destroy (Last created special effect)
                • Special Effect - Create a special effect attached to the chest of ACUnit using Abilities\Spells\Other\Incinerate\FireLordDeathExplode.mdl
                • Special Effect - Destroy (Last created special effect)
              • Else - Actions
                • Set ACDamage = (ACLevelDamage x (Real(ACLevel)))
                • Set ACDamage = (ACDamage x 3.00)
                • Unit - Cause ACUnit to damage (Picked unit), dealing ACDamage damage of attack type Spells and damage type Normal
                • Special Effect - Create a special effect attached to the chest of ACUnit using Abilities\Weapons\AncientProtectorMissile\AncientProtectorMissile.mdl
                • Special Effect - Destroy (Last created special effect)
                • Special Effect - Create a special effect attached to the chest of ACUnit using Abilities\Spells\Other\Incinerate\FireLordDeathExplode.mdl
                • Special Effect - Destroy (Last created special effect)
          • Else - Actions
            • Set ACDamage = (ACLevelDamage x (Real(ACLevel)))
            • Unit - Cause ACUnit to damage (Picked unit), dealing ACDamage damage of attack type Spells and damage type Normal
            • Special Effect - Create a special effect attached to the chest of ACUnit using Abilities\Weapons\AncientProtectorMissile\AncientProtectorMissile.mdl
            • Special Effect - Destroy (Last created special effect)
        • Custom script: set udg_ACUnit = null
        • Custom script: call RemoveLocation (udg_ACPoint)
        • Custom script: call DestroyGroup (udg_ACGroup)

~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~

Forge Master

Target Type: AoE Enemy Hero

MUI: Yes.

Description:
Deals damage to nearby enemy heroes when they use an item and has a precentege chance to destroy the used item. Deals 60 base damage.

Level 1: Deals 15 times the item level in damage and has a 6% chance to destroy it.
Level 2: Deals 30 times the item level in damage and has a 7% chance to destroy it.
Level 3: Deals 45 times the item level in damage and has a 8% chance to destroy it.
Level 4: Deals 60 times the item level in damage and has a 9% chance to destroy it.

Notes:
If the items is purchasable or charged there is a 20% chance to destroy it.
Attack Type Spells and Damage Type Fire


Code:

Trigger:
  • Unit - A unit Uses an item
    • ((Triggering unit) is A Hero) Equal to True
    • Set FMLevelDamage = 15.00
    • Set FMBaseDamage = 60.00
    • Set FMPoint = (Position of (Triggering unit))
    • Set FMHeroes = (Units within 700.00 of FMPoint matching ((((Matching unit) is A Hero) Equal to True) and ((((Owner of (Matching unit)) is an enemy of (Owner of (Triggering unit))) Equal to True) and ((Unit-type of (Matching unit)) Equal to Mountain King))))
    • Unit Group - Pick every unit in FMHeroes and do (Actions)
      • Loop - Actions
        • Set FMItem = (Item being manipulated)
        • Set FMLevel = (Level of Forge Master for (Picked unit))
        • Set FMItemLevel = (Item level of FMItem)
        • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • FMLevel Greater than 0
          • Then - Actions
            • Unit - Cause (Picked unit) to damage (Triggering unit), dealing (FMBaseDamage + ((FMLevelDamage x (Real(FMLevel))) x (Real(FMItemLevel)))) damage of attack type Spells and damage type Fire
            • Special Effect - Create a special effect attached to the chest of (Triggering unit) using Abilities\Spells\Other\Incinerate\FireLordDeathExplode.mdl
            • Special Effect - Destroy (Last created special effect)
            • Special Effect - Create a special effect attached to the chest of (Triggering unit) using Abilities\Weapons\AncientProtectorMissile\AncientProtectorMissile.mdl
            • Special Effect - Destroy (Last created special effect)
            • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              • If - Conditions
                • (Item-class of FMItem) Not equal to Charged
                • (Item-class of FMItem) Not equal to Purchasable
              • Then - Actions
                • If ((Random integer number between 1 and 100) Less than or equal to (5 + FMLevel)) then do (Item - Remove FMItem) else do (Do nothing)
              • Else - Actions
                • If ((Random integer number between 1 and 100) Less than or equal to 20) then do (Item - Remove FMItem) else do (Do nothing)
          • Else - Actions
    • Custom script: call RemoveLocation (udg_FMPoint)
    • Custom script: call DestroyGroup (udg_FMHeroes)

Credits:
JASS:
Tinki3: Spellmap Template
FrIkY: Icon for Forge Master


Offtopic: How do i Insert pictures from my harddrive in to the text?
 

Attachments

  • AmrorCrushSpell.jpg
    AmrorCrushSpell.jpg
    307 KB · Views: 412
  • ReturnSpell.jpg
    ReturnSpell.jpg
    211.1 KB · Views: 425
  • Mountain_King_SpellPack.w3x
    75.4 KB · Views: 385

BlackRose

Forum User
Reaction score
239
[noparse]
[/noparse]

Did you read rules? You have to paste the code under each spell so it's easier for people to check.

After testing the spells, they are awfully simple, Return is essentially a Blink.
Armor Crush is a mini-stun area armor reduction spell.
While Forge Master? I couldn't find any items to test [I'm lazy to add my own].
 

Earlenlajnen

Member
Reaction score
10
Sorry for not adding code. Should have done it immediatly but you know: blah blah first submission and all that. Tinki3 never seemed to add his code in his spells... whatever :p.

Whats wrong with simple? I tried to come up with somehting simple yet unique.

I may admit return is kinda easy and very much a blink ability. But the idea of this spell was to give the hero an ability so that he could blink enemies to him and do some damage with the stun or assist his allies with the miniheal.

Armor Crush reduces armor, causes damage, creates a ministun, gives a dps debuff and has a 40% chance do cause 2 or 3 times the normal damage. Not just a ministun.

I actually customized the map and added heroes with items to the left and right of the map! You don't have to add items on your own to test Forge Master.

Anyway, thanks for replying at least :eek:. If you guys want better spells I will have to come up with something better...
At least i know what the standard is now.
 

BlackRose

Forum User
Reaction score
239
I actually customized the map and added heroes with items to the left and right of the map! You don't have to add items on your own to test Forge Master.

You'll have to excuse my general lazyness in searching :)
I just don't tend to go test the spell out more than once if it doesn't seem interesting.
 

Earlenlajnen

Member
Reaction score
10
Well do you have suggestions for an "interesting" spell then?
If I can do it i would love to create it!
 

Darthfett

Aerospace/Cybersecurity Software Engineer
Reaction score
615
The included code is not strictly copied and pasted from the game (you can get this code by right-clicking the trigger name and selecting "Copy As Text").

Also, I don't believe we approve scripts with pseudo local variables (global shadowing), as seen here:

Trigger:
  • Custom script: local unit udg_ACUnit
    • Set ACUnit = (Picked unit)


Due to the lack of a wait, this is also unnecessary.

I'm going to graveyard this until these issues are addressed.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    So what it really is me trying to implement some kind of better site navigation not change the whole theme of the site
  • Varine Varine:
    How can you tell the difference between real traffic and indexing or AI generation bots?
  • The Helper The Helper:
    The bots will show up as users online in the forum software but they do not show up in my stats tracking. I am sure there are bots in the stats but the way alot of the bots treat the site do not show up on the stats
  • Varine Varine:
    I want to build a filtration system for my 3d printer, and that shit is so much more complicated than I thought it would be
  • Varine Varine:
    Apparently ABS emits styrene particulates which can be like .2 micrometers, which idk if the VOC detectors I have can even catch that
  • Varine Varine:
    Anyway I need to get some of those sensors and two air pressure sensors installed before an after the filters, which I need to figure out how to calculate the necessary pressure for and I have yet to find anything that tells me how to actually do that, just the cfm ratings
  • Varine Varine:
    And then I have to set up an arduino board to read those sensors, which I also don't know very much about but I have a whole bunch of crash course things for that
  • Varine Varine:
    These sensors are also a lot more than I thought they would be. Like 5 to 10 each, idk why but I assumed they would be like 2 dollars
  • Varine Varine:
    Another issue I'm learning is that a lot of the air quality sensors don't work at very high ambient temperatures. I'm planning on heating this enclosure to like 60C or so, and that's the upper limit of their functionality
  • Varine Varine:
    Although I don't know if I need to actually actively heat it or just let the plate and hotend bring the ambient temp to whatever it will, but even then I need to figure out an exfiltration for hot air. I think I kind of know what to do but it's still fucking confusing
  • The Helper The Helper:
    Maybe you could find some of that information from AC tech - like how they detect freon and such
  • Varine Varine:
    That's mostly what I've been looking at
  • Varine Varine:
    I don't think I'm dealing with quite the same pressures though, at the very least its a significantly smaller system. For the time being I'm just going to put together a quick scrubby box though and hope it works good enough to not make my house toxic
  • Varine Varine:
    I mean I don't use this enough to pose any significant danger I don't think, but I would still rather not be throwing styrene all over the air
  • The Helper The Helper:
    New dessert added to recipes Southern Pecan Praline Cake https://www.thehelper.net/threads/recipe-southern-pecan-praline-cake.193555/
  • The Helper The Helper:
    Another bot invasion 493 members online most of them bots that do not show up on stats
  • Varine Varine:
    I'm looking at a solid 378 guests, but 3 members. Of which two are me and VSNES. The third is unlisted, which makes me think its a ghost.
    +1
  • The Helper The Helper:
    Some members choose invisibility mode
    +1
  • The Helper The Helper:
    I bitch about Xenforo sometimes but it really is full featured you just have to really know what you are doing to get the most out of it.
  • The Helper The Helper:
    It is just not easy to fix styles and customize but it definitely can be done
  • The Helper The Helper:
    I do know this - xenforo dropped the ball by not keeping the vbulletin reputation comments as a feature. The loss of the Reputation comments data when we switched to Xenforo really was the death knell for the site when it came to all the users that left. I know I missed it so much and I got way less interested in the site when that feature was gone and I run the site.
  • Blackveiled Blackveiled:
    People love rep, lol
    +1
  • The Helper The Helper:
    The recipe today is Sloppy Joe Casserole - one of my faves LOL https://www.thehelper.net/threads/sloppy-joe-casserole-with-manwich.193585/

      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