Page 1 of 1

NPC

Posted: Tue Jul 01, 2014 8:32 pm
by Gries
Regarding: viewtopic.php?f=103&t=29939

Vampiric /MP Drain on NPC is possible only till NPC has some health left, when NPC reaches 0 health you can't anymore.
As far i know NPC health in l2j is always full, so drain is always possible and for now the only way to disallow it is by blocking attacks on NPC

Re: NPC

Posted: Tue Jul 01, 2014 9:04 pm
by Zealar
Guess that need to be in bug report. And yes vampire (any type of it) is based on target consumed hp not to damage done on it no matter is player or npc.

Re: NPC

Posted: Tue Jul 01, 2014 9:33 pm
by Diana
How about making the npc p.def/m.def 99999999 and then even if u hit them, you wont be able to regenerate hp because you'll be hitting me 1 damage.

Re: NPC

Posted: Wed Jul 02, 2014 3:38 am
by Zealar
Diana wrote:How about making the npc p.def/m.def 99999999 and then even if u hit them, you wont be able to regenerate hp because you'll be hitting me 1 damage.
That is bad way of thinking, temp solution is not prefer for easy to fix bugs.

Re: NPC

Posted: Wed Jul 02, 2014 2:04 pm
by Gries
Diana wrote:How about making the npc p.def/m.def 99999999 and then even if u hit them, you wont be able to regenerate hp because you'll be hitting me 1 damage.
NPC stats moved to the datapack, before you could run an SQL query and set it to 99999999 for every L2Npc type, now you have to change them one by one manually and still it is not the best solution.

Re: NPC

Posted: Thu Jul 03, 2014 1:16 pm
by Zealar
Nothing big just "first step".

Known bugs : Don't work on all NPC seems not all NPC extends same stuff look strange still looking why.

http://pastebin.com/Eacr4uG6