HealthPoint

From Moondust Wiki
Revision as of 06:15, 26 December 2015 by Wasabijellyfish (talk | contribs)
Jump to navigation Jump to search

HealthPoint is an API for LunaLua that lets users give custom health and damage values to NPCs that are usually stuck as one hit kills.

Download

Functions

HealthPoint.setNPCHealth(id, healthamount)
HealthPoint.setNPCDamage(id, damagetype, damageamount)
HealthPoint.setGlobalDamage(damagetype, damageamount)
HealthPoint.makeNPCInvincible(id)
HealthPoint.makeNPCNormal(id)


Damage types
1 = jump
2 = spinjump
3 = fireball
4 = hammer
5 = shell
6 = tail
7 = link
8 = thrown
9 = boomerang
10 = peachbomb
11 = swordbeam
12 = linkfire
13 = iceblock
14 = yoshifire
15 = yoshiice