Classic: how to replace UnitCastingInfo?
This function does not exist on Classic :((
What is the simplest way to detect that player's character is casting a spell? Detect of mobs or other players casting is also welcome :) |
Quote:
UnitChannelInfo(unit) doesn't exist .. but there is ChannelInfo() to get the players channel info UnitCastingInfo(unit) doesn't exist .. but there is CastingInfo() to get the players casting info I thought there was a way to get the targets casting and channeling info but maybe you can't get the details and I just remembered a time more recent than classic. |
You can register the COMBAT_LOG_EVENT_UNFILTERED to check combat event like SPELL_CAST_START, SPELL_CAST_SUCCESS, SPELL_MISSED, SPELL_CAST_FAILED, SPELL_INTERRUPT.
But blizzard has removed the spell id in those events, so you only have a spell name and not spell rank in those event. We won't get the exactly cast duration but good enough to show the cast bar. |
It works, thank you much!
|
Quote:
|
All times are GMT -6. The time now is 08:16 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI