Update to PRC 4.1.10a

Update to PRC 4.1.10a
This commit is contained in:
Jaysyn904
2022-12-09 19:08:32 -05:00
parent edc1ff70e3
commit 6c305aecc5
128 changed files with 48777 additions and 47646 deletions

View File

@@ -395,6 +395,7 @@ void main()
{
object oCaster = OBJECT_SELF;
int nCasterLevel = PRCGetCasterLevel(oCaster);
if (nCasterLevel > 40) nCasterLevel = 40;
PRCSetSchool(GetSpellSchool(PRCGetSpellId(oCaster)));
if (!X2PreSpellCastCode()) return;
object oTarget = PRCGetSpellTargetObject(oCaster);