Difference between revisions of "EnemyHits"
From Wiki
| Line 4: | Line 4: | ||
=== Description === | === Description === | ||
{{ro}} | {{ro}} | ||
| + | |||
| + | 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 ==== | ==== Example ==== | ||
<pre> | <pre> | ||
| + | if #enemyID <> N/A | ||
| + | display ok You're being attacked! The attacker has , #enemyHits , % Hits. | ||
</pre> | </pre> | ||
==== See Also ==== | ==== See Also ==== | ||
{| | {| | ||
| − | | Width=200px | | + | | Width=200px | [[Var_enemyID|#enemyID]] |
|} | |} | ||
---- | ---- | ||
Revision as of 19:52, 10 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 |