Death Grip help!

Bananarama1

Member
Reaction score
3
Hey!

Someone recently made me an ability called "Death Grip". Its awesome, but unfortuanately i just found out it only works on neutral hostile.

Can anyone fix this for me?

(If not, i would really love anyone to make the spell new! Same sorta effects though - pull, not teleport, stun for a sec or two, 3 levels. Cheers!)
 

Attachments

  • Death Grip Improved.w3x
    23.6 KB · Views: 94

LearningCode

New Member
Reaction score
24
Try changing:

Abilities > Storm Bolt Dummy > Targets Allowed: Air, Enemy, Ground

[EDIT]
Wait-
I found the problem -___-

Trigger:
  • Set Temp_Group = (Units in (Playable map area) matching (((Custom value of (Matching unit)) Not equal to 0) and ((Owner of (Matching unit)) Equal to Neutral Hostile)))
 

Bananarama1

Member
Reaction score
3
Im pretty sure it has something to do with this:

Trigger:
  • Set Temp_Group = (Units in (Playable map area) matching (((Custom value of (Matching unit)) Not equal to 0) and ((Owner of (Matching unit)) Equal to Neutral Hostile)))


Iv tried changing Neutral Hostile to a single player, it works, but i want it to be able to target ANY player or creep.
 

LearningCode

New Member
Reaction score
24
And there in, lies the limitation of this spell, you've found it, well done!

This spell can be made to target anyone.
I'm lazy to read through all that GUI, but use something like this:

Trigger:
  • Set Temp_Group = (Units in (Playable map area) matching (((Custom value of (Matching unit)) Not equal to 0) and (((Matching unit) belongs to an enemy of Player 1 (Red)) Equal to True)))


Problem is, it won't be MPI.
You have to create a Global Player Variable.

When a player chooses this hero, make the Global Player Variable into the player.
Then, use (Matching unit) is an enemy of "Some Global Player Variable"

You could try Player Arrays
Loop integer A <-- that.

Argh, so lazy to type

[EDIT]
I haven't tested it, but I made added one extra trigger and modified the "Death Grip Cast" Trigger
It can be better, but..

eh..
I'm extremely lazy.

There's a bug, the unit moves towards the Caster too quickly.

I uploaded the map, test it, lol
 

Attachments

  • Death Grip Improved.w3x
    23.1 KB · Views: 84

tooltiperror

Super Moderator
Reaction score
231
>MPI

Use a size twelve array, one slot for each player.
 

LearningCode

New Member
Reaction score
24
I did that, lol

PlayerVar(12)

Loop Integer A (1 - 12)
It wasn't as tiring as I thought it would be.

But the units move instantly to the caster, I'm not sure if that's supposed to happen
 

LearningCode

New Member
Reaction score
24
You never told me how much damage and how many levels you want this death grip thingy to have, lol

[EDIT]
I JASSified that GUI thingy you uploaded.
Same spell, same effects, different source.

If you don't know how to configure it, tell me, I'll explain xD

1) Copy + Paste a trigger of your choice (Option 1 or Option 2)
2) Import the custom model that the spell uses
3) Import the abilities
4) Configure the spell any way you want

You didn't specify a damage amount.
So I made the spell deal: DeathGrip Level X 125 magical damage
Level 1: 125 magical damage
Level 2: 250 magical damage
Level 3: 375 magical damage
etc.
etc.


I had fun trying to JASSify that spell xD
 

Attachments

  • Death Grip JASSified.w3x
    28.2 KB · Views: 92
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