NPC command to increase/decrease MP/HP/DC/MC etc.???

MrMcD

Dedicated Member
Dedicated Member
Sep 27, 2004
226
9
65
Barnt Green
As it says in the title.

Anyone know the command to do this?

iv tryed searching but all i could find was how to increase stats on items.

thanks
 

makaveli

Dedicated Member
Dedicated Member
Nov 19, 2005
247
0
63
Timisoara, Romania
Ok that but i can't SET flag. How can i fix that and where can i put the *.txt file of the flag. this is a part of my quest/npc:
the quest file is in Npc_def:
[@main]
#IF
CHECK [203] 1
checkitem SpiritHelmet
checkitem SpiritBlade
checkitem SpiritNecklace
checkitem SpiritRing
checkitem SpiritBracelet
#SAY
Hello. With the SpiritSet you can make a quest\
for adding DC, MC, SC, ACC+ or AGIL on your body.\
These stats will never be lost. You can make this\
quest only once.\
<Give SpiritSet, and continue to quest/@continue>\
<No thanks/@exit>\
#ELSESAY
You do not have SpiritSet or you already made\
the quest. Please don't waste my time again.\ \
<Exit/@exit>\

[@continue]
#ACT
SET [203] 1
take SpiritHelmet
take SpiritBlade
take SpiritNecklace
take SpiritRing
take SpiritBracelet

where i put the [203] file?
btw HUMANDC doesnt work X-( appears
20.05.2006 22:07:18 script wrongHUMANDC +3 µÚ:51 ÐÐ: c:\Mirserver\Mir200\Envir\Npc_def\Jack-1002.txt
 
Upvote 0

makaveli

Dedicated Member
Dedicated Member
Nov 19, 2005
247
0
63
Timisoara, Romania
well its like this

[@main]
#IF
CHECK [203] 1
checkitem SpiritHelmet
checkitem SpiritBlade
checkitem SpiritNecklace
checkitem SpiritRing
checkitem SpiritBracelet
#SAY
Hello. With the SpiritSet you can make a quest\
for adding DC, MC, SC, ACC+ or AGIL on your body.\
These stats will never be lost. You can make this\
quest only once.\
<Give SpiritSet, and continue to quest/@continue>\
<No thanks/@exit>\
#ELSESAY
You do not have SpiritSet or you already made\
the quest. Please don't waste my time again.\ \
<Exit/@exit>\

i have spiritset in bag, when i click NPC, it says

You do not have SpiritSet or you already made\
the quest. Please don't waste my time again.\ \

i guess he doenst "see" my flag or what can be the problem?
 
Upvote 0

Babyhack

Devilsoul Owner
VIP
Feb 4, 2004
5,343
28
305
Dublin, Ireland
The flag on you char is on(1)
so you must have done the quest already or you have used that falg on a different quest

Why dont you just use namelist instead of flags

[@main]
#IF
CHECKNAMELIST Quest.txt
checkitem SpiritHelmet
checkitem SpiritBlade
checkitem SpiritNecklace
checkitem SpiritRing
checkitem SpiritBracelet
#SAY
Hello. With the SpiritSet you can make a quest\
for adding DC, MC, SC, ACC+ or AGIL on your body.\
These stats will never be lost. You can make this\
quest only once.\
<Give SpiritSet, and continue to quest/@continue>\
<No thanks/@exit>\
#ELSESAY
You do not have SpiritSet or you already made\
the quest. Please don't waste my time again.\ \
<Exit/@exit>\

and at the end of the quest have ADDNAMELIST Quest.txt

MH
 
Upvote 0

makaveli

Dedicated Member
Dedicated Member
Nov 19, 2005
247
0
63
Timisoara, Romania
what i have to add in mapquest.txt? and quest.txt i have to put it in mapquest_def along with the jack-1002(mapname) . i have putted the quest in npc_def folder.
what now? ty
 
Upvote 0

Fire

Golden Oldie
Golden Oldie
Apr 15, 2003
1,302
1
195
why are flags being discussed in an HP/MP post??

can a mod split this please?
 
Upvote 0

makaveli

Dedicated Member
Dedicated Member
Nov 19, 2005
247
0
63
Timisoara, Romania
well i just need to know what should i put in mapquest.txt. btw fire, its not about HP/MP post its about increasing it, with a NPC command, HUMANMP +2 for e.g
here is a part of my script: name: \mapquest_def\S01.txt <= place where i put it

[@main]
Welcome to SpiritQuest. Make sure you have\
spirit set, that means, SpiritRing,SpiritBracelet\
SpiritNecklace, SpiritBlade and SpiritHelmet.\ \
<Continue/@main1>\
<Exit/@exit>\

[@main1]
#IF
CHECK [300] 1
checkitem SpiritHelmet
checkitem SpiritBlade
checkitem SpiritNecklace
checkitem SpiritRing
checkitem SpiritBracelet
#SAY
Now you can add to you body, any of these stats,\
DC, MC, SC, ACC+ or AGIL on your body.\
These stats will never be lost. You can make this\
quest only once.\
<Give SpiritSet, and continue to quest/@continue>\
<No thanks/@exit>\

and here is what i putted in mapquest.txt:

1002 [300] 1 Jack * S01

the problem is, HUMANDC/SC/MC shows wrong in m2server, and the npc is not there...

any1 can help?
 
Last edited:
Upvote 0

Fire

Golden Oldie
Golden Oldie
Apr 15, 2003
1,302
1
195
if you want it as a npc then you have put it in the wrong folder.

if you want it to appear then kill a monster in 1002 called Jack when you have the flag 300 set to 1
 
Upvote 0

makaveli

Dedicated Member
Dedicated Member
Nov 19, 2005
247
0
63
Timisoara, Romania
i dont wanna kill any monster m8. i need the quest to be like an npc. in what folder should i put it? and why HUMANDC commands doenst work :((. what should i add in mapquest.txt, or whatever

thanks!
 
Upvote 0

Fire

Golden Oldie
Golden Oldie
Apr 15, 2003
1,302
1
195
change the file to go into Npc_Def then and add it to the Npc.txt file

you cant change the hp,mp or whatever yet

i think you can display it with:

<$HP>
<$MAXHP>
<$MP>
<$MAXMP>
<$DC>
<$MAXDC>
<$SC>
<$MAXSC>
<$MC>
<$MAXMC>
 
Upvote 0