skill.cpp
Just find this:
case SL_SMA:
if(!(sc && sc->data[SC_SMA]))
return false;
break;
it should be commented by your old programmer so just remove the comments, or if your old programmer removed the entire line, just add those below this:
case HT_POWER:
if(!(sc && sc->data[SC_COMBO] && sc->data[SC_COMBO]->val1 == AC_DOUBLE))
return false;
break;
And then recompile