//=====================生命============================================== this.changeTextColor('rgba(0,255,0,255)'); this.drawText('生命', x +335, y +180, 200, 'right'); //生命值 this.changeTextColor('rgba(255,255,255,255)'); this.drawText(this._actor.mhp+ '', x+ 560, y +180, 100, 'right'); //生命值 //=========================================================================== //=====================魔力============================================== this.changeTextColor('rgba(0,255,0,255)'); this.drawText('魔力', x +335, y +215, 200, 'right'); //闪避率的为难 this.changeTextColor('rgba(255,255,255,255)'); this.drawText(this._actor.mmp+ '', x+ 560, y +215, 100, 'right'); //闪避率数值 //=========================================================================== //=====================生命回复============================================== this.changeTextColor('rgba(0,255,0,255)'); this.drawText('生命回复', x-93, y +245, 200, 'right'); //闪避率的为难 this.changeTextColor('rgba(255,255,255,255)'); this.drawText(this._actor.tgr*100+'%', x+ 0, y +245, 200, 'right'); //闪避率数值 //=========================================================================== //=====================魔力回复============================================== this.changeTextColor('rgba(0,255,0,255)'); this.drawText('魔力回复', x-93, y +280, 200, 'right'); //爆击的为难 this.changeTextColor('rgba(255,255,255,255)'); this.drawText(this._actor.cri*100+'%', x+ 0, y +280, 200, 'right'); //爆击数值 //=========================================================================== this.changeTextColor('rgba(0,255,0,255)'); this.drawText('命中', x-140, y +315, 200, 'right'); //命中的为难 this.changeTextColor('rgba(255,255,255,255)'); this.drawText(this._actor.hit*100+'%', x+ 0, y +315, 200, 'right'); //命中数值