home *** CD-ROM | disk | FTP | other *** search
- if(_root.lives / _root.health * 100 == 100)
- {
- _root.bonus = 1000;
- }
- else if(_root.lives / _root.health * 100 >= 50)
- {
- _root.bonus = 500;
- }
- else
- {
- _root.bonus = 0;
- }
- _root.value = math.round(_root.hits / _root.shots * 100);
- _root.accuracy = _root.value + "%";
- _root.kills = _root.kills * _root.value + _root.bonus;
-