Changing damage

moonlight

New Member
Reaction score
0
Hello, I have a weird problem where the damage of a hero changes when he picks up an item, his base damage is 4-9 (agility as main stat) and the item adds some agility, but when he picks up the item, the damage changes to 5-10 (+ some numbers). Anyone has a clue of why the base damage changes?
 
the primary attribute also affects damage, you can disable this in the gameplay constants
 
yes, but the added damage would be put after a + sign. The only way the base damage could increase (to my knowledge) is if his base agility changed, or he leveled up.
 
yeah, I also found it very strange, cause it changes back when he drops the item (it has nothing to do with level up, and the problem is not that he gains damage (not after the + sign), but still can't understand why the base damage changes...)
 
i know it this way :
adding bonus damage : shown as a green number behind a + sign
but if youre adding main attribute then wc3 changes the dmg (white number) because you have more main attribute and the green number behind is the bonus damage. it this way :
main damage (the white number) uses complete main attribute

bonus damage (the green number) just uses the added attribute (the green number behind the main attribute) and the added damage (an item adding 50 dmg for example)


so it looks like this :
7-9 normal

adding some main attribute =>

8-10 + 4

this is just an example...

i hope you all got it now and the problem is solved.

greetz happy
 
Thanks for the help so far (+creds), but I have one thing left to ask:

Exactly when does the main damage change, because I noticed that when I pick up item #1 (all items change main attribute, but with different numbers) the main damage increased by 1 (8-10), item #2 = main damage increased further by 1 (9-11) and when I finally pick up item #3 = main damage decreased by 1 again (8-10), I just can't find the pattern of how this change works. (if you want the attribute changes I can check them)

(it might be worth to mention that each main attribute increases damage by 1½, I am wondering if this is the thing behind all of this).
 
i would like to know which items you used because i never had an item adding main attribute but decreasing dmg.....so pls tell me the items (if custom made tell me what the item adds) and the hero so i can test it myself.

now without testing i have no clue....

greetz happy
 
I can try to create a small map with the items needed (+ a hero), just for testing and then upload it so that you can try it out. (it will probably be uploaded by Sunday), thx for the help btw ;)
 
There, I uploaded a small map with a hero 5-10 damage and 3 items which if you pick them up in order 1, 2, 3 they will increase the damage to 6-11 (+ numbers) then to 7-12 (+ numbers) then back to 6-11 (+ numbers).

Hope this can help ;)
 

Attachments

  • testmap.w3x
    16.3 KB · Views: 171
thats because damage is a real value so, if its for example less than or equal to 4.4 it shows up as 4 but if its between 4.5 and 5 it shows up as 5
so basically warcraft just rounds up/down damage
 
That would mean:
base damage without items: 5-10
each agi point gives 1½ damage
item 1 gives 1 agi

damage with item 1 in inventory: 5-10 + 1½ = 6-11 + 1 (instead of 5-10 + 2)

---------------------------------------

that would explain what happens when you pick up the first item in the testmap, but the base damage changes again after the second item (to 7-12) I find this quite strange... (and then changes back to 6-11 while having all 3 items in the inventory)
 
If you've noticed, damage per attribute point is actually a REAL value, try setting it to an Integer? I mean 1,2,3 etc not 1.01/1.96 or wtvr
 
The only problem with that is that 1½ damage is what the agility should give in my map...

I don't have a real problem with the damage changing, but I can't understand how it works, that's what my thread is about (increased understanding)
 
I noticed the same thing in one of the maps.
My hero (let's say his primary att. is Agility) would pick up multiple Amulets of Agility +15, with each agility increasing damage by 0.6 (so 15 agi -> 9 damage). First 3 amulets increased the green bonus damage by 9 each. But the fourth increases the base damage by 4 and green bonus damage by further 5.

I consider it a war3 interface bug.
 
no offense... or maybe because an integer looks better than a real in just about any interface
 
General chit-chat
Help Users
  • The Helper The Helper:
    News portal has been retired. Main page of site goes to Headline News forum now
  • The Helper The Helper:
    I am working on getting access to the old news portal under a different URL for those that would rather use that for news before we get a different news view.
  • Ghan Ghan:
    Easily done
    +1
  • The Helper The Helper:
    https://www.thehelper.net/pages/news/ is a link to the old news portal - i will integrate it into the interface somewhere when i figure it out
  • Ghan Ghan:
    Need to try something
  • Ghan Ghan:
    Hopefully this won't cause problems.
  • Ghan Ghan:
    Hmm
  • Ghan Ghan:
    I have converted the Headline News forum to an Article type forum. It will now show the top 20 threads with more detail of each thread.
  • Ghan Ghan:
    See how we like that.
  • The Helper The Helper:
    I do not see a way to go past the 1st page of posts on the forum though
  • The Helper The Helper:
    It is OK though for the main page to open up on the forum in the view it was before. As long as the portal has its own URL so it can be viewed that way I do want to try it as a regular forum view for a while
  • Ghan Ghan:
    Yeah I'm not sure what the deal is with the pagination.
  • Ghan Ghan:
    It SHOULD be there so I think it might just be an artifact of having an older style.
  • Ghan Ghan:
    I switched it to a "Standard" article forum. This will show the thread list like normal, but the threads themselves will have the first post set up above the rest of the "comments"
  • The Helper The Helper:
    I don't really get that article forum but I think it is because I have never really seen it used on a multi post thread
  • Ghan Ghan:
    RpNation makes more use of it right now as an example: https://www.rpnation.com/news/
  • The Helper The Helper:
  • The Helper The Helper:
    What do you think Tom?
  • tom_mai78101 tom_mai78101:
    I will have to get used to this.
  • tom_mai78101 tom_mai78101:
    The latest news feed looks good
  • The Helper The Helper:
    I would like to see it again like Ghan had it the first time with pagination though - without the pagination that view will not work but with pagination it just might...
  • The Helper The Helper:
    This drink recipe I have had more than a few times back in the day! Mind Eraser https://www.thehelper.net/threads/cocktail-mind-eraser.194720/

      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