Author
|
Topic: Energy Shield Issue
|
WanabeCoder Serf
Posts: 16 From: Germany Registered: Feb 2002 |
posted 16 February 2002 17:52
I've set the caster state for energy shield like it is in the states.txt. If my hireling stands behind the lines this works fine. He cast that once and will then attack.But every time het get's a hit his shield expires and he has to recast it. If he gets hit a lot he end up in continuous recasting. Does somebody know how to get around this? Perhaps the amount of mana for hirelings is limited but refilled each frame. This would cause the shield to expire in the frame the hireling gets the damage but would not prevent him from casting his spells continuously. Got any ideas?

|
Myhrginoc Honorary Warlord
   
Posts: 1326 From: Percussion U Registered: Dec 2001 |
posted 16 February 2002 19:15
I would bet his mana is ZERO, or maybe 1 if needed to be positive...but he doesn't need to check mana levels, justs casts away.

|
FoxBat Moderator
   
Posts: 1618 From: PA, USA Registered: Feb 2001 |
posted 16 February 2002 19:22
Heh, yeah giving mercs energy shield is kindof pointless since they have no mana stat. First time he gets hit, checks his mana, finds he has no mana stat, destroys the shield 
[This message has been edited by FoxBat (edited 16 February 2002).]

|
Wyvern Honorary Warlord
   
Posts: 1137 From: A very large cave Registered: Jan 2002 |
posted 16 February 2002 20:48
very good idea though to bad it don't work yet maybe someday someone will figure out how to give them some mana heh.

|
WanabeCoder Serf
Posts: 16 From: Germany Registered: Feb 2002 |
posted 17 February 2002 06:45
another too good to be true... Iguessed it already. Thank you anyway!

|
Myhrginoc Honorary Warlord
   
Posts: 1326 From: Percussion U Registered: Dec 2001 |
posted 17 February 2002 10:39
The Law of Unintended Consequences would apply here, I think. If you gave them mana, you would probably end up running out too soon in a serious battle. Then you have to figure how to give hirelings mana steal. Not just wearing the items, but actually transferring the stolen mana to their storage data structure, just like HP.

|