1. Abilities
  2. world_design
  3. templates
  4. damage_percent_on_spawn
  5. dpos_random_template

Damage Percent On Spawn Static Template

Damage Percent On Spawn Static Template

FUNCTION: Damages an NPC for a random standard percentage damage on spawn. We do not have the functionality to do a random percent damage, so the only recourse we have is using random standard percentage. Please keep in mind these values are not equivalent to actual percentages.

To change the value on a cloned version of this, change the StandardHealthPercentMin and Max to a range of values in decimal percent format. (i.e., 0.25 to 0.50).

APPROVED TEMPLATE 2/23/2011

Attributes

Conditions

Metadata

Users

Related effects, buffs and debuffs

Ability activation
1
Damage Percent On Spawn Static Template
  • [hidden] [does not expire]
    Effect #1

  • 1
    • When effect is applied

    Perform the following actions:

    • Damage
      - Damage Type = (int) 5
      - Level Cap = (int) 0
      - Amount Max = (float) 0
      - Amount Min = (float) 0
      - Amount Percent = (float) 0
      - Threat Percent = (float) 0
      - Standard Health Percent Max = (float) 0.5
      - Standard Health Percent Min = (float) 0.25
      - Damage Modifier = (float) 0