So I have just entered the realm of NPC design on my game, I am trying to make the AI as clever and adapting as they can be an idea I have been having is to make the Npcs stats rival yours when your fighting against it.
For Example - Say your level 25 with 20 strength and 30 defence, the enemies stats will be like 0.9* both stats which would equal 18 strength and 27 defence. The stats will change to whoever the Npc locks onto just to give you a challenge.
I intend to make the Npc use the best attack or skill for the situation,they will have a set amount of skills they can use.
I am just looking for ideas on improving this to make it more efficient and have less loopholes.
Any help would be appreciated.
ID:266026
Apr 21 2011, 5:13 am
|
|
So my first thought is, if you are going to do this, perhaps make the skills based on the NPC's stats.
For instance "Whack Skill" Attack Power 1.2
"Super Whack" Attack Power 3.0
When the npc uses the whack skill it would multiply strength times skill attack power to reach the damage.
In this way damage stays proportional and challenging, BUT you limit difficulty if the NPC doesn't know any stronger skills.