(*skill_table[sn].spell_fun) (sn, ch->level, ch, ch, TARGET_CHAR);
(*skill_table[sn].spell_fun) (sn, ch->level, ch, NULL, TARGET_CHAR);
sprintf (buf, "cast %s self", argument); // where argument is the spell name
do_function (ch, &do_mob, buf);
sprintf (buf, "cast %s self", argument); // where argument is the spell name
do_function (ch, &do_mob, buf);
I cannot seem to get this to work properly when targetting the mob itself, instead of a player/other mob.
This is what i'm trying:
Also tried:
And:
With wiz_buff_high being a small char const array of spells looking like this:
Any ideas?