[DiscordArchive] Could you elaborate on where i'd do that? I looked at attributes and only `CANT_BE_CANCELED` stood o
[DiscordArchive] Could you elaborate on where i'd do that? I looked at attributes and only `CANT_BE_CANCELED` stood o
Archived author: Deleted User • Posted: 2022-07-13T13:24:59.277000+00:00
Original source
Could you elaborate on where i'd do that? I looked at attributes and only `CANT_BE_CANCELED` stood out to me but that doesn't seem to be it. Is it channelinterruptflags?
Archived author: stoneharry • Posted: 2022-07-13T13:25:34.917000+00:00
Original source
Yeah untick all channel and interrupt flags
Archived author: Deleted User • Posted: 2022-07-13T13:26:02.956000+00:00
Original source
Both interrupt flags and channel interrupt flags are already cleared
Archived author: stoneharry • Posted: 2022-07-13T13:26:55.385000+00:00
Original source
Mmm go for the channel instead of cast
Archived author: Deleted User • Posted: 2022-07-13T13:27:20.178000+00:00
Original source
Hmm, is there an SAI for channeling?
Archived author: stoneharry • Posted: 2022-07-13T13:27:58.240000+00:00
Original source
Never used SAI
Archived author: Deleted User • Posted: 2022-07-13T13:28:02.929000+00:00
Original source
Ah
Archived author: stoneharry • Posted: 2022-07-13T13:28:21.004000+00:00
Original source
If you can set uint flags then yes
Archived author: Deleted User • Posted: 2022-07-13T13:29:34.900000+00:00
Original source
Hmm. Not looking like it.
Archived author: stoneharry • Posted: 2022-07-13T13:35:55.042000+00:00
Original source
For reference:
```lua
function Creature:ChannelSpell(target, id)
self:SetUInt64Value(UNIT_FIELD_CHANNEL_OBJECT, target:GetGUID());
self:SetUInt32Value(UNIT_CHANNEL_SPELL, id);
end
function Player:ChannelSpell(target, id)
self:SetUInt64Value(UNIT_FIELD_CHANNEL_OBJECT, target:GetGUID());
self:SetUInt32Value(UNIT_CHANNEL_SPELL, id);
end
function Creature:StopChannel()
self:SetUInt64Value(UNIT_FIELD_CHANNEL_OBJECT, 0);
self:SetUInt32Value(UNIT_CHANNEL_SPELL, 0);
end
function Player:StopChannel()
self:SetUInt64Value(UNIT_FIELD_CHANNEL_OBJECT, 0);
self:SetUInt32Value(UNIT_CHANNEL_SPELL, 0);
end
```