About damage and defense

ultimate11

Active Member
Reaction score
25
hi again
So I use WE sience 2 years ago,and as I know so far we can add damage and defense to units via abilities.
I wondering if I can simply add damage or defense via triggers without using abilities (scripts,or jasss code maybe)
I saw some time ago WEunlimited and he has some actions like that,but I was wornning to not use it sience if the w3 patch is changed I wont be able to update my map.
So there is another way?
 

Smitty

Member
Reaction score
20
Upgrades would be one method, but I believe you can also change pretty much any value associated with a hero via JASS. However, I don't know exactly how.
 

Smitty

Member
Reaction score
20
If you don't know, try using upgrades with GUI? At least until you know how to do it more efficiently? Just a thought ^.^
 

Accname

2D-Graphics enthusiast
Reaction score
1,463
There is no way.

The only way to change the status of units is via object editor data. Either upgrades, but these are permanent, or with abilities.
There are some abilities which glitch, adding and removing them immediately after will make their effect stay and stack if done repeatedly. But other then that there is no other way.

WEU did this the same way, it got plenty of dummy abilities which were injected into your project to simulate these status changes.
 

Smitty

Member
Reaction score
20
Is it reliable enough to exploit glitches? Surely it'd be easier just to set upgrades?
 

Accname

2D-Graphics enthusiast
Reaction score
1,463
Is it reliable enough to exploit glitches? Surely it'd be easier just to set upgrades?
You cant reverse upgrades.
Once researched you cannot remove them anymore.

But you can have one lifebonus ability with positive and one with negative values to switch back and forth at any time.
 

ultimate11

Active Member
Reaction score
25
Well thx for your replay Accname but I am realy dissapointed,via OE will take forever to create a masive amount of abilities with diferent value pff....
 

Smitty

Member
Reaction score
20
If you don't need to be able to decrease these stats often, using upgrades would be faster. But if you need to switch between having the increase and not having it, use OE ^.^
 

inevit4ble

Well-Known Member
Reaction score
38
Here's some stuff:
Life Bonus - 3 Levels - LvL1 = 0, LvL 2 = -1, LvL 3 = 1
Add the ability, increasing its level to 2 and removing the ability will increase max hp by 1, it will reduce by 1 if you set to 3 instead of 2.
The same can be done for mana

Upgrades:
Range, Armor, Damage
2x Upgrades, 1 to increase 1 to decrease.
Increase Upgrade with a +25 armor bonus per level increased.
Decrease Upgrade with a -25 armor bonus per level increased.

I like to do this for range. "hero equips bow" increase range upgrade level + 1, "Hero unequips bow" decreasr range upgrade level + 1.

This works BUT you can never reduce the upgrade level as previously mentioned. so if its an upgrade that is frequently used back and forth then you should be aware that an upgrade with 4+ levels begins to slow down loading time

Armor and Damage in WE is very closed off from triggers. Changing them on a unit normal means swapping the unit to a different one with new adjustments etc.
Here is an armor system that you might find a use for
Here is, IMO, the best Damage detection system around.
From Intro of Damage System:
I wanted to create a world where damage detection is your friend and where you can easily check damage types in triggers, use waits, whatever you want, just like if Blizzard itself had made it for us. Well, I achieved that and am damned proud to present to you all the IDDS, intuitive and simple, for your use.

Hope this stuff helps
 

ultimate11

Active Member
Reaction score
25
hmm what can i say inneviatable armour system it only show defense of a unit not decreasing or increasing it .
ok ty for all replay
 

GFreak45

I didnt slap you, i high 5'd your face.
Reaction score
130
to increase or decrease non hero unit armor, the unit must have an inventory ability that is capable of picking up runes/tomes ie: hero inventory

then to increase it by 1 give it a tome that increases armor by 1 with no art or sound, then to decrease it do the same with a negative value, this goes the same for damage, to detect it you should use inevitable's link for the armor detection system
 

GFreak45

I didnt slap you, i high 5'd your face.
Reaction score
130
it doesnt matter, tomes and runes are picked up but dont require an inventory space, they can be added to a unit regardless of the inventory, so long as they have a hero inventory ability

and i remembered, you can also add health via this method
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    Howdy
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top