View Single Post
  #2  
Old 10-24-2013, 02:09 AM
NatedogEZ's Avatar
NatedogEZ
Developer
 
Join Date: Dec 2012
Posts: 515
Default

https://github.com/EQEmu/Server/blob...rser.cpp#L1168

Code:
                case EVENT_CAST_ON:
                case EVENT_CAST:
                case EVENT_CAST_BEGIN: {
                        ExportVar(package_name.c_str(), "spell_id", data);
                        break;
                }

you can use $spell_id inside those events


Make sure to use 2 "==" when doing an if statement as well.
Reply With Quote