Sponsored By

On enemyhealth

Notes on EnemyHealth scripts and the distribution, and reusablity across zones on different mobs.

James Cullen, Blogger

April 18, 2010

1 Min Read
Game Developer logo in a gray background | Game Developer

I just realized that enemyhealth on every bot should be organized and can be used on mobs throughout the zone. 

Mobs < level10 can all use the same enemy health scripts across zones. So the enemyhealth scripts that are already written will be used from zone to zone. Keep track of the HP for each enemyHealth script. 

Group the enemyhealth scripts by level EnemyHealth1 - enemyHealth40 will be for 1 - 10th level mobs. I can then use these scripts interchangably on any zone with lowbie mobs. 

 

I can make 4 or 5 zones with mobs below 10th level. 

 

ToDo:

Create 40 enemeyHealthScripts.

BossEnemyHealth script

convert the PlayerBulletscript so that the call to enemyHealth script will be in it's own js script. 

 

Read more about:

Blogs
Daily news, dev blogs, and stories from Game Developer straight to your inbox

You May Also Like