Spell Sharpen Blade

elmstfreddie

The Finglonger
Reaction score
203
..! Why do all of your spell needs all these extra downloads? I'm pretty sure I could trigger this in GUI without those extra add ons (They are for JASS anyways I'm 99% sure).

K since I've self-taught myself (mostly, up until last month) I really don't know what all these extra caches are, and what these handle systems are. Can someone plzzz explain?
 
1

1337D00D

Guest
Handle Var system allows you to use local variables in different triggers.
In this one, I used it to make a unit "carry" the integer of the amount of times it has attacked.

In GUI you cannot make spells like this and have them be MUI.

Its already in the map so all you need to do is copy/paste.
 

elmstfreddie

The Finglonger
Reaction score
203
Yeah, so I learned on the other post. Sorry I'm not thinking very straight, but ok...

And I could so make this in GUI. Probaly wouldn't work as well, because as I've learned invisible abilities in spell books have a delay going on and a delay going off. Easier in JASS I would assume, but still very possible in GUI.
Actually, it would only be MUI if you have a set amount of units(that ruins the point of MUI doesn't it lol). K point taken :)

Sounds good, I'll check it out now

Hmm, come to think of it I might use a modified version of it in this spell I'm making for a guy... Naw. Don't need to, his map is a single-player campaign, so I don't need it MUI.
 

SFilip

Gone but not forgotten
Reaction score
633
Well now isn't this a bit of a...pointless way to do it?
You can simply go for adding a Item Damage Bonus based ability. Or casting roar.
 
1

1337D00D

Guest
Not if you want the blade to dull after the next X attacks.
 

SFilip

Gone but not forgotten
Reaction score
633
Then you can remove the buff/ability.
Either way the units are taking the damage before the "blade" actually hits them...
 

Sooda

Diversity enchants
Reaction score
318
Looks like someone used event unit is attacked :rolleyes:

EDIT: Just felt like explaning it. KaTTana' s Handle Vars has premade functions what let you link variables to other functions (Correct me here) like LastExpiredTimer what enables retrive info from variables what where linked with that function.
 

Hero

─║╣ero─
Reaction score
250
Then you can remove the buff/ability.
Either way the units are taking the damage before the "blade" actually hits them...

SFilip is correct...you could simply remake this using a ability...then it would be even easier and more freely editable...and indeed you will not need an attack detection system for that damage before the blade hits.
 

Tom Jones

N/A
Reaction score
437
Simplified explanation of handle vars systems:
It allows you assign a "variables" value to another "variable".

The spell:
I have to agree with SFilip, this could have been done by simply adding one of the mentioned abilities to the unit.
 

SFilip

Gone but not forgotten
Reaction score
633
Another good explanation: like custom value for units, but you can attach any variable type to any handle (handle=everything except for boolean, integer, real, string and code).
 

emjlr3

Change can be a good thing
Reaction score
395
let me know if you actually plan to update this or I will remove this from the spell submissions, and close the thread
 

Sirroelivan

Gunnerkrigg Court
Reaction score
95
Can't you just use the custom value of the caster to detect how many times it has attacked???
 
Z

Zell

Guest
..! Why do all of your spell needs all these extra downloads? I'm pretty sure I could trigger this in GUI
Yup, I made this in my project. While it isn't as restricted, it easily could be. Except I called it Sharpen Blades...
 

Kershbob

New Member
Reaction score
30
Easily do this in a simple trigger; using the dummy ability's level as how many "charges" it has left.
 
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