Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- task SFX_PlayCheck {
- let Now_CardCapture = GetCommonDataDefault("GSK_SpellCapture", false);
- let Now_Point = GetPoint;
- let Now_Graze = GetGraze;
- let Now_Miss = OnPlayerMissed;
- let Now_Life = GetPlayerLife;
- loop {
- if(Now_CardCapture){
- PlaySE(list_sfx_enemy[7]);
- AddScore(GetCommonDataDefault("GSK_SpellBonus", 0));
- SetCommonData("GSK_SpellCapture", false);
- SetCommonData("GSK_SpellBonus", 0);
- }
- if(Now_Point<GetPoint){ PlaySE(list_sfx_player[1]); }
- if(Now_Graze<GetGraze){ PlaySE(list_sfx_player[0]); }
- if(OnPlayerMissed && Now_Miss!=OnPlayerMissed) { PlaySE(list_sfx_player[2]); }
- if(Now_Life < GetPlayerLife){ PlaySE(list_sfx_player[3]); }
- Now_CardCapture = GetCommonDataDefault("GSK_SpellCapture", false);
- Now_Point = GetPoint;
- Now_Graze=GetGraze;
- Now_Miss = OnPlayerMissed;
- Now_Life = GetPlayerLife;
- yield;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment