This shows you the differences between two versions of the page.
triggers:mprog:hpcnt [2014/12/24 03:40] vodur created |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | 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. | ||