• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Help creating this item.

Status
Not open for further replies.
Level 12
Joined
Dec 2, 2016
Messages
733
So the idea of this item is.

Every time the player that has this item. Everytime he hits a wall it adds +50 damage to his total damage.

So

first hit = base damage + 50
2nd hit = base damage + 100
3rd hit = base damage + 150
etc

If he stops attacking the wall for more than 3 seconds the damage stack resets.

I'm not sure how to properly go about making this, any ideas or insights to help me out?
Thanks.
 
Level 12
Joined
Dec 2, 2016
Messages
733
The Incinerate ability should work. Or do you want it as a bonus damage on the damage stat?
Yeah, basically just the wall falls slower and slower. I'd prefer them not to see how much extra damage the guy is doing but that would be ok.

So how do I convert incinerate to a melee ability my memory tells me that ability is ranged.
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,285
The Incinerate ability should work. Or do you want it as a bonus damage on the damage stat?
It only stacks a finite number of times from my experience, although that is not hinted anywhere in the tooltips.

I would suggest using an attack damage modification system (usually by adding/removing a variety of item abilities) and a trigger system to track when a wall is hit. When wall is hit increment damage by 50 and reset timer to 3 seconds. If timer expires remove all added damage.
 
Level 12
Joined
Dec 2, 2016
Messages
733
It only stacks a finite number of times from my experience, although that is not hinted anywhere in the tooltips.

I would suggest using an attack damage modification system (usually by adding/removing a variety of item abilities) and a trigger system to track when a wall is hit. When wall is hit increment damage by 50 and reset timer to 3 seconds. If timer expires remove all added damage.

Yeah but if I have multiple units with this item. Btw only 1 person can stack damage(one item per person), like the item can't stack. But in theory multiple people will be using this item. And I'd imagine that way would get messy that was my first thought to do something like what you said.

I'd prefer to try the first suggestion if possible. Could you help me out in how I turn that ability into a melee activated one? I'm still really new with mixing spells and abilities together.
 
Is there a way to import variables?, there's like 30 variables with this and it will take me like an hour to manually create variables for each :p
File --> Preferences --> General --> Checkmark "Automatically create unknown variables while pasting trigger data"

If it is in all jass then make a GUI trigger and just put every variable in that aka "set bla/variable = whatever value".
 
Level 12
Joined
Dec 2, 2016
Messages
733
File --> Preferences --> General --> Checkmark "Automatically create unknown variables while pasting trigger data"

If it is in all jass then make a GUI trigger and just put every variable in that aka "set bla/variable = whatever value".

So I'm running into this error.

I copied everything over to my game, it works in the other blank map game. But when I try to run it, all triggers appear to be working. No visible errors. On run this happens.

Gyazo - 6defe1a4f53c2a265bf11867cc14f39a.png

I should mention, if this makes any difference. This map I'm using everything is from scratch except the map itself like terrain. It was copylocked and I used a program a while back to crack it so I could use the map and rebuild the game. Do you think there could be an issue there? It seems to error when anything jass related is used in game.
 
So I'm running into this error.

I copied everything over to my game, it works in the other blank map game. But when I try to run it, all triggers appear to be working. No visible errors. On run this happens.

Gyazo - 6defe1a4f53c2a265bf11867cc14f39a.png

I should mention, if this makes any difference. This map I'm using everything is from scratch except the map itself like terrain. It was copylocked and I used a program a while back to crack it so I could use the map and rebuild the game. Do you think there could be an issue there? It seems to error when anything jass related is used in game.
Some either are missing or got copied wrong and need you to manually set them to their right type of variable.
 
Level 12
Joined
Dec 2, 2016
Messages
733
Some either are missing or got copied wrong and need you to manually set them to their right type of variable.
RIP, but the first line says "VarAsString_Real" I searched all the code and can't find that exact line. Or is that just meaning a real variable is erroring?

So you suggest instead of importing all the variables manually create each one or do you mean something else?
 
Level 12
Joined
Dec 2, 2016
Messages
733
So I checked both the original file and my game, and it seems not all variables were imported. But the script itself uses variables already made, so when I copied the triggers over it only created triggers that were missing in the GUI triggers. I'm gonna make sure I have all the right variables made and hopefully that will fix all the issues.
 
Level 12
Joined
Dec 2, 2016
Messages
733
So I got it working now, it was missing a ton of triggers. I now have an issue, this damage engine system only works for units and not structures. Could anyone help me out adding structures to the list? This is a bit advanced for me, I can't find the part where it checks if the target is a unit and not building.

Thanks in advance.

Edit: Figured it out, overlooked a function called 'TargetFilter'

Thanks guys!
 
Last edited:
Status
Not open for further replies.
Top