Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Begin DN_Mastery_script
- short pDestForUp
- if ( Player->GetDestruction < pDestForUp ) ;Чтобы завершался, если навык игрока < нужного для апгрейда
- StopScript, "DN_Mastery_script"
- Return
- endif
- if ( pDestForUp == 100 )
- if ( Player->GetDestruction == 100 )
- Player->AddSpell "DN_Mastery_3L"
- Player->RemoveSpell "DN_Mastery_2L"
- Set Bed_Standard.DestDone to ( Bed_Standard.DestDone + 1 )
- Set pDestForUp to 150
- Return
- endif
- endif
- if ( pDestForUp == 95 )
- if ( Player->GetDestruction >= 95 )
- Player->AddSpell "DN_Mastery_2L"
- Player->RemoveSpell "DN_Mastery_1L"
- Set pDestForUp to 100
- Return
- endif
- endif
- if ( pDestForUp == 80 )
- if ( Player->GetDestruction >= 80 )
- Player->AddSpell "DN_Mastery_1L"
- Player->RemoveSpell "DN_Mastery_0L"
- Set pDestForUp to 95
- Return
- endif
- endif
- if ( pDestForUp == 0 )
- if ( Player->GetDestruction >= 60 )
- Player->AddSpell "DN_Mastery_0L"
- Set pDestForUp to 80
- endif
- endif
- End
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement