Forger (NPC) help

smoochy boys on tour

LegendsMir

Dedicated Member
Dedicated Member
Sep 13, 2010
61
1
34
I need it so when you make a Basic Armour it will add X amount onto your total skill points. And if you want to forge Novice Armours you must have X amount of skill points. I think Variables would be the best way, but not sure.. And dont really understand how they work. Any help apreciated thanks.
 

Weikster

LOMCN Veteran
Veteran
Jan 21, 2009
421
11
44
36th chamber
Just change gamegold or gamepoints into forge points.
In !Setup.text

GameGold=Gamegold
GamePoint=ForgePoints

Then use the command to give them out.

#ACT
GAMEPOINT + 10

It will show as ForgePoints on stat screen but you still need to use Gamepoint for the script.
 
Upvote 0

LegendsMir

Dedicated Member
Dedicated Member
Sep 13, 2010
61
1
34
Not a bad way to do it, but im using gamepoints for quest points :P

Ive tried to figure out how variables work and havnt set it up write.

M2server errors

[18/09/2010 09:45:24] [QuestAction] Variable not found:eek:makills Command:CALCVAR NPC:TestingNpc Map:0(321:273) Param1:Human Param2:eek:makills Param3:+ Param4:1 Param5: Param6:
[18/09/2010 09:45:24] [QuestAction] Variable not found:eek:makills Command:SAVEVAR NPC:BoostingBarry Map:0(321:273) Param1:Human Param2:eek:makills Param3:..\QuestDiary\Variables\Integral.txt Param4: Param5: Param6:
[18/09/2010 09:45:24] [Npc Condition Error] Cmd:CHECKVAR NPC:BoostingBarry Map:0 (321:273) Param1:Human Param2:eek:makills Param3:> Param4:3 Param5:

My NPC script

[@Main]
#IF
CHECKLEVELEX > 9
#SAY
Add 1 point. <Add./@1>\
<My Skill Points./@I1>\
<Close./@Exit>

[@I1]
#ACT
sendmsg 6 "Skill Points: <$Human(omakills)>."
CLOSE

[@1]
#ACT
CalcVar Human omakills + 1
SaveVar Human omakills ..\QuestDiary\Variables\Integral.txt
linemsg 6 "SkillPoint Upgraded By 1!"
goto @next
BREAK
[@next]
#IF
CheckVar Human omakills > 3
#SAY
You have 4 Skill Points.\
<Close./@Exit>
#ELSEACT
sendmsg 6 "Required Skill Points: <$Human(omakills)/20>."
#ELSEACT
GOTO @No
BREAK
[@No]
#IF
CHECKLEVELEX > 1
#ACT
sendmsg 6 "Skill Points: <$Human(omakills)>/50."
GOTO @Main
BREAK
#ELSESAY
No


Any help really apreciated thanks :)
 
Last edited:
Upvote 0

Anonlol

LOMCN Veteran
Veteran
Feb 25, 2010
574
14
104
Do you have the txt file named as omakills, you forgot to replace that part otherwise.
 
Upvote 0