[DiscordArchive] <@200677690838220800> ?
[DiscordArchive] <@200677690838220800> ?
Archived author: Tea • Posted: 2024-01-20T20:20:49.290000+00:00
Original source
```
Creature* target = Object::ToCreature(GetExplTargetUnit());
if (!target)
return SPELL_FAILED_BAD_TARGETS;
if (target->GetEntry() != NPC_WANDERING_BOAR)
return SPELL_FAILED_BAD_TARGETS;
return SPELL_CAST_OK;
```
does the same
Archived author: Tea • Posted: 2024-01-20T20:21:31.862000+00:00
Original source
ive seen spell_quest or spell_q12345 in the wild too
Archived author: Malcrom • Posted: 2024-01-20T20:22:33.027000+00:00
Original source
Ok will modify
Archived author: Northstrider • Posted: 2024-01-20T20:22:58.142000+00:00
Original source
yeah. try to make sure that these script names are as unique as possible so that they wont collide with possible future spells sharing the same name
Archived author: Malcrom • Posted: 2024-01-20T20:23:13.060000+00:00
Original source
Yeah
Archived author: Malcrom • Posted: 2024-01-20T20:23:36.126000+00:00
Original source
I'll add qxxxxx
Archived author: Northstrider • Posted: 2024-01-20T20:24:29.090000+00:00
Original source
same goes for creature scripts as well btw
Archived author: Malcrom • Posted: 2024-01-20T20:29:03.876000+00:00
Original source
You monster
Archived author: Northstrider • Posted: 2024-01-20T20:29:36.279000+00:00
Original source
last time I checked, I was human
Archived author: Northstrider • Posted: 2024-01-20T20:29:48.150000+00:00
Original source
not my fault if people start coding like maniacs without doing their homework