View Single Post
  #8  
Old 07-19-2004, 12:12 AM
Draupner
Hill Giant
 
Join Date: Jul 2004
Location: In my basement
Posts: 131
Default

OK in OP_Castspell (clientprocess.cpp if you didn't know)

under
Code:
CastSpell_Struct* castspell = (CastSpell_Struct*)app->pBuffer;
This particular example will not let complete heal (spell id 13) to be cast in nexus (zone id 152) and will display in yellow text Can't cast spell here.
Code:
if (zone->GetZoneID() == 152 && castspell->spell_id == 13) 
					{
						Message(15, "Can't cast spell here.");
						InterruptSpell(castspell->spell_id);
						break;
					}
Reply With Quote