NPC

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
User avatar
Gries
Posts: 307
Joined: Fri Jun 17, 2011 9:45 am

NPC

Post 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
User avatar
Zealar
L2j Veteran
L2j Veteran
Posts: 1236
Joined: Sun Jul 15, 2007 10:29 am

Re: NPC

Post 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.
User avatar
Diana
Posts: 30
Joined: Fri Jun 20, 2014 9:04 pm

Re: NPC

Post 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.
Image
User avatar
Zealar
L2j Veteran
L2j Veteran
Posts: 1236
Joined: Sun Jul 15, 2007 10:29 am

Re: NPC

Post 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.
User avatar
Gries
Posts: 307
Joined: Fri Jun 17, 2011 9:45 am

Re: NPC

Post 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.
User avatar
Zealar
L2j Veteran
L2j Veteran
Posts: 1236
Joined: Sun Jul 15, 2007 10:29 am

Re: NPC

Post 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
Post Reply