void Start() { if (MaxHP <= 0) { MaxHP = 1; } HP = MaxHP; mplayer = PeCreature.Instance.mainPlayer; anmt = mplayer.animCmpt; mmc = mplayer.motionMgr; af = mmc.GetAction <Action_Fell>(); ht = HolotreeTask.Instance; }
//float hppct; void Awake() { s_instance = this; }