Official Battle Tanks Community
Ability: Reflectors - Printable Version

+- Official Battle Tanks Community (https://btanks.net/forum)
+-- Forum: Battle Tanks - Warcraft III (https://btanks.net/forum/forumdisplay.php?fid=3)
+--- Forum: Suggestions (https://btanks.net/forum/forumdisplay.php?fid=8)
+--- Thread: Ability: Reflectors (/showthread.php?tid=1314)



Ability: Reflectors - horselance - 2009-05-12

This unit reflects a percentage of damage back to source.
Only works for damage from heroes including weapons and excluding AoE damages. (Passive)

Level 1: Reflects 4% damage
Level 2: Reflects 8% damage
Level 3: Reflects 12% damage
Level 4: Reflects 16% damage
Level 5: Reflects 20% damage

Can be a good passive ability for a new tank i think.


Re: Ability: Reflectors - Bobguydude - 2009-05-12

Unless I've heard this wrong, I thought the phoenix fire based weapons made it impossible to detect damage. Wouldn't that make this idea rather difficult to implement?


Re: Ability: Reflectors - Dr.McNinja - 2009-05-12

The only way i see something remotely similar to this working, another idea, is based off a tanks total weapon dps and having that number used in some way for dps based abilities or items. Even THAT may be impossible :?


Re: Ability: Reflectors - horselance - 2009-05-12

I figured out to detect phoenix fire damage and source. But this cant be applied to variable units in normal World Editor. This means, that unit must already exist from the start of game. But as i remember, there was a better world editor unlimited function for this, which also applies "Damage taken" function to variable units. Exo may know better if he can do it.


Re: Ability: Reflectors - cedi - 2009-05-12

WRONG

You can add an event ingame, so pick all units, and add the a specific unit takes damage to the trigger...
And please, don't use the WEU, he isn't up to date and will crash your maps.

cedi


Re: Ability: Reflectors - horselance - 2009-05-13

You cannot use variable in unit takes damage event.


Re: Ability: Reflectors - cedi - 2009-05-13

Code:
blaaa
    Event
        Einheit - A unit enters (Playable map area)
    Condition
    Action
        Trigger - Add to (heydamage) the event (Unit - (Triggering unit) Takes Damage)

Yeahh, yeahh you know what you're talking about. I'm not so bad in triggering. If I'm bad in triggering I won't be the trigger mod in a big forum... So you can believe me.

cedi


Re: Ability: Reflectors - Gammagulp - 2009-05-14

But it would cost more ressources and code to figure out the damage has been done by a phoenix fire ability - or not ?

So damage is dealt nearly everywhere on the map, but this ability should only work for units which own the reflector ability right (specific hero/tank)? If it is possible, I hope it wont help the map more lagging Big Grin


Re: Ability: Reflectors - horselance - 2009-05-14

Ohh. You are right. I didnt know that a trigger can read out from another triggers event.
What i tell was you cannot attach a variable unit to that action. But there is no need as i see.
So it can be done easily i think.


Re: Ability: Reflectors - cedi - 2009-05-14

Yep, and with some condition it isn't a problem. You need to look if the unit has the ability, and the damage unit has the phönix fire buff...

cedi