Returning value of spell ID
I'm trying to use the sub EVENT_CAST_ON for one of my NPCs, my issue is that I can't seem to figure out how to make the script recognize a spell.
My current trainwreck: Code:
sub EVENT_CAST_ON { |
https://github.com/EQEmu/Server/blob...rser.cpp#L1168
Code:
case EVENT_CAST_ON: you can use $spell_id inside those events :) Make sure to use 2 "==" when doing an if statement as well. |
Quote:
|
All times are GMT -4. The time now is 05:24 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.