Hi, I want to make an item such that once the user has it anyone who attacks him will get slowed. It is something like frost armour. Do I have to create a dummy unit to cast frost armour on this hero when he picks up the item or is there another easier way.
Well yes you could have frost armor continuosly cast when the item is picked up, and remove the buff when the item is lost.
Set the duration to infinityly long time.
However the problem with that is that if you have any other abilities in your game that perhaps "steal buffs" or remove positive buffs from enemies or something like that, it shall mess up the ability. Aswel as the problem with death recast's etc.
Simplist solution I can think of is just triggering the slow, like if they attack you they have a percentage chance to have a dummy unit cast at their position and cast "Slow" (Human Sorceress i think) apon them, just change the looks of the 'Slow' buff apon the target. Only problems you could have with that is that they will be slowed before the projectile hits. (unless you add cast delay on dummy ability or something like that)
Anyways, if you need help with either of those triggers just give me a shout, will be more than happy to help
Well you could just use an item that has an aura on it. This could be any item aura ability. Remove the data from the aura, then when the hero is attacked, check if he has the buff. If he does, slow the attacker
Well you could just use an item that has an aura on it. This could be any item aura ability. Remove the data from the aura, then when the hero is attacked, check if he has the buff. If he does, slow the attacker
I don't think I'm dealing with quite the same pressures though, at the very least its a significantly smaller system. For the time being I'm just going to put together a quick scrubby box though and hope it works good enough to not make my house toxic
I do know this - xenforo dropped the ball by not keeping the vbulletin reputation comments as a feature. The loss of the Reputation comments data when we switched to Xenforo really was the death knell for the site when it came to all the users that left. I know I missed it so much and I got way less interested in the site when that feature was gone and I run the site.