Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] <@200677690838220800> ?

[DiscordArchive] <@200677690838220800> ?

[DiscordArchive] <@200677690838220800> ?

Pages (5): Previous 1 2 3 4 5 Next
rektbyfaith
Administrator
0
01-20-2024, 07:59 PM
#11
Archived author: Malcrom • Posted: 2024-01-20T19:59:33.754000+00:00
Original source

oh and that is 13 SPELL_FAILED_BAD_IMPLICIT_TARGETS?
rektbyfaith
01-20-2024, 07:59 PM #11

Archived author: Malcrom • Posted: 2024-01-20T19:59:33.754000+00:00
Original source

oh and that is 13 SPELL_FAILED_BAD_IMPLICIT_TARGETS?

rektbyfaith
Administrator
0
01-20-2024, 07:59 PM
#12
Archived author: Tea • Posted: 2024-01-20T19:59:52.233000+00:00
Original source

SPELL_FAILED_BAD_TARGETS = 13,
rektbyfaith
01-20-2024, 07:59 PM #12

Archived author: Tea • Posted: 2024-01-20T19:59:52.233000+00:00
Original source

SPELL_FAILED_BAD_TARGETS = 13,

rektbyfaith
Administrator
0
01-20-2024, 08:06 PM
#13
Archived author: Malcrom • Posted: 2024-01-20T20:06:21.733000+00:00
Original source


[Image: image.png?ex=690c56fd&is=690b057d&hm=1a0...91dd47b96&]
rektbyfaith
01-20-2024, 08:06 PM #13

Archived author: Malcrom • Posted: 2024-01-20T20:06:21.733000+00:00
Original source


[Image: image.png?ex=690c56fd&is=690b057d&hm=1a0...91dd47b96&]

rektbyfaith
Administrator
0
01-20-2024, 08:07 PM
#14
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;
```
rektbyfaith
01-20-2024, 08:07 PM #14

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;
```

rektbyfaith
Administrator
0
01-20-2024, 08:09 PM
#15
Archived author: Malcrom • Posted: 2024-01-20T20:09:38.961000+00:00
Original source


[Image: image.png?ex=690c57c2&is=690b0642&hm=d5f...b942a3468&]
rektbyfaith
01-20-2024, 08:09 PM #15

Archived author: Malcrom • Posted: 2024-01-20T20:09:38.961000+00:00
Original source


[Image: image.png?ex=690c57c2&is=690b0642&hm=d5f...b942a3468&]

rektbyfaith
Administrator
0
01-20-2024, 08:09 PM
#16
Archived author: Malcrom • Posted: 2024-01-20T20:09:41.314000+00:00
Original source

there
rektbyfaith
01-20-2024, 08:09 PM #16

Archived author: Malcrom • Posted: 2024-01-20T20:09:41.314000+00:00
Original source

there

rektbyfaith
Administrator
0
01-20-2024, 08:09 PM
#17
Archived author: Malcrom • Posted: 2024-01-20T20:09:43.290000+00:00
Original source

ty
rektbyfaith
01-20-2024, 08:09 PM #17

Archived author: Malcrom • Posted: 2024-01-20T20:09:43.290000+00:00
Original source

ty

rektbyfaith
Administrator
0
01-20-2024, 08:12 PM
#18
Archived author: Malcrom • Posted: 2024-01-20T20:12:16.887000+00:00
Original source

Yes comment is wrong
rektbyfaith
01-20-2024, 08:12 PM #18

Archived author: Malcrom • Posted: 2024-01-20T20:12:16.887000+00:00
Original source

Yes comment is wrong

rektbyfaith
Administrator
0
01-20-2024, 08:20 PM
#19
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
rektbyfaith
01-20-2024, 08:20 PM #19

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

rektbyfaith
Administrator
0
01-20-2024, 08:20 PM
#20
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
rektbyfaith
01-20-2024, 08:20 PM #20

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

Pages (5): Previous 1 2 3 4 5 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)