Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] Hello. 1 question, im using custom items, and i got a problem. Every NPC which is attacking me, i Do

[DiscordArchive] Hello. 1 question, im using custom items, and i got a problem. Every NPC which is attacking me, i Do

[DiscordArchive] Hello. 1 question, im using custom items, and i got a problem. Every NPC which is attacking me, i Do

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
06-07-2025, 02:26 PM
#1
Archived author: Wizz • Posted: 2025-06-07T14:26:25.313000+00:00
Original source

Hello. 1 question, im using custom items, and i got a problem. Every NPC which is attacking me, i Dodge every attack. I reduced the stats from worldserver.conf at 0.0 , and in Player.cpp i replaced these lines:
SetFloatValue(PLAYER_PARRY_PERCENTAGE, 5.0f);
SetFloatValue(PLAYER_BLOCK_PERCENTAGE, 5.0f);

But i still dodge every hit. Do i need to modify dodge in other place ?
rektbyfaith
06-07-2025, 02:26 PM #1

Archived author: Wizz • Posted: 2025-06-07T14:26:25.313000+00:00
Original source

Hello. 1 question, im using custom items, and i got a problem. Every NPC which is attacking me, i Dodge every attack. I reduced the stats from worldserver.conf at 0.0 , and in Player.cpp i replaced these lines:
SetFloatValue(PLAYER_PARRY_PERCENTAGE, 5.0f);
SetFloatValue(PLAYER_BLOCK_PERCENTAGE, 5.0f);

But i still dodge every hit. Do i need to modify dodge in other place ?

rektbyfaith
Administrator
0
06-07-2025, 02:29 PM
#2
Archived author: Wizz • Posted: 2025-06-07T14:29:56.896000+00:00
Original source

These are the stats
[Image: Capture.PNG?ex=690c0824&is=690ab6a4&hm=3...e89ec1183&]
rektbyfaith
06-07-2025, 02:29 PM #2

Archived author: Wizz • Posted: 2025-06-07T14:29:56.896000+00:00
Original source

These are the stats
[Image: Capture.PNG?ex=690c0824&is=690ab6a4&hm=3...e89ec1183&]

rektbyfaith
Administrator
0
06-07-2025, 02:46 PM
#3
Archived author: Revision • Posted: 2025-06-07T14:46:58.482000+00:00
Original source

All that agility must be an insane amount of dodge
rektbyfaith
06-07-2025, 02:46 PM #3

Archived author: Revision • Posted: 2025-06-07T14:46:58.482000+00:00
Original source

All that agility must be an insane amount of dodge

rektbyfaith
Administrator
0
06-07-2025, 03:05 PM
#4
Archived author: Ryan Turner • Posted: 2025-06-07T15:05:29.775000+00:00
Original source

I would think the agility values are so high that the outcome number is not being fully or correct calculated
rektbyfaith
06-07-2025, 03:05 PM #4

Archived author: Ryan Turner • Posted: 2025-06-07T15:05:29.775000+00:00
Original source

I would think the agility values are so high that the outcome number is not being fully or correct calculated

rektbyfaith
Administrator
0
06-07-2025, 03:05 PM
#5
Archived author: Ryan Turner • Posted: 2025-06-07T15:05:44.362000+00:00
Original source

Could be the core or a client limitation, try using more "normal" values
rektbyfaith
06-07-2025, 03:05 PM #5

Archived author: Ryan Turner • Posted: 2025-06-07T15:05:44.362000+00:00
Original source

Could be the core or a client limitation, try using more "normal" values

rektbyfaith
Administrator
0
06-07-2025, 03:06 PM
#6
Archived author: Rymercyble • Posted: 2025-06-07T15:06:04.641000+00:00
Original source

thats nowhere near enough agility for that to happen
rektbyfaith
06-07-2025, 03:06 PM #6

Archived author: Rymercyble • Posted: 2025-06-07T15:06:04.641000+00:00
Original source

thats nowhere near enough agility for that to happen

rektbyfaith
Administrator
0
06-07-2025, 03:06 PM
#7
Archived author: Rymercyble • Posted: 2025-06-07T15:06:59.507000+00:00
Original source

client could just show 3154% dodge but he removed setting of update values so its 0% so seems like he missed some place in core
rektbyfaith
06-07-2025, 03:06 PM #7

Archived author: Rymercyble • Posted: 2025-06-07T15:06:59.507000+00:00
Original source

client could just show 3154% dodge but he removed setting of update values so its 0% so seems like he missed some place in core

rektbyfaith
Administrator
0
06-07-2025, 03:11 PM
#8
Archived author: Wizz • Posted: 2025-06-07T15:11:57.015000+00:00
Original source

Made some changes in player.cpp
rektbyfaith
06-07-2025, 03:11 PM #8

Archived author: Wizz • Posted: 2025-06-07T15:11:57.015000+00:00
Original source

Made some changes in player.cpp

rektbyfaith
Administrator
0
06-07-2025, 03:12 PM
#9
Archived author: Wizz • Posted: 2025-06-07T15:12:38.452000+00:00
Original source

First modification:

void Player::GetDodgeFromAgility(float& diminishing, float& nondiminishing)
{
diminishing = 0.0f; - instead 100.0f
nondiminishing = 1.0f; - instead 100.0f
}
rektbyfaith
06-07-2025, 03:12 PM #9

Archived author: Wizz • Posted: 2025-06-07T15:12:38.452000+00:00
Original source

First modification:

void Player::GetDodgeFromAgility(float& diminishing, float& nondiminishing)
{
diminishing = 0.0f; - instead 100.0f
nondiminishing = 1.0f; - instead 100.0f
}

rektbyfaith
Administrator
0
06-07-2025, 03:13 PM
#10
Archived author: Wizz • Posted: 2025-06-07T15:13:26.540000+00:00
Original source

And at Parry/Dodge and other things:

void Player::SetCanParry(bool value)
{
if (m_canParry == value)
return;

m_canParry = value;

// Force 5% parry - Added this line
SetFloatValue(PLAYER_PARRY_PERCENTAGE, 5.0f);
}
rektbyfaith
06-07-2025, 03:13 PM #10

Archived author: Wizz • Posted: 2025-06-07T15:13:26.540000+00:00
Original source

And at Parry/Dodge and other things:

void Player::SetCanParry(bool value)
{
if (m_canParry == value)
return;

m_canParry = value;

// Force 5% parry - Added this line
SetFloatValue(PLAYER_PARRY_PERCENTAGE, 5.0f);
}

Pages (2): 1 2 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)