mirror of
http://prc.nwn.ee:3000/Jaysyn/PRC8.git
synced 2026-10-29 10:08:31 -04:00
Fixed issue that was preventing certain character builds from replenishing epic spell slots.
Fixed issue that was preventing certain character builds from replenishing epic spell slots. Updated release archive.
This commit is contained in:
1 parent
193278d634
commit
597359e5dc
4 files changed
+15
-4
No files matched your search
@@ -80,11 +80,22 @@ void RestFinished(object oPC)
|
||||
AssignCommand(oSlave, ActionRest());
|
||||
//ForceRest(oSlave);
|
||||
|
||||
if (GetIsEpicSpellcaster(oPC)) {
|
||||
if (GetHasFeat(FEAT_EPIC_SPELLCASTING, oPC))
|
||||
{
|
||||
FloatingTextStringOnCreature("*You feel refreshed*", oPC, FALSE);
|
||||
ReplenishSlots(oPC);
|
||||
}
|
||||
|
||||
/* if (GetIsEpicSpellcaster(oPC) == TRUE)
|
||||
{
|
||||
FloatingTextStringOnCreature("*You feel refreshed*", oPC, FALSE);
|
||||
ReplenishSlots(oPC);
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
if (DEBUG) DoDebug("prc_rest: Not an Epic Spellcaster");
|
||||
}
|
||||
*/
|
||||
if (GetHasFeat(FEAT_SF_CODE,oPC))
|
||||
DelayCommand(0.1, RemoveSpecificProperty(GetPCSkin(oPC),ITEM_PROPERTY_BONUS_FEAT,IP_CONST_FEAT_SF_CODE));
|
||||
|
||||
|
||||
Reference in new issue
Block a user