#Attack Damage of an Item
1 messages · Page 1 of 1 (latest)
_damage has to be set tho
doesnt it
I ask again @blissful cove why do u need to check the damage mod
cant you just check enchants using nbt data or smth
Yeah idk what this guy is trying to so
Why would he need to check sword dmg
Also U can prolly check generic.attack.damage using nbt data asw
I might be wrong
thanks for the responses and sorry for not responding lol i was asleep, i need to check the full damage you will deal (ig if that makes sense), like the attack damage you deal WITH any attack damage modifiers from weapons, the normal "attack damage of player" thing works but it always shows as 1 because 1 is the base attack damage of the player (or at least thats what i think it is)
i would do the thing where i just make a thing that changes some kinda variable based on the weapon you hold but the thing im making has a LOT of different weapons so i'd rather find another way to do it
i tried this but it didnt work sadly, mighta done something wrong though
pretty much to to be able to set it as a variable i suppose, like {attackdamage.%uuid of player%} = the full attack damage you deal with your weapon included
that can work
i just cant figure out how lol
actually it would probably work better at the moment tbh
idk if this is what your saying but assuming it is my issue is that there are multiple weapons, i could do this individually for each weapon but if there is a way to make it so like
if the tool has the attack damage attribute, it will set {attackdamage.%uuid of player%} to the same number as that attack damage attribute
i saw another post in here mentioning "Final attack damage attribute of player" which supposidly does what im looking for (showing the full attack damage you deal including with bonuses from held or worn items) but it did not work, maybe there is something there though?
alr yea that could be it hold on
its pretty much used by different Abilities that you have in game, the damage of the abilities are based on your attack damage
hold on lemme look at what you sent
alr yea that would probably be better
alr but there might be an issue actually, the abilities arent on the weapons they are seperate items that you use but they are based on pretty much the last weapon you held
like this, its why i wanted to make it have some kinda thing where its the held weapon
yes
thats exactly correct
alr
thanks a ton even if nothing is figured out lol i have been trying to figure this kinda thing out for days (idk why i didnt go to the discord sooner)
yea thats what i currently tried
and i dont think it affects it to much but i can test stuff and change it when needed
alr yea
that could def work
lol alr
im sure i can figure it out but i will reach out later if i cant if thats alr with you
thanks for the help
yea idk what im doing lol, no rush though
yea lol
yea but thats kinda why im doing it
that sounds cool
i mtrying to make an rpg server thats like different enough from alot of other minecraft rpg servers because i feel like alot of them are the same
and alot of them are either grindfests or just way too fast
i mean sure if you want but there isnt much too it yet
i mean theres alot but also a little