azerothcore / azerothcore-wotlk

Complete Open Source and Modular solution for MMO
http://www.azerothcore.org
GNU Affero General Public License v3.0
6.58k stars 2.63k forks source link

Various NPCs Not Dismounting Players On Daze #6256

Closed Azcobu closed 3 years ago

Azcobu commented 3 years ago

WHAT CLIENT DO YOU PLAY ON?

FACTION
CONTENT PHASE:
CURRENT BEHAVIOUR:

Original report: https://github.com/chromiecraft/chromiecraft/issues/803

I was hanging around in Tirisfal Glades and ran through some mobs who dazed me. Mobs were below level 10, and I was level 39. I got dazed but I stayed on my mount. Here is a video: https://youtu.be/gnyFnymrjXw Sorry for the bad quality, I updated OBS and forgot to set the output resolution. Here is a screenshot of the "Daze": WoWScrnShot_060721_121123

Not displayed but I cross checked with my paladin and other mobs in the area (zombies, low level scarlet crusade members)

Tester's notes: Tried with the Darkhounds, and they never dismount you. Sat there for a while in case it was just a low percentage chance, but no result. These Ravenous Darkhounds use a variety of Daze with a spell id of 13946. A search to find others found 44 NPC types of a wide level range that use this version of Daze.

SELECT ct.name
FROM  `creature_template` ct
JOIN `smart_scripts`ss ON ct.entry = ss.entryorguid   
WHERE ss.action_param1 = 13496
+-------+----------------------------+----------+
| entry | name                       | maxlevel |
+-------+----------------------------+----------+
|  1935 | Tirisfal Farmhand          |        6 |
|  1128 | Young Black Bear           |        6 |
|  1199 | Juvenile Snow Leopard      |        6 |
|  1547 | Decrepit Darkhound         |        6 |
| 15655 | Rotlimb Cannibal           |        7 |
|  1934 | Tirisfal Farmer            |        7 |
|  1201 | Snow Leopard               |        8 |
|  1543 | Vile Fin Puddlejumper      |        8 |
|  1548 | Cursed Darkhound           |        8 |
|   822 | Young Forest Bear          |        9 |
|  1537 | Scarlet Zealot             |        9 |
|  1549 | Ravenous Darkhound         |       10 |
|    36 | Harvest Golem              |       12 |
|  1770 | Moonrage Darkrunner        |       12 |
|  1869 | Ravenclaw Champion         |       15 |
|   114 | Harvest Watcher            |       15 |
|  1972 | Grimson the Pale           |       15 |
|     3 | Flesh Eater                |       25 |
|  2248 | Cave Yeti                  |       31 |
|  4130 | Silithid Searcher          |       33 |
|  4872 | Obsidian Golem             |       37 |
|  2723 | Stone Golem                |       39 |
|  2735 | Lesser Rock Elemental      |       39 |
|  2473 | Granistad                  |       40 |
|  2347 | Wild Gryphon               |       40 |
|  2474 | Kurdros                    |       40 |
|    92 | Rock Elemental             |       40 |
|  2780 | Caretaker Nevlin           |       41 |
|  2781 | Caretaker Weston           |       41 |
|  2782 | Caretaker Alaric           |       41 |
|  5253 | Woodpaw Brute              |       42 |
|  2736 | Greater Rock Elemental     |       44 |
|  5292 | Feral Scar Yeti            |       44 |
|  5300 | Frayfeather Hippogryph     |       44 |
|  8447 | Clunk                      |       44 |
|  5246 | Zukk'ash Worker            |       45 |
|  5293 | Hulking Feral Scar         |       46 |
|  5853 | Tempered War Golem         |       47 |
|  5850 | Blazing Elemental          |       47 |
|  5461 | Sea Elemental              |       49 |
|  7032 | Greater Obsidian Elemental |       57 |
|  9219 | Spirestone Butcher         |       57 |
| 11698 | Hive'Ashi Stinger          |       58 |
|  9218 | Spirestone Battle Lord     |       58 |
+-------+----------------------------+----------+
44 rows in set (0.05 sec)

There was a comment on TBC Wowhead that claimed that mobs use different versions of Daze depending on whether the target is mounted or not (see https://tbc.wowhead.com/spell=1604/dazed#comments:id=272586). No idea if that's true or not, but perhaps these mobs are using the wrong type of Daze.

WoWScrnShot_060821_000623

WoWScrnShot_060821_000722

WoWScrnShot_060821_003556

EXPECTED BLIZZLIKE BEHAVIOUR:

I didn't play WotLK but I expect all daze to dismount me.

SOURCE:

"Creature daze is a 50% snare debuff, which often forces its target to dismount if mounted." (https://wowpedia.fandom.com/wiki/Daze?oldid=2374988)

"If you get dazed while mounted, your mount is dispelled." (https://tbc.wowhead.com/spell=1604/dazed#comments:id=210850)

"If anyone doesnt know this also dismounts you" (https://tbc.wowhead.com/spell=1604/dazed#comments:id=2770406)

STEPS TO REPRODUCE THE PROBLEM:
  1. Be high level strong character (for instance level 39) on your favorite mount
  2. Run through a low level mob to get dazed
  3. Admire as you are still on your mount
EXTRA NOTES:

N/A.

AC HASH/COMMIT:

https://github.com/chromiecraft/azerothcore-wotlk/commit/617a935ee469641f3689061bb390158040b5d8d7

OPERATING SYSTEM:

Ubuntu 20.04

MODULES:
OTHER CUSTOMIZATIONS:

None.

SERVER:

ChromieCraft

necropola commented 3 years ago

Note that this is not the Core Daze of 3 seconds but an additional Custom Daze of 10 seconds (funny enough it's the daze proc effect from Mug'O'Hurt) which is inflicted via SmartAI.

The Core Daze (which is what the above mentioned sources are talking about) also has some addtional properties like noob protection and takes level and defense/attack skill differences into account. Which the unconditional daze from SmartAI does not.

See also #4571 (https://github.com/chromiecraft/chromiecraft/issues/61). This SmartAI daze was initially even applied from the front.

And from this comment https://github.com/azerothcore/azerothcore-wotlk/issues/4571#issuecomment-802961111:

All creatures already have access to spell=1604 (3s daze from behind) via core functionality.

And from this comment https://github.com/chromiecraft/chromiecraft/issues/223#issuecomment-802645816

This also means that spell=13496 should not be applied at all from random creatures in the world. Neither from behind nor from the front (unless they are actually wielding a Mug O' Hurt).

UltraNix commented 3 years ago

It's not a bug. Only generic "Dazed" dismount you (and all mobs have a chance to use it). But some mobs in addition use different types of that spell and should not dismount you.