Thread: Target Type 20.
View Single Post
  #3  
Old 01-21-2014, 04:22 AM
Kingly_Krab
Administrator
 
Join Date: May 2013
Location: United States
Posts: 1,603
Default

I did that and it still says that it doesn't know the target type. My code is below.
Code:
case ST_UndeadAE:	//should only affect undead...
case ST_AETarget:
case ST_TargetAETap:
{
	if(!spell_target)
	{
		mlog(SPELLS__CASTING_ERR, "Spell %d canceled: invalid target (AOE)", spell_id);
		Message_StringID(13,SPELL_NEED_TAR);
		return false;
	}
	ae_center = spell_target;
	CastAction = AETarget;
	break;
}
Reply With Quote