SC2Mapster Forums

Development > Data

(Solved) Life Leech Weapon

  • 8 posts
    #1 Jan 28, 2013 at 22:30 UTC - 0 likes

    I've tried Effects->Vital Bonus, Vital Fraction Current, and Vital Fraction Maximum under the (Damage) effect but that gives a percentage which makes some ridiculous OP numbers on units with high health.

    I also tried Combat->Leech Life Damage Dealt and it seems to do the same thing.

    Any ideas?

    #2 Jan 28, 2013 at 23:08 UTC - 0 likes

    Tried "Leech Life Damage Dealt" with "0.x" values in the damage effect? So 0.05 for 5%?

    That's the only field that has a name that makes sense to me regarding life leech in the damage effect.

    http://img42.imageshack.us/img42/7586/signaturemj.jpg

    #3 Jan 29, 2013 at 02:18 UTC - 0 likes
    Quote from Ahli634: Go

    Tried "Leech Life Damage Dealt" with "0.x" values in the damage effect? So 0.05 for 5%?

    That's the only field that has a name that makes sense to me regarding life leech in the damage effect.

    So there's no way to give an exact value?

    #4 Jan 29, 2013 at 02:45 UTC - 0 likes

    @Templarfreak: Go If you want the attacker to heal an exact value then you don't need to make it a real leech. Add a Modify Unit effect to heal the attacker by a fixed amount.

    #5 Jan 29, 2013 at 22:07 UTC - 0 likes
    Quote from SoulFilcher: Go

    @Templarfreak: Go If you want the attacker to heal an exact value then you don't need to make it a real leech. Add a Modify Unit effect to heal the attacker by a fixed amount.

    Thanks, man. Your so awesome. =p

    Edit: How would I associate this with the unit in order for it to give the life after each attack?

    Last edited Jan 29, 2013 by Templarfreak
    #6 Jan 30, 2013 at 01:55 UTC - 0 likes

    Make the weapon's effect be a Set effect that contains your Damage effect that targets the Target Unit and your Modify Unit that targets the Caster Unit.

    Assistant Team Leader of "Generic Code" and User of the All-Mighty Data Editor.

    My Amazing Cutscenes

    #7 Jan 31, 2013 at 05:18 UTC - 0 likes

    Thanks.

    It sure does make learning everything easier when I'm walked through it by someone. Thanks for all the help. =p

    #8 Jan 31, 2013 at 06:47 UTC - 0 likes

    Hi guys, now that I see this opened post I've got a question. Is there any way on refering leech on a button or a weapon tooltipn with referencings for example <d ref="Effect,YourEffect,Amount"/> ? I've tried with <d ref="Effect,YourEffect,LeechFraction.VitalArray [0]"/> more or less I don¡t remember exactly what did I typed.

  • 8 posts

You must login to post a comment. Don't have an account? Register to get one!