![]() |
|
|
#1 |
|
Архивный участник
Join Date: Apr 2005
Posts: 357
|
AddAttackDesire(target,action,someparameter);
AddUseSkillDesire simply same... what about 3rd parameter? for that it need? I think this mean desire strength, but I dont know scale of this value. in ai this parameter affects from damage/myself.sm.max_hp and then some mob have 300k and more hp, usual player start inflict damage to mob, mob just stand and no react to player's attack. Explain anybody how use 3rd parameter. |
|
|
|
|
#2 |
|
Архивный участник
Join Date: Oct 2005
Posts: 57
|
That 3rd parameter probably defines how long the npc will wait to use a certain skill he has in his arsenal like some monsters wait till there low hp to use there best skills.
|
|
|
|
|
#3 |
|
Архивный участник
Join Date: Mar 2005
Posts: 107
|
let me add this to ur thread, is about the same topic.
What about void CNPC::SetDBValue(CSharedCreatureData* c, int value) ? |
|
|
|
|