Is there a way to destroy/remove/dispel a buff without triggering the preDestroy event? Like in the Return example, if the Return buff is dispelled wouldn't dispelling make the unit move to their original position? Seems like that would not be the intended effect of a dispel.
Or would the...
So does this system discard "damagetype"s like DAMAGE_TYPE_ACID, DAMAGE_TYPE_COLD, DAMAGE_TYPE_DEATH, DAMAGE_TYPE_DEFENSIVE, etc... and instead uses only 3 damage types, physical, magical, and pure?
Why did you choose such a long delay between creep waves? I find myself growing bored waiting for the next wave. It's like I have to find something else to entertain myself when I play this map, especially early when the heros are too weak to kill neutral creeps and when I try to anyay I have to...
I never really understood why .isOn was there in the first place. I can't think of any situation I would ever use it. If I ever did need to find out if a unit had the buff I think I would rather just have a function in the buff struct that returns the unit the buff is applied to instead of a...
if the spell is blocked, it should not be able to multicast.
i was thinking of putting it inside of spellstruct due to the way it would choose targets. some spells might want to be multicast on random allied units only. some might be random enemy units only, some might be the same target...
Jesus you suggested making
module Blockable
method onChannel takes nothing returns nothing
if BlockSpell[this.targetUnit] != 0 then
call BlockSpell[this.targetUnit].destroy()
call this.destroy()
endif
endmethod
endmodule
and having every spell I...
does vjass support mutliple inheritence?
I have a struct that I want to extned a different struct & an interface because I want the new struct to have everything the old struct has plus a few new optional interface methods. Is it possible?
Evasion from the "Evasion" ability will not stack with other "Evasion" abilities but the evasion WILL stack with the evasion from the "Drunken Brawler" ability. So 50% Evasion and 50% Drunken Brawler evasion = total 75% evasion. That is the only way evasions stack.
I don't think you read this right. He didn't say people who play violent video games are bad people. He said they are more aggresive and care less about shit and I don't know how anyone can honestly deny that. Just go on xbox live for like a minute playing Halo or Call of Duty and listen to...
Well I know right clicking an auto cast ability does not interupt orders so I thought I was onto something, adding an auto cast ability to a unit and checking if activating the auto cast works, if it fails you're silenced if it works you're not silenced and then removing the auto cast ability...
Is it possible to add .createTrigger, .destroyTrigger, .startTimer, and .stopTimer like in SpellStruct or would you rather have people keep track of their own triggers and timers in BuffStruct?