Scripts

rothisScript

Morrowind.esm
Variables 1
Local Variables
noLore
Source
1Begin rothisScript 2 3short noLore 4 5if ( GetJournalIndex HR_CowardDisgrace < 10 ) 6 return 7endif 8 9if ( GetJournalIndex HR_CowardDisgrace >= 70 ) 10 if ( CellChanged == 1 ) 11 if ( GetDisabled == 0 ) 12 Disable 13 endif 14 endif 15 return 16endif 17 18if ( GetPCCell "Vivec, Arena" == 1 ) 19 20 if ( GetFlee != 30 ) 21 SetFlee 30 22 endif 23 24 if ( OnDeath == 1 ) 25 Journal HR_CowardDisgrace 70 26 Set DuelActive to 0 27 "Brethas Deras"->StopCombat 28 endif 29 30 if ( GetHealth < 40 ) 31 if ( GetItemCount "p_restore_health_s" > 0 ) 32 RemoveItem "p_restore_health_s" 1 33 ModHealth 20 34 endif 35 endif 36 37endif 38 39End