User Tools

Site Tools


triggers:mprog:hpcnt

HPCNT (HIT POINT PERCENTAGE)

Keyword : 'hpcnt'

Argument: number

Explanation: Again, the argument here is a percentage. But not a percentage that sets the chance of triggering the mprog. The argument tells the mob how low his hitpoints have to be in a fight to trigger the mprog. Look at the bottom of this chapter to see how you can make a mob perform different actions at different hit point percentages. HPCNT is checked every fighting round. It can be used to make a mob flee, yell for help, heal itself, etc…

Example: “Addmp 1000 hpcnt 25” will make the mob trigger mprog 1000 when he is at 20% of his health.

triggers/mprog/hpcnt.txt · Last modified: 2014/12/24 03:40 by vodur