[Cleanup] Set bonuses to use spell ID instead of boolean (#3230)

# Notes
- Spell bonuses `Illusion` is the spell ID, not a boolean.
This commit is contained in:
Alex King 2023-04-05 11:14:55 -04:00 committed by GitHub
parent 025ef5e1d6
commit c81ab00764
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1651,7 +1651,7 @@ void Mob::ApplyAABonuses(const AA::Rank &rank, StatBonuses *newbon)
}
case SE_Illusion:
newbon->Illusion = true;
newbon->Illusion = rank.spell;
break;
case SE_IllusionPersistence: