Jump to content
  • 0

NPC Protection


Question

Posted

Hello,

How can I protect NPC like buffer gmshop from killing them. And if player use Fear on npc and he runs from the city or something like that.

10 answers to this question

Recommended Posts

  • 0
Posted

It is not a command, its a propriety.

You can define it on the Db or through java. Doing it through the NPC Db Proprieties is by far easier, just edit the npc table.

 

PS- Using Interlude = Stupid.

  • 0
Posted

My Npc Table:

id  decimal(11,0)     

idTemplate int(11)

name varchar(200)

serverSideName int(1)

title varchar(45)

serverSideTitle int(1)

class varchar(200)

collision_radius decimal(5,2)

collision_height decimal(5,2)

level decimal(2,0)

sex varchar(6)

type varchar(20)

attackrange int(11)

hp decimal(8,0)

mp decimal(5,0)

hpreg decimal(8,2)

mpreg decimal(5,2)

str decimal(7,0)

con decimal(7,0)

dex decimal(7,0)

int decimal(7,0)

wit decimal(7,0)

men decimal(7,0)

exp decimal(9,0)

sp decimal(8,0)

patk decimal(5,0)

pdef decimal(5,0)

matk decimal(5,0)

mdef decimal(5,0)

atkspd decimal(3,0)

aggro decimal(6,0)

matkspd decimal(4,0)

rhand decimal(4,0)

lhand decimal(4,0)

armor decimal(1,0)

walkspd decimal(3,0)

runspd decimal(3,0)

faction_id varchar(40)

faction_range decimal(4,0)

isUndead int(11)

absorb_level decimal(2,0)

absorb_type enum --

 

And what should i change here... ?

  • 0
Posted

I knew it.

I don't help Interlude Packs for the simple reason that they are a piece of crap, they are lacking TONS of things and they are completely insecure.

You can setup a huge HP and HP Regen but I wont help you anymore.

  • 0
Posted

find this in  l2mod.properties:

# This option is to enable or disable for normal players can hit NPC.

# NOTE: There's A Possibility That This Config. Will Reduce Game Lag

# Retail: True

PlayerHitNpc = False

and put it False

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock