script and npc changes

This commit is contained in:
EpicValor
2023-09-02 22:56:38 -05:00
parent be5bd6b0bc
commit b3a5e77663
18 changed files with 1916 additions and 58 deletions

View File

@@ -22,9 +22,9 @@ void main()
SetLocalInt(OBJECT_SELF, "X2_NUMTIMES_BLOCKED",0);
ClearAllActions();
}
if(GetAbilityScore(OBJECT_SELF, ABILITY_INTELLIGENCE) >= 5)
if(GetAbilityScore(OBJECT_SELF, ABILITY_INTELLIGENCE) >= 2)
{
if(GetIsDoorActionPossible(oDoor, DOOR_ACTION_OPEN) && GetAbilityScore(OBJECT_SELF, ABILITY_INTELLIGENCE) >= 7 )
if(GetIsDoorActionPossible(oDoor, DOOR_ACTION_OPEN) && GetAbilityScore(OBJECT_SELF, ABILITY_INTELLIGENCE) >= 4 )
{
DoDoorAction(oDoor, DOOR_ACTION_OPEN);
}