Check for max mana != 0 for spell casters.

This commit is contained in:
johns 2002-08-01 18:18:59 +00:00
parent 881148c4ca
commit 22ae211548

View file

@ -381,6 +381,14 @@ local SCM CclDefineUnitType(SCM list)
}
}
//
// Unit type checks.
//
if( type->CanCastSpell && type->_MaxMana ) {
DebugLevel0Fn("%s: Need max mana value\n" _C_ type->Ident);
type->_MaxMana=1;
}
return SCM_UNSPECIFIED;
}