public void FallingEnd(Tile tile) { FallingCount --; tile.SetTileByStatus(); if(FallingCount == 0){ MonsterAttack(); } }
public void FallingEnd(Tile tile) { FallingCount --; if(tile != null){ tile.SetTileByStatus(); } if(FallingCount == 0){ // Effect if(UserData.Instance.Mp == UserData.Instance.MpMax){ UserData.Instance.Mp = 0; GameObject.Find ("UserText").GetComponent<UserText>().setStat(); StormEffect(); } else{ MonsterAttack(); } } }