Introduction
Introduction to lifecycles
Last updated
Introduction to lifecycles
Last updated
A life-cycle is an event based timeline of actions that might or will occur during the lifetime of your mob. Life-cycles can be created and added to one more multiple custom mobs.
Think about a boss related game. At first, your boss is doing regular attacks, as of certain percentage left of his health, the boss will become stronger or do different attacks. That is exactly how life-cycles work in bloodmoon.
When the config property "mob-progress" under the "lifecylces" section of the config is enabled, it will also trigger the life cycle actions when a mob is hitting you.
This will result in more difficult fights. This also works for any mob attacking another mob.
A life cycle has the following arguments:
In the config a simple life-cycle would look like this:
We have a life-cycle named "magician". Our life-cycle has several actions. In order to understand how does works, we take just one line and split it piece by piece.
We assume that you created an action "teleport-spell". Our teleport spell will occur between 100 and 0 percentage of the mob health. Every hit has a 40% chance of triggering the action. And the action will execute maximum 20 times during the life cycle.
If you take a look back to all the lines, you can see that certain event might or might not occur during the life cycle.
Introduced as of bloodmoon version 4.0, the death actions have been introduced. This is an additional list of actions that will be executed when the mob dies.
For each of the actions you can configure a percentage of possible occurrence. For example:
You can use multiple actions on the same percentage levels. This will result in possibly 2 actions running