Moubootaur Legends

Acorn Of Death - Item DB

Acorn Of Death | 7420

You died, and all you got was this nasty acorn!

Heal 12-18 HP
ID 7420
type IT_HEALING
weight 1
delay 500
ID for use in Discord:
Expert View

You'd like to see behind the curtain? Then you are here at the right place - lots of data only contributors would normally see.

Open raw JSON
ID 7420
aegisName DeathPenality
Script

Script to execute when the item is used/equipped.

if (@useType == 1) {
	@min = 8;
	@max = 30;
	@delay = 3;
	doevent "legacy_heal::OnUse";
} else {
	if (!getmapxy([email protected]$, [email protected], [email protected], 0)) {
monster([email protected]$, [email protected], [email protected], l("Oak"), 1017, 1);
$TREE_PLANTED+=+1;
callfunc "SaggyScoreUpdate", callfunc("rand2", 1, 2);
	}
}