SC2Mapster Forums

Development > Data

Buffs On Death

  • 7 posts
    #1 Feb 04, 2013 at 02:09 UTC - 0 likes

    Hello, I made a Buff System where a unit can spend terrazine gained from killing heroes to buy attribute points using an apply behavior and a stackable buff, now I learn and all units loose their buff on death, How do I keep the buffs, the permanent flag doesn't seem to work. People are saying this is fixed in HoTS, But I am planning to release the beta withing 1-2 weeks. on WoL :P

    my maps will always be Free. and Available to the public at the earliest possible date.

    If you need a tester feel free to ask IShadowWolf.258

    You can also catch me on the IRC most times.

    #2 Feb 04, 2013 at 05:50 UTC - 0 likes

    What people are saying it is "fixed" with HotS?

    It definitely isn't in the Beta right now (edit: Oh, it might actually be, I didn't see the Permanent flag before. Has anyone tested it? As far as I was aware it's just a method available to categorize Behaviors and reference these categories somewhere else. ), and I doubt they wait to add this specific feature at release. It's not even really a feature in my opinion. But I don't know of course.

    If your system is data only I think there is a way to fire effects before the unit actually dies, that might work (instead of using Death Response it's something like Damage Response with Killing Blow checked. I don't know the exact names etc though, I'd have to search myself). If you also use triggers I would use Custom Values in your case and just save the amount of Terrazine every unit has through that. It is probably the easiest way to do it like this, but I don't know if there is a way to reference/access the Custom Value of a unit via Data, but most certainly not. So you'd have to make the whole Terrazine ability costs etc. via Triggers instead of Data.

    Last edited Feb 04, 2013 by Bommes


    Check out my project:
    MechCraft

    #3 Feb 04, 2013 at 05:56 UTC - 0 likes

    misclick, post can be deleted

    Last edited Feb 04, 2013 by Bommes
    #4 Feb 04, 2013 at 07:26 UTC - 0 likes

    @Bommes: Go

    Triggers are lame, Ill wait for the Compatibility patch thats going come out in 1-3 weeks if you look at WoW initial patches.

    Vailreth was working on his Tome Shop and said that they were fixed in HoTS due to this problem being fixed, thats when I realized I had a problem in WoL :P

    #5 Feb 04, 2013 at 07:29 UTC - 0 likes
    Quote from Taintedwisp: Go

    @Bommes: Go

    Triggers are lame, Ill wait for the Compatibility patch thats going come out in 1-3 weeks if you look at WoW initial patches.

    Vailreth was working on his Tome Shop and said that they were fixed in HoTS due to this problem being fixed, thats when I realized I had a problem in WoL :P

    Oh, that's pretty cool :)

    Also helps me with one of my problems, although I'll probably stick with the method that I'm currently using. Definitely useful to know though!

    #6 Feb 04, 2013 at 07:39 UTC - 0 likes

    @Bommes: Go

    Yeah, So im going to wait and see, maybe do a few test in HoTS to double check

    #7 Feb 04, 2013 at 19:42 UTC - 0 likes

    The buff can stay on the unit as long as the corpse still exists.

    Just use triggers to store the values of each point on death if the problem persists.

  • 7 posts

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