[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
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 ?
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
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);
}
}`
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
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