[DiscordArchive] <@200677690838220800> ?
[DiscordArchive] <@200677690838220800> ?
Archived author: Malcrom • Posted: 2024-01-20T19:59:33.754000+00:00
Original source
oh and that is 13 SPELL_FAILED_BAD_IMPLICIT_TARGETS?
Archived author: Tea • Posted: 2024-01-20T19:59:52.233000+00:00
Original source
SPELL_FAILED_BAD_TARGETS = 13,
![[Image: image.png?ex=690c56fd&is=690b057d&hm=1a0...91dd47b96&]](https://cdn.discordapp.com/attachments/376457124726702080/1198357874833903636/image.png?ex=690c56fd&is=690b057d&hm=1a01dec80e85be048aaef5ff7e2cd52c3189e74c8049c5bbf5f69bc91dd47b96&)
Archived author: Malcrom • Posted: 2024-01-20T20:06:21.733000+00:00
Original source
![[Image: image.png?ex=690c56fd&is=690b057d&hm=1a0...91dd47b96&]](https://cdn.discordapp.com/attachments/376457124726702080/1198357874833903636/image.png?ex=690c56fd&is=690b057d&hm=1a01dec80e85be048aaef5ff7e2cd52c3189e74c8049c5bbf5f69bc91dd47b96&)
Archived author: ModoX • Posted: 2024-01-20T20:07:56.995000+00:00
Original source
```cpp
if (!GetExplTargetUnit())
return SPELL_FAILED_BAD_TARGETS;
Creature* target = GetExplTargetUnit()->ToCreature();
if (!target)
return SPELL_FAILED_BAD_TARGETS;
if (target->GetEntry() != NPC_WANDERING_BOAR)
return SPELL_FAILED_BAD_TARGETS;
return SPELL_CAST_OK;
```
![[Image: image.png?ex=690c57c2&is=690b0642&hm=d5f...b942a3468&]](https://cdn.discordapp.com/attachments/376457124726702080/1198358701678006332/image.png?ex=690c57c2&is=690b0642&hm=d5ff3fcea68733a32eb7d8bc0acb52db008c5a4d432dc5facf12026b942a3468&)
Archived author: Malcrom • Posted: 2024-01-20T20:09:38.961000+00:00
Original source
![[Image: image.png?ex=690c57c2&is=690b0642&hm=d5f...b942a3468&]](https://cdn.discordapp.com/attachments/376457124726702080/1198358701678006332/image.png?ex=690c57c2&is=690b0642&hm=d5ff3fcea68733a32eb7d8bc0acb52db008c5a4d432dc5facf12026b942a3468&)
Archived author: Malcrom • Posted: 2024-01-20T20:09:41.314000+00:00
Original source
there
Archived author: Malcrom • Posted: 2024-01-20T20:09:43.290000+00:00
Original source
ty
Archived author: Malcrom • Posted: 2024-01-20T20:12:16.887000+00:00
Original source
Yes comment is wrong
Archived author: Tea • Posted: 2024-01-20T20:20:15.707000+00:00
Original source
using the static Object::ToSometing functions combine both null and type checks
Archived author: Northstrider • Posted: 2024-01-20T20:20:48.472000+00:00
Original source
spell_re_sizing when this is a generic spell (spellfamily_generic) the scriptname has to be spell_gen_re_resizing. if it's a spell that's exclusive to exiles reach spell_exiles_reach_re_resizing