Question: how to get rid of the button of a spell?

Xeridanus

New Member
I have a need for getting rid of the button for a spell. I don't just want the button alpha'ed out, i want it completely gone. I have a work around but i'd prefer to get rid of it, if that is possible.
 
Werbung:

Undead_Lives

New Member
I believe that Attribute Bonus is the only ability that does this.
[attachmentid=445]
You'll need to create a trigger to make other effects for the ability.
 

Steel_Cold

New Member
If its passive I think you just put no icon for the spell. Maybe that would work for an actviated spell.

Edit: This doesnt work, I think I did it one time before though I'll have the look through all my maps to find it.
 

Xeridanus

New Member
yes it does leave a green sqaure. alphering it out isn't an option either, the button will still be there, just invisible i can't use the atrribute bonus i need it to be castable. basically, everytime a unit attacks i want it to cast a spell... i just got an idea... i could put in heaps of passive abilities with completely alphaed icons, after the ones i want to show up, then at the end i could put the ones i don't want to show up...

PS this post has gone under some extreme editing, i went away while in reply mode and when i came back there were more replies.
 

Squishy-1

New Member
make the spell completely in the trigger thing if u wanted to make critical strike but without the lobster claw thing and wanted the enemy to bleed u would do something like


event
unit attacks targeted unit
condition
targeted unit = to enemy
action
and here u would use variables and what not to do the special effect you would have
create special effect humanblood001 at origin of targeted unit
i dunno how to do lvl ups
 

Xeridanus

New Member
im trying to make a unit attack using the impale spell. so that when it attacks a target, it casts impale at it. but i think i know how to make it work, i just haven't tried it yet.
 

Undead_Lives

New Member
Under actions all you have to do is...

Cancel Attack
Cast Impale

Or if it's only a chance...then do a random thing...
Pick a random number between 0-9 (or is it 1-10 in GUI? in programming its 0-9..)
IF number = 3
Then cast Impale
Else do nothing.

This way you can still use Atribute Bonus to hide the abilities and you get the same effect.
Now. If you want to do it the non-trigger way, you'll have to use an orb effect. Slow.
Orb of Slow has a chance to cast slow. Replace that with Impale, and you're done.
 
Werbung:

Xeridanus

New Member
ok i've tried that. the impale icon shows up passive... and it seems to damage the unfortunates in the way by twice the amount it says in the data field. thats taking into account the damage done by the unit. the impale spell seems to do twice as much damage as it says it does.

thanks for helping guys, i think i might have to use dummy units.
 
Top