Spells that have an endurance cost do not get scribed with quest::scribespells
I have thoroughly tested this. If a spell has a value set for Endurance Cost, it will not be scribed via the quest::scribespells function.
Seems like an unintentional bug to me, would be nice to have a fix for this. |
Well, endurance-based spell costs are categorized as disciplines due to the IsDiscipline logic.
Code:
bool IsDiscipline(uint16 spell_id) Code:
uint16 QuestManager::scribespells(uint8 max_level, uint8 min_level) { |
Thank you so much, Kingly. Turns out it wasn't a bug at all like I thought. I've got it changed in my source now to work like I want it to :)
|
All times are GMT -4. The time now is 08:46 AM. |
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.