Scripts

TR_FM_SkeletonDis_sc

TR_Mainland.esm
Source
1Begin TR_FM_SkeletonDis_sc 2 3; Disables undefeated skeletons some time after Grurn has been defeated 4 5if ( GetDisabled ) 6 Return 7endif 8 9if ( GetCommonDisease == 0 ) 10 AddSpell "brown rot" 11endif 12 13if ( CellChanged == 0 ) 14 Return 15endif 16 17if ( TR_FM_Glob_State > 1 ) 18 if ( GetHealth > 1 ) 19 Disable 20 endif 21elseif ( TR_FM_Glob_State == -1 ) 22 if ( GetHealth > 1 ) 23 Disable 24 endif 25endif 26 27End