Difference between revisions of "EnemyHits"

From Wiki
Jump to: navigation, search
(Description: Applying template to note)
Line 7: Line 7:
 
The #enemyHits system variable represents the percentage of hit points left on the current enemy.
 
The #enemyHits system variable represents the percentage of hit points left on the current enemy.
  
''Note: It is only possible to see one enemy at a time using this variable. If you have more than one enemy, the variable will switch values randomly.''
+
 
 +
{{Note|It is only possible to see one enemy at a time using this variable. If you have more than one enemy, the variable will switch values randomly.}}
 +
 
  
 
==== Example ====
 
==== Example ====

Revision as of 15:54, 26 August 2005

#enemyHits

Combat System Variables

Description

The #enemyHits system variable represents the percentage of hit points left on the current enemy.


Note: It is only possible to see one enemy at a time using this variable. If you have more than one enemy, the variable will switch values randomly.


Example


if #enemyID <> N/A
  display ok You're being attacked! The attacker has , #enemyHits , % Hits.

See Also

#enemyID

Main_Page Documentation Combat System Variables