• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Is this Spell possible?

Status
Not open for further replies.
Level 5
Joined
Aug 8, 2008
Messages
113
Basically the spell works like this.... you remove a buff or disable from an enemy or ally and you have a subskill that places the disables and negative buffs on enemies and the positive buffs on allies. Imma draw a picture in a second

01example.png
 
Level 20
Joined
Jul 14, 2011
Messages
3,213
It's possible, but I think most of it has to be done manually.
If the unit has "Stun" buff, you need to detect from wich skill it's the stun. For that, you need to create a Stun buff for each ability, and each ability level. Same for all the other effects. Then cast your "Keep Buff in a Bottle" in the unit, detect wich buff the unit has, and add the respective ability to the caster.
 
Level 10
Joined
May 28, 2011
Messages
455
Possible.

U need to have a hashtable that store all buff id link with the ability id of the buff.

1st - target unit (take buff)
2nd - detect buff
3rd - store the buff id
4th - target unit (return buff)
5th - order dummy to launch ability (by the ability id) according to the stored buff id

IMO. This is high level spell.
 
Level 6
Joined
Jun 16, 2007
Messages
235
Possible, but not recommended.
You will have to adjust all spells in your game just to make this one work.

Make a simpler spell, for example something that steals buffs and converts it into ability to cast firebolts. Same fun in the game, but much more easier to do.
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
You have to preset every buffs in your game
But you only need one ability to execute this, saves memory/time

The ability description should be generally described, not specifically as you can change its output differently according to what you have last stored
 
Status
Not open for further replies.
Top