Need level to use a pot

Omen_lom

Golden Oldie
Golden Oldie
May 29, 2006
1,761
14
144
Just tried.

didnt work from directly editing field 'FLD_NEEDLEVEL'

probs another way though.
 
Upvote 0

lifco

Untrusted Member
Legendary
Golden Oldie
Loyal Member
Jul 6, 2004
3,400
66
195
UK/Italy
yes it can be done but its a day work

you need to rewrite how pots are used in the clickable system 1.9 has in place..... and also in the DB...

so when a pot is clicked it would check your level and add your hp or mp or what ever
and if you was under that level nothing would happen

tis very easy to put this in play

hope this makes sence

lif
 
  • Like
Reactions: Dano
Upvote 0

Bon

Legend
Legendary
Jul 29, 2004
6,726
330
300
Kent, UK
or u could jsut do it via qfunction

have checklevel
then hp+ w/e and mp+ w/e

dont know exact script of top of my head but its all in the if and act docs, altho... this is 2.3
 
Upvote 0

Dano

Golden Oldie
Golden Oldie
Apr 18, 2006
696
6
125
Wales
or u could jsut do it via qfunction

have checklevel
then hp+ w/e and mp+ w/e

dont know exact script of top of my head but its all in the if and act docs, altho... this is 2.3


yeah thats what i was thinking set it to stdmode 31 and then do it there :P
 
Upvote 0

Spoon666

LOMCN Veteran
Veteran
Feb 12, 2005
292
0
63
South West Wales
i done it in q-function yesterday but didnt really work out too good, can't put them on belt etc and there was a delay before hp actually added

@lifco: i wouldn't know where to start with all that you said about lol
 
Upvote 0

LegendOfMir

LOMCN N00B +1
Veteran
To use 1 items(including pots) on 1.9.x with minimum level need, must to go in DbCommander in Stditem.DB and use tab NeedLevel, and put there level u want. ;)

Never use Qfunction for this. Qfunction work like an NPC.:brows:
Is very simple.:middle:

DOOMNEZEU(Developer of1.9.4.1 & 1.9.X versions):ppunk:
 
Upvote 0

LegendOfMir

LOMCN N00B +1
Veteran
:ppunk:Yeps u have wright, but u can use weight to limit the level. Is just an ideea. Or u can make 1 NPC, or special teritory for level X to use with level u want. On Db with pots u can not do no nothing. Are limited this to use to put on you items, for level.:middle:

DOOMNEZEU(Developer of1.9.4.1 & 1.9.X versions):ppunk:
 
Upvote 0