Removing or modifying ability effect of custom spell

Status
Not open for further replies.
Level 2
Joined
May 16, 2010
Messages
12
I created a custom ability from Rejuvenation and all I want to do is instead of having the Rejuvenation special effect on the model, have the Heal (Human Priest Heal) on it instead.

I can do it with GUI or Object editor - haven't touched JASS yet.

Is this possible? All of the Art fields for the buff and ability don't seem to remove the default Rejuvenation effect.
 

Uncle

Warcraft Moderator
Level 73
Joined
Aug 10, 2018
Messages
7,866
The Rejuvenation effect is created from the buff. However, the Priest Heal effect will only play it's animation once since it's not intended to be a buff. You'll have to either edit the Heal model and add a stand animation to it or trigger it.

Attached a map with an example using a Unit Indexer.
 

Attachments

  • Rejuv Example.w3x
    22.7 KB · Views: 35
Last edited:
Level 2
Joined
May 16, 2010
Messages
12
Interesting.


Essentially, using the object editor and changing what buff is used, and changing the art model on that custom buff doesn't do anything? I have to actually change the model of the main Rejuvenation?
 
Level 45
Joined
Feb 27, 2007
Messages
5,578
No he's saying you can change the model associated with the buff, but buffs play the "stand" animation of the model used and heal is an effect without any named animations. It will play the heal animation once and then not loop it because buffs don't cause the animation to loop automatically or anything. Try it and you will see. If you use a model with a stand animation or something that has no named animations but is static then it will appear over the whole rejuv duration.
 
Level 2
Joined
May 16, 2010
Messages
12
I must be doing something wrong. I can get the animation to play by editing the model using a stand animation or triggering the looping.

The issue I am having is removing the default Rejuvenation effect. Right now, the Heal effect is playing on loop using triggers, but the Rejuvenation special effect is still on the target.

This is what I've done, did I do something wrong?

1.) Duplicate Rejuvenation ability
2.) Duplicate Rejuvenation buff
3.) Remove Rejuvenation art - model to nothing, or to any other model.
4.) Make sure duplicated ability has duplicated buff.


Casting the ability has the correct buff being displayed, but the Rejuvenation special effect still plays. The only way I've been able to remove the default Rejuvenation effect is to alter the parent buff.

Did I do it correctly?
 
Level 2
Joined
May 16, 2010
Messages
12
It might be linked to the original buff. Try changing the art for the original Rejuvenation buff.

The original (parent) Rejuvenation buff - when I change that the model disappears. My only concern if I edit the parent is that, what if I wanted the original Rejuvenation ability to work as well?
 

Uncle

Warcraft Moderator
Level 73
Joined
Aug 10, 2018
Messages
7,866
The original (parent) Rejuvenation buff - when I change that the model disappears. My only concern if I edit the parent is that, what if I wanted the original Rejuvenation ability to work as well?
If you're already triggering the ability then why not code the healing effect too. Would be very easy to add to that trigger I made.
 
Level 2
Joined
May 16, 2010
Messages
12
If you're already triggering the ability then why not code the healing effect too. Would be very easy to add to that trigger I made.

Well, I guess I could do that. Was curious if I was doing something wrong with the ability or if abilities are only really used for original or dummy w/ buffs.
 
Level 45
Joined
Feb 27, 2007
Messages
5,578
Okay but if you put some other model there it does show up as the changed model for the buff in game, right? It honestly sounds to me like you didn't change the buff on the duplicated ability, or whatever you're testing with has the original ability not the duplicated one. I realize you said you did that.
 
Level 2
Joined
May 16, 2010
Messages
12
Okay but if you put some other model there it does show up as the changed model for the buff in game, right? It honestly sounds to me like you didn't change the buff on the duplicated ability, or whatever you're testing with has the original ability not the duplicated one. I realize you said you did that.

Yes I did.

For example, if I add the Heal effect to the buff, the Heal special effect and the default Rejuvenation special effect is played. It's only when I alter the parent Rejuvenation buff that I am able to change it. I wonder if a combination of changing the parent to none.mdx and then changing the child to a different effect might produce some results. I feel like it's hard-coded which makes me wonder what buffs are for besides to be displayed as an icon on the status area.
 
Level 2
Joined
May 16, 2010
Messages
12
I am unsure what the problem you are having is, but it works just fine for me. I'm running 1.31b (6072) and made this test map. The Druid of the Claw has a modified rejuvenation that uses the heal effect without issue; all I did was what you said you did in your first post.


Hmm, very strange. I suppose I found the problem. When I launch the editor it launches the beta for Reforged instead of retail. Launching in retail works completely fine and my map in retail works completely fine. I guess we've found a bug in the beta - I will be sure to post and report on Blizzard's forums.

Thanks everyone for the help! Looks like it was just user error >.>
 
Status
Not open for further replies.
Top