Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] does any1 happen to know where is logic related to spell family not defined in SpellFamilyNames bein

[DiscordArchive] does any1 happen to know where is logic related to spell family not defined in SpellFamilyNames bein

[DiscordArchive] does any1 happen to know where is logic related to spell family not defined in SpellFamilyNames bein

rektbyfaith
Administrator
0
12-27-2023, 01:34 AM
#1
Archived author: Rymercyble • Posted: 2023-12-27T01:34:53.312000+00:00
Original source

does any1 happen to know where is logic related to spell family not defined in SpellFamilyNames being ignored ?
rektbyfaith
12-27-2023, 01:34 AM #1

Archived author: Rymercyble • Posted: 2023-12-27T01:34:53.312000+00:00
Original source

does any1 happen to know where is logic related to spell family not defined in SpellFamilyNames being ignored ?

rektbyfaith
Administrator
0
12-27-2023, 01:39 AM
#2
Archived author: Rymercyble • Posted: 2023-12-27T01:39:45.898000+00:00
Original source

i mean maybe its not single place i dont know i dont even know why it works that way at all
rektbyfaith
12-27-2023, 01:39 AM #2

Archived author: Rymercyble • Posted: 2023-12-27T01:39:45.898000+00:00
Original source

i mean maybe its not single place i dont know i dont even know why it works that way at all

rektbyfaith
Administrator
0
12-27-2023, 02:19 AM
#3
Archived author: 老爷爷 • Posted: 2023-12-27T02:19:04.160000+00:00
Original source

In smart AI, this creature can't be killed, how do you do it
`void DamageTaken(Unit* /*doneBy*/, uint32& damage, DamageEffectType, SpellSchoolMask) override
        {
            if (! damage >= me->GetHealth())
            {
                damage = 0;
                me->SetHealth(1);
            }
        }`
rektbyfaith
12-27-2023, 02:19 AM #3

Archived author: 老爷爷 • Posted: 2023-12-27T02:19:04.160000+00:00
Original source

In smart AI, this creature can't be killed, how do you do it
`void DamageTaken(Unit* /*doneBy*/, uint32& damage, DamageEffectType, SpellSchoolMask) override
        {
            if (! damage >= me->GetHealth())
            {
                damage = 0;
                me->SetHealth(1);
            }
        }`

rektbyfaith
Administrator
0
12-27-2023, 02:27 AM
#4
Archived author: 老爷爷 • Posted: 2023-12-27T02:27:26.973000+00:00
Original source

When the amount of damage required exceeds the current health, the damage is 0, and the current health is 1
rektbyfaith
12-27-2023, 02:27 AM #4

Archived author: 老爷爷 • Posted: 2023-12-27T02:27:26.973000+00:00
Original source

When the amount of damage required exceeds the current health, the damage is 0, and the current health is 1

rektbyfaith
Administrator
0
12-27-2023, 04:13 AM
#5
Archived author: Nyeriah • Posted: 2023-12-27T04:13:25.227000+00:00
Original source

In SmartAI it’s the set invincibility action that can be used to achieve this
rektbyfaith
12-27-2023, 04:13 AM #5

Archived author: Nyeriah • Posted: 2023-12-27T04:13:25.227000+00:00
Original source

In SmartAI it’s the set invincibility action that can be used to achieve this

Recently Browsing
 
Recently Browsing