Determining a spell
Okay I have a question, is there a way to determine if a spell was actually cast from a player that can normally cast the spell or if it were cast from a clicky item?
|
https://github.com/EQEmu/Server/blob...pells.cpp#L255
The inventory slot is sent from the client if it is a click-based casting..otherwise, it sends -1 (0xFFFFFFFF) to indicate it was a spell. Note that spell slot is not the same as inventory slot. |
Excellent, thank you for pointing that out to me.
|
All times are GMT -4. The time now is 11:34 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.