Fixed Ziggurat of Faith transition

Fixed Ziggurat of Faith transition.  Added more creature overrides.  Ranged Disarm AI testing.  Full compile.
This commit is contained in:
Jaysyn904
2022-12-28 09:56:28 -05:00
parent 0187ed30eb
commit 21cd68333a
121 changed files with 17990 additions and 5928 deletions

View File

@@ -42,6 +42,20 @@ int GetBestRangedSpecial( object oTarget, int iPenalty=0, int iChance=50, object
SetLocalInt( oEnt, "#FEAT" + IntToString( ++iCnt ), iFeat );
}
}
//:: Ranged Disarm [PRC]
if ( GetHasFeat( 5192, oEnt ) ) //:: FEAT_RANGED_DISARM
{
iFeat = 0;
if ( DoCombatKnowledgeCheck( iT, 10 ) == FALSE || ( iMyAtk - 4 >= iEnemyAC && iMyAtk - 4 > iD ) )
{
iFeat = 5192; //:: FEAT_RANGED_DISARM
}
if ( iFeat )
{
SetLocalInt( oEnt, "#FEAT" + IntToString( ++iCnt ), iFeat );
}
}
//SEEKER ARROW
// Arcane Archer feats are not defined in nwscript?