11 lines
260 B
C#
11 lines
260 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class PlayerHealth : hasHP {
|
|
public override void die() {
|
|
Debug.Log("player die");
|
|
this.curHP = 1;
|
|
GetComponent<PlayerStats>().Die();
|
|
}
|
|
}
|