SetHits

From PGE Wiki
Jump to navigation Jump to search

Prototype

SetHits,NPCID,Section,Hits,-,Active time,-

Description

Set all NPCs that have the given NPCID to have taken HITS amount of hits.

Notes

You can use this to set boss life, but remember it only tracks how many hits a boss has taken. So 0 hits = FULL LIFE / 10 HITS LEFT 10 hits for mother brain = DEAD -10 hits for mother brain = 20 HITS LEFT FOR KILL

Examples

// Set mother brain (NPC ID 209) in section 4 to have 3 life left (7 hits taken)
SetHits,209,4,7,0,2,0