Help with custom ability please.

F

Finner

Guest
I don't really have much experience with the WE, so i migh be going off in the wrong direction here.

My ability is bases off cleaving attack, but intead of doing a straight amount of damage, the untis that were in the area of effect would be poisoned.

This is how i tried to go about it:
I created an ability off cleaving attack called Decomp Flag (the ability is called decomposition) I made it do 0 damage but attached a buff called decomp flag to the targets that should be effected. Then I tried to make a trigger that would search for any unit with the decomp flag buff on it, removed that buff, and then poison it.

I ran into a lot of problems, I'm not even sure this is the right way to go about it. I'm only a novice programmer, so if anyone could help me get this fixed I would be thankful.
 
Personally, I'd go along a slightly different path. Use the Generic unit - Unit Attacks, set the condition Attacking Unit has ability (Decomposition) equal to True, and set the action to:
Pick every unit in (Units within 300 of (Attacked Unit)) and do actions:
Create one Decomp Dummy Unit for owner of (Attacking Unit) at Position of
(Picked Unit).
Order (Last created unit) to cast Undead - Unholy Frenzy on (Picked Unit
Wait 1 second(s)
Pick every unit in (Units of type (Decomp Dummy Unit)) matching condition (Owner of Matching Unit equal to Owner of Attacking Unit) and do actions:
Remove (Picked Unit)


To go along with this, create a Decomp Dummy Unit, give it the Locust ability, and give it a custom ability based off of Unholy Frenzy. Set the attack speed modifier to 0, set the damage per second to whatever you want, set the allowed targets to Enemy, Organic. Change the buff/animation to whatever. Make sure to set the model file for this to very small (shift-click the Art - Scaling Value and set it to 0.01 or something), so that people don't see it, and set shadow to None. This won't work properly if multiple heroes on the same team have the attack. In that case, eliminate everything after the Wait 1 second(s) command, and create a new trigger that detects when the Unholy Frenzy ability is cast, and kills the casting unit.
 
Off which ability did you base it? For a start, it should be based off of one similar to the ability you are looking to make.
 
Bases Ability

Thank you for your help Regalth, I didn't implement your suggestion, because i realized it would be to powerful for my map. I based it off of Cleaving Attack, sliver hawk.

I have another question. What if intead of the spell being used every attack, I wanted to make it an activated spell, that would "charge" the heroes weapon with poison, and the next attack the aoe poison would go off, and the heroes weapon would be uncharged. Also the "charging" process would take a few second where the hero could not move or attack. Thanks for help in advance.
 
Finner said:
I have another question. What if intead of the spell being used every attack, I wanted to make it an activated spell, that would "charge" the heroes weapon with poison, and the next attack the aoe poison would go off, and the heroes weapon would be uncharged. Also the "charging" process would take a few second where the hero could not move or attack. Thanks for help in advance.

You would have to give it a mana cost, change the 'activation string' and the 'charging' would probably mean an increased casting time...
 
I have an ability kind of like this in my map, so I'll tell you what I did. I based it off of an ability with no target (like Divine Shield, for instance), and set the duration to 1 billion (you need to shift-double click). Change the buff to something that says something like "The next attack will do poison damage", then manually do the rest through triggers (also remove the buff manually).
 
Divine Shield

Ok silver hawk, I made a new ability bases off divine shield like you said, i maxed the duration, and made it give me a buff called Decomp. But it still makes me invulnerable, and i can't find a field to deactivate that aspect of divine shield, everything works well so far, i haven't attempted the trigger yet, but I want this fixed before I move on, thanks.
 
Trigger Trouble

Ok so i started messing around with the trigger for this, and there is no "Generic Unit event - Unit attacks" I can't find it anywhere so i'm not sure how to make this trigger.
 
The event is "Unit is attacked." not "Unit attacks.", which is probably why you cant find it. Also, you need to pick another passive ability I realized, because Divine Shield probably does not have the "Data" fields, which you need. Try the ability Wind Walk instead. Hope that answers everything. :)
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Varine Varine:
    Today I had to scramble, I didn't work most of dinner service and no one told me shit. They had a rough few hours lol
  • Varine Varine:
    I have two salmon, Sockeye and Atlantic. Atlantic is used for the kids salmon and the salmon and beet salad, and can also be added onto any dish or just as a side. Atlantic salmon will almost exclusively ever be FARMED, as it is endangered in the wild, and we ALWAYS cut them to 4 ounces.
  • Varine Varine:
    SOCKEYE salmon, very different and this IS wild caught. We have an ENTREE version, and an add on version. The entree is 7 ounces, the add on is 4. Why? Because that is how someone that wasn't me set up the computer.
  • Varine Varine:
    I had to have this conversation like ten fucking times tonight
  • Varine Varine:
    The issue being, I came into work and had none of this whatsoever
  • Varine Varine:
    No one told me shit
  • Varine Varine:
    So, taking into consideration that what I typed out up there is kind of some fucking nonsense that under normal circumstances no one really needs to fucking be able to explain in any rational way
  • Varine Varine:
    Let alone trying to figure it out from a wildly stressed out me that is also on a phone call trying to get something to show up from Seattle tomorrow while trying to explain this salmon situation, that also is barely solved in maybe a few hours and and but I am bulking it with a few steelhead filets I have and that is a WHOLE fucking different thing to the 19 year old server that got put on day shift C crew that doesn't know who I am.
  • Varine Varine:
    I did however really want days. I like getting off at 4 half the time, and that makes it worth it!
  • Varine Varine:
    Also I hate my job right now but I think that was the hard part. Now it's just work
  • Varine Varine:
    @jonas I'm sorry? I don't know what you're referring to.
  • Varine Varine:
    Once we hit winter I feel like I get to back to having a pretty cool job. Like I bitch about it all the time, but it's work. I'm still gonna bitch
  • Varine Varine:
    All in all though I think this summer is going really well. Some complicated things, but at the end of the day it isn't THAT big of a deal. Not all of our servers have quite realized they are technically sales
  • Varine Varine:
    Like yeah it is a substitute, but FOMO. Chef isn't getting this again this year, he has to figure it out, so it's slightly off on the menu, but that is more or less the LOWEST quality and price. Right now, steelhead is a real stealhear, right?
  • Varine Varine:
    Like fuck off even I can do it
  • Varine Varine:
    I am going to get one of my servers to do that in her server voice and you'll see my point
  • Varine Varine:
    Maybe the bartender. Idk, it's one of my favorite things to hear them go from calm to customer service voice. They will translate it to like "The chef is trying to change that a bit right now so he does have a Alaskan river steelhead. Yeah like the one you might fish probably!" And then the girls can bat their eyes and do pretty girl server shit
  • Varine Varine:
    At least that's how imagine some of them. Did you know mayonnaise is dairy free? A suprisingly amount of people don't\
  • The Helper The Helper:
    mayo is eggs right?
  • The Helper The Helper:
    Seems I never watched the Witcher - looks like i have a lot of content
  • The Helper The Helper:
    Season 1 Episode 8 the marathon continues...
  • jonas jonas:
    mayo is eggs & oil
    +1
  • The Helper The Helper:
    I got halfway season 2 on The Witcher and it lost me. I am going to have to pick this one up again later.
  • jonas jonas:
    season 2 is with the new actor right? it's so far below the first one
  • The Helper The Helper:
    first season was good the 2nd season is bleh I hope I can make it through it for 3

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials
      Top