2025/08/23 Early update.

A few more tweaks for Create Infusion.
Ooze isn't a player race.
This commit is contained in:
Jaysyn904
2025-08-23 00:55:04 -04:00
parent 3e1d8b05ff
commit c86a6645b0
6 changed files with 125 additions and 25 deletions

View File

@@ -385,10 +385,10 @@ const int TYPE_DIVINE = -2;
// Returns TRUE if nSpellID is a subradial spell, FALSE otherwise
int GetIsSubradialSpell(int nSpellID)
{
string sMaster = Get2DAString("spells", "Master", nSpellID);
string sMaster = Get2DACache("spells", "Master", nSpellID);
// A subradial will have a numeric master ID here, not ****
if (sMaster != "****")
// If the Master column is numeric, this spell is a subradial of that master
if (sMaster != "" && sMaster != "****")
{
return TRUE;
}