Cinco De Mayo Update
Warforged Scouts can take Warforged Juggernaut. Updated PRC8 version number. FEAT_EXTRA_GRANTED_MANEUVER is for Crusaders, not Swordsages. FEAT_EXTRA_GRANTED_MANEUVER now shows all 5 granted maneuvers after 19th lvl. Mirror Image onCastAt script now uses PRCGetCasterLevel() Summon Hamatula now uses PRCGetCasterLevel() Spiritual Weapon now uses PRCGetCasterLevel() Heal & Harm now SignalEvent on placeables. DEITY$ only knows how many modules this broke. Updated human readable changelog. Added current list of PRC8 additions.
This commit is contained in:
@@ -83,6 +83,12 @@ int DoSpell(object oCaster, object oTarget, int nSpellID)
|
||||
{
|
||||
if(bMass) fDelay = PRCGetRandomDelay();
|
||||
int iTombTainted = GetHasFeat(FEAT_TOMB_TAINTED_SOUL, oTarget) && GetAlignmentGoodEvil(oTarget) != ALIGNMENT_GOOD;
|
||||
|
||||
// Signal placeables even if they're not creatures
|
||||
if(GetObjectType(oTarget) == OBJECT_TYPE_PLACEABLE)
|
||||
{
|
||||
SignalEvent(oTarget, EventSpellCastAt(oCaster, nSpellID, FALSE));
|
||||
}
|
||||
|
||||
iHeal = GetObjectType(oTarget) == OBJECT_TYPE_CREATURE &&
|
||||
((!bIsHeal && (MyPRCGetRacialType(oTarget) == RACIAL_TYPE_UNDEAD || iTombTainted)) ||
|
||||
|
||||
@@ -83,7 +83,7 @@ void main()
|
||||
{
|
||||
// Get the caster of the spell
|
||||
object oCaster = GetLastSpellCaster();
|
||||
int nCasterLevel = GetCasterLevel(oCaster);
|
||||
int nCasterLevel = PRCGetCasterLevel(oCaster);
|
||||
|
||||
if(DEBUG) DoDebug("sp_spiritweapon: EVENT_NPC_ONSPELLCASTAT triggered.");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user