Added old files

This commit is contained in:
neauoire 2020-04-16 19:53:23 +09:00
commit ef3620f4f9
86 changed files with 2157 additions and 0 deletions

View file

@ -0,0 +1,15 @@
'use strict'
function Gage_Health (name, limit, color) {
Gage.call(this, name, limit, color)
this.update = function () {
this.progress.update(this.value, this.limit)
if (donsol.player.can_drink === false) {
this.value_element.innerHTML = `<span>${this.value}</span> <span class='unit'>HP</span>`
} else {
this.value_element.innerHTML = `${this.value} <span class='unit'>HP</span>`
}
}
}