Enemy Variation Data
Entries of the enemy_variations level JSON field.
Can be null in which a default enemy will be spawned.
All the data fields provided are optional.
-
speed_multiplier: Multiplies the enemy’s speed- example:
2.4533would be 2.4533x regular speed
- example:
-
graphic: Changes what the enemy looks like (its sprite/image) and will look for the asset inimages/enemies/jerrywould look forimages/enemies/jerry.png
-
variation_chance: Overrides the chance of the variation being selected- example:
23.5would be a 23.5% chance
- example:
-
health: Controls how many hits until the enemy is truely defeated- example:
4requires 4 hits until death
- example:
-
present: Controls what the base enemy variation data is- example:
super-saiyanwould look fordata/enemy_variation_presents/super-saiyan.jsonand use that as the present if found
- example: