Need Help With This Skill I'm making

KeresPup

Member
Reaction score
5
ParacideBomb.gif

Paracide Bomb
"Oh' look shorty' fireflies!" -Al

Description: With their expertise in technology and explosives, Al and Qaeda were able to attach microscopic explosives into small insects, locusts which were minions of Anub’arak. The insects would then set out to find a host body, preferably the enemies’ bodies, yet if no enemies are found, the insects might turn against its masters instead. Each time the enemies would attack, the insects would detonate each time their host attacks. If the host body dies before the insects inside them dies, the insects will find a new host and carry on its mission until it expires.

Details: When this skill is used, Al and Qaeda will release a number of “Insect Bomb” units, which are neither uncontrollable nor selectable. These insects will search for the closest enemy it can find and “stay” inside it. Each time the infected unit attacks, the insect will detonante for a few times before it will expire. The explosion will damage the infected unit greatly, and cause minor splash damage to nearby enemies and allies. If the “host” will die before the insect reaches its’ maximum detonation points, the insect will search for another unit to infect and continue doing so until it reaches its’ maximum detonation.

Note: The Insects will be using the Locusts model. They are unselectable and uncontrollable.

Warning: If the insects do not find a nearby enemy host, they will infect Al and Qaeda instead.


Ability Type: "Summon"/Multi-Target/Debuff
Casting Time: 2 seconds
Mana Cost:100/125/150/175
Cooldown: 45 seconds
Duration of Debuff/Insect Life Span: 60 Seconds
Splash Damage AoE: 200
  • Level 1: 2 Insects will be released
    • Infected unit receives 40 explosive damage each time it attacks.
    • Units near the infected unit will receive 20 damage.
    • Insects detonate up to 3 Times.
  • Level 2: 3 Insects will be released
    • Infected unit receives 45 explosive damage each time it attacks.
    • Units near the infected unit will receive 25 damage.
    • Insects detonate up to 4 Times.
  • Level 3: 4 Insects will be released
    • Infected unit receives 50 explosive damage each time it attacks.
    • Units near the infected unit will receive 30 damage.
    • Insects detonate up to 5 Times.
  • Level 4: 5 Insects will be released
    • Infected unit receives 55 explosive damage each time it attacks.
    • Units near the infected unit will receive 35 damage.
    • Insects detonate up to 6 Times.

================================

I've made it to go the way I want it so far, but it keeps on lagging, please tell me what's wrong with my codes here: (Leaky I think you'll say)

Code:
Paracide Bomb Initialize
    Events
        Unit - A unit Spawns a summoned unit
    Conditions
        (Unit-type of (Summoned unit)) Equal to Paracide Bomb
    Actions
        Unit Group - Pick every unit in (Units within 1000.00 of (Position of (Summoning unit))) and do (Actions)
            Loop - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        ((Picked unit) belongs to an enemy of (Owner of (Summoning unit))) Equal to True
                    Then - Actions
                        Unit - Order (Summoned unit) to Night Elf Warden - Shadow Strike (Random unit from (Units within 1000.00 of (Position of (Summoning unit)) matching ((((Matching unit) is A structure) Equal to False) and (((Matching unit) belongs to an enemy of (Owner of (Summoning unit))) Equal to True))))
                    Else - Actions
                        Unit - Order (Summoned unit) to Night Elf Warden - Shadow Strike (Summoning unit)

Code:
Paracide Bomb Infect
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Infect 
    Actions
        Set ParasitesAtEffect[(Player number of (Owner of (Casting unit)))] = (ParasitesAtEffect[(Player number of (Owner of (Casting unit)))] + 1)
        Set InfectingParasite[(ParasitesAtEffect[(Player number of (Owner of (Casting unit)))] + (((Player number of (Owner of (Casting unit))) - 1) x 5))] = (Casting unit)
        Unit - Set the custom value of (Target unit of ability being cast) to (ParasitesAtEffect[(Player number of (Owner of (Casting unit)))] + (((Player number of (Owner of (Casting unit))) - 1) x 5))
        Unit Group - Add (Target unit of ability being cast) to InfectedUnits[(Player number of (Owner of (Casting unit)))]
        Unit - Hide (Casting unit)

Code:
Paracide Bomb Effect
    Events
        Unit - A unit Is attacked
    Conditions
        ((Attacking unit) has buff Paracide Bomb ) Equal to True
    Actions
        For each (Integer A) from 1 to 16, do (Actions)
            Loop - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        ((Attacking unit) is in InfectedUnits[(Integer A)]) Equal to True
                    Then - Actions
                        Unit Group - Pick every unit in (Units owned by (Player((Integer A))) matching ((Unit-type of (Matching unit)) Equal to Bomb Squad)) and do (Actions)
                            Loop - Actions
                                Unit Group - Pick every unit in (Units within 200.00 of (Position of (Attacking unit))) and do (Actions)
                                    Loop - Actions
                                        Unit - Cause (Random unit from (Units owned by (Player((Integer A))) of type Bomb Squad)) to damage (Picked unit), dealing 20.00 damage of attack type Spells and damage type Fire
                                Unit - Cause (Picked unit) to damage (Attacking unit), dealing 40.00 damage of attack type Spells and damage type Fire
                                Special Effect - Create a special effect attached to the origin of (Attacking unit) using Abilities\Spells\Other\Doom\DoomDeath.mdl
                    Else - Actions

Code:
Paracide Bomb Effect
    Events
        Unit - A unit Is attacked
    Conditions
        ((Attacking unit) has buff Paracide Bomb ) Equal to True
    Actions
        For each (Integer A) from 1 to 16, do (Actions)
            Loop - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        ((Attacking unit) is in InfectedUnits[(Integer A)]) Equal to True
                    Then - Actions
                        Unit Group - Pick every unit in (Units owned by (Player((Integer A))) matching ((Unit-type of (Matching unit)) Equal to Bomb Squad)) and do (Actions)
                            Loop - Actions
                                Unit Group - Pick every unit in (Units within 200.00 of (Position of (Attacking unit))) and do (Actions)
                                    Loop - Actions
                                        Unit - Cause (Random unit from (Units owned by (Player((Integer A))) of type Bomb Squad)) to damage (Picked unit), dealing 20.00 damage of attack type Spells and damage type Fire
                                Unit - Cause (Picked unit) to damage (Attacking unit), dealing 40.00 damage of attack type Spells and damage type Fire
                                Special Effect - Create a special effect attached to the origin of (Attacking unit) using Abilities\Spells\Other\Doom\DoomDeath.mdl
                    Else - Actions

Please help! Please help! :banghead:
 

Chocobo

White-Flower
Reaction score
409
http://www.thehelper.net/forums/showthread.php?t=8229


5. Writing the names of the moderators, or other knowledgable persons, in the subject of your post to try and get your problem answered faster is lame. We will ignore and/or close down any thread that does this. You may write our names in the subject of the post if you want to ask some sort of forum question or questions about us personally. e.g. if you want clarification on an FAQ question, or one of the forum rules, or if you just want to know more about us.


About insect creation, you can use Feral Spirit as base with 4 differant base units (same name but with differant levels). You can detect when a unit is attacked (attacking unit = one of the 4 insect) to remove 40 hp from the attacker and its custom value to +1. And if custom value of the attacking unit equal to the level of the unit + 2, kill it. About the damage near the infected unit, you will simply use 4 differant Permanent Immolations.
 

KeresPup

Member
Reaction score
5
I am using Feral Spirit as the base, using the same unit, the unit has an "Infect Skill" Which makes him use a Shadow Strike skill to give the enemy a buff. Ummm... Immolation does dps, I don't want to do dps.

Nevermind, the thing slowing this skill up was the fact that they appear at the same time and they shoot at the same time.
 

Chocobo

White-Flower
Reaction score
409
I am using Feral Spirit as the base, using the same unit, the unit has an "Infect Skill" Which makes him use a Shadow Strike skill to give the enemy a buff. Ummm... Immolation does dps, I don't want to do dps.

Nevermind, the thing slowing this skill up was the fact that they appear at the same time and they shoot at the same time.

dps? lol you can modify it for a draining effect.
 
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