Post Pacific  

Go Back   Post Pacific > Lineage 2 > Lineage 2 Help

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 01.06.2009, 11:27   #3
goodtimeshaxor
Guest
 
Posts: n/a
Default L2Extend Functions/Calls/Tokens/Questions

2-Perhaps i am wrong but if you kill an NPC directly by CCreaturee::Die timer to despawn is not set.

Better use this function to kill NPC


bool CNPC::Die(CCreature *pEnemy)

{

typedef bool (__thiscall *_DIENPC) (CNPC *pMyself, CCreature *Enemy);

_DIENPC xDienpc = (_DIENPC)0x006C38B0L;

return ( xDienpc(this, pEnemy) );

}


Anyway don't have time to check

Use CNPC:: Die function it work (*Enemy can be *Myself if needed :p)


Well, this skill is primarily a PvP skill (target would be another PC) but it can be used against an NPC for exping purposes.

Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 06-01-2009, 11:27 AM. Открыть источник.
 
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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