Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/candybox2/candybox2.github.io
/ heal
Method
heal
code/main/QuestEntity.ts:266–268 ·
view source on GitHub ↗
(hp: number)
Source
from the content-addressed store, hash-verified
264
}
265
266
public heal(hp: number): void{
267
this.setHp(this.getHp() + hp);
268
}
269
270
public hit(questEntity: QuestEntity, damage: number, reason: QuestEntityDamageReason): void{
271
// BUGS
Callers
7
update
Method · 0.80
castPlayerHealthPotion
Method · 0.80
castPlayerPPotion
Method · 0.80
update
Method · 0.80
update
Method · 0.80
update
Method · 0.80
update
Method · 0.80
Calls
2
setHp
Method · 0.95
getHp
Method · 0.95
Tested by
no test coverage detected