Trinitycore: [DEV] Core: Monster sparring

Created on 24 Dec 2016  路  6Comments  路  Source: TrinityCore/TrinityCore

Description: Initial support for monster sparring was implemented here https://github.com/TrinityCore/TrinityCore/pull/17673

Only melee attack are working now, spells still deal damage, Also some mechanism like deal damage only until health% is not implemented.

Old issue: https://github.com/TrinityCore/TrinityCore/issues/13258

Branch(es): 3.3.5 / master (Tell us which branch(es) this issue affects.)

TC rev. hash/commit: rev. 3e51583e6cde

Branch-3.3.5a Branch-master Comp-Core Priority-FutureFeatureRequest

Most helpful comment

After further investigation all known npcs that mustn't take damage under 85% hp from other creature have the flag CREATURE_DIFFICULTYFLAGS_4_UNK4 = 0x00000080 -- 128
name from binary: No NPC damage below 85%" flag for unit(s)

All 6 comments

After further investigation all known npcs that mustn't take damage under 85% hp from other creature have the flag CREATURE_DIFFICULTYFLAGS_4_UNK4 = 0x00000080 -- 128
name from binary: No NPC damage below 85%" flag for unit(s)

Then we just need a check?

@Killyana How do you even get those names for the difficulty flags?

@kelno : Looks like they are available in the source code in the master branch:

https://github.com/TrinityCore/TrinityCore/blob/f48b87054ed923f0af40065da90fea8bb233aff0/src/server/game/Entities/Creature/CreatureData.h#L34-L280

Not sure if they are available in 3.3.5 source, maybe one of the TC devs can tell you more.

Thanks, but I've seen that, the " No NPC damage below 85%" flag for unit(s)" part is what I'm wondering about, since Killyana mention "name from binary"

Not sure about that, maybe it is something from the DBC files?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ZenoX92 picture ZenoX92  路  3Comments

Rushor picture Rushor  路  3Comments

Rushor picture Rushor  路  3Comments

funjoker picture funjoker  路  3Comments

Jildor picture Jildor  路  3Comments