MonsterBulletAttack

From Eternity Wiki
Jump to navigationJump to search

Description

Generic monster bullet attack.

Usage

MonsterBulletAttack(horizontal_spread, vertical_spread, number_of_bullets, base_damage, random_multiplier)

Parameters

  • horizontal_spread: in degrees (accepts decimal point). Default: 0 (perfectly precise horizontally)
  • vertical_spread: in degrees (accepts decimal point). Default: 0 (perfectly precise vertically)
  • number_of_bullets: how many bullet tracers to fire. Default: 1
  • base_damage: base damage of attack, which will be multiplied by 1 up to random_multiplier inclusive. Default: 3
  • random_multiplier: maximum multiplier of base_damage. Default: 5. Must not be 0.

Examples

No examples given.

Notes

The damage formula is base_damage * random(1, random_multiplier).

See also