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:
		| @@ -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? | ||||
|   | ||||
		Reference in New Issue
	
	Block a user