Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   AddUseSkillDesire & AddAttackDesire (https://postpacific.loc-online.com/showthread.php?t=2386)

RmzVoid 29.10.2005 01:43

AddUseSkillDesire & AddAttackDesire
 
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.

Slipknight 29.10.2005 03:05

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.

elcapo 29.10.2005 03:20

let me add this to ur thread, is about the same topic.
What about

void CNPC::SetDBValue(CSharedCreatureData* c, int value)

?


All times are GMT. The time now is 16:19.