- Joined
- Nov 12, 2006
- Messages
- 35
Im designing a war based game and I want to have mana as morale for most units (Mages use it as mana). Here are some ground rules on the system;
1. Morale is stagnant for most troops when idle.
2. Morale is increased when an enemy unit within a very small radius of a unit dies.
3. Morale decreases when a friendly unit within a small radius of a unit dies.
4. Leaders give off auras to increase morale over time.
5. If morale = 0, the unit will run from the nearest enemy unit until 1000 units away. If no enemies are within 1000 units, they get 1 mana and rally.
I need help implementing this system. If you are willing to help me out, tell me.
1. Morale is stagnant for most troops when idle.
2. Morale is increased when an enemy unit within a very small radius of a unit dies.
3. Morale decreases when a friendly unit within a small radius of a unit dies.
4. Leaders give off auras to increase morale over time.
5. If morale = 0, the unit will run from the nearest enemy unit until 1000 units away. If no enemies are within 1000 units, they get 1 mana and rally.
I need help implementing this system. If you are willing to help me out, tell me.