BONUS Ability system

Desolation Mir2 (Med Rate Server)

Far

tinmymouthpl0x
Staff member
Administrator
May 19, 2003
20,709
35
3,357
520
someone must know what this npc does. and how it works.

i THINK i need bonus points to use it, but im not sure.

the npc is found in system/BonusAbilitySystem.txt

please cld someone help me sus out this npc.!

if no one knows how this npc works. cld someone please tell me how to add HP/MP to your char for a certain amount of time, through npc?
 
Last edited:

Coly

LOMCN Developer
Developer
Mar 31, 2005
1,401
36
275
Germany
^^ this is a Old system. LS : Ginko
The NPC can give you Random HP MP SC MC AC Elements ...
You Player must have lvl 40+ with a new lvl then go to this npc and you becomes new Bonus.

Excempel :

<Give me HP/@MyBonus(HP)>

[@MyBonus()]
#IF
CheckBonus
#ACT
TakeBonus %ARG(1)
#IF
Equal P0 0
#SAY
Fail
#ACT
Break
#IF
Equal P1 20
#Say
You have become <$OutPut(P2)> HP.\
<Exit/@exit>\

In P1 is the use Info (HP DC MC SC AC ......) in Number.
In P2 is the Random Bonus this was the User become.

The Server Save this in TBL_CHARACTER last Colums (You can't fake it)
this Bonus can Clear by ClearWater and then New add with other Bonus.

You can't self add amount like this Bonus = 100 HP

I Hope you understand...
 
Last edited:

Far

tinmymouthpl0x
Staff member
Administrator
May 19, 2003
20,709
35
3,357
520
i believe my npc is just about identicle to that.

using your npc as an example, it wld always say "fail".

it says

#IF
checkbonus.

what bonus is it checking for?

also. you said i cant add say 100hp, do u mean it will add a random amount of hp to me? if so, can i choose what that random amount goes upto, and how long it lasts for?
 

Coly

LOMCN Developer
Developer
Mar 31, 2005
1,401
36
275
Germany
and how long it lasts for?
forever

you said i cant add say 100hp, do u mean it will add a random amount of hp to me?
yes it is a Random System.

can i choose what that random amount goes upto,
no I have not found.

Ok you have lvl up from 39 to 40 then the Bonus Count in your Character DB
(FLD_LEVELBONUS is the Counter) all FLD_EXTRA**** Colums is for Bonus.
Count up from 0 to 1, this is was the Command check :)
Bonus Begins by lvl 40 and with next level up you becomes +1 Bonus.
If you use the npc and becomes stats then the System Dec the BonusCount in your DB. With Live on the Server you need the lvl Check ( CheckLevel 40 )

the Commands :

/@MyBonus(HP)
/@MyBonus(MP)
/@MyBonus(DC)
/@MyBonus(MC)
/@MyBonus(SC)
/@MyBonus(AC)
/@MyBonus(MAC)
/@MyBonus(ATOM)

and sorry false Excemple my mistake :

[@MyBonus()]
#IF
CheckBonus
#ACT
TakeBonus %ARG(1)
#ELSEACT
Goto @HaveNoBonus
break

#IF
Equal P0 0
#ACT
SysMsg "The system fail :( "
Break
#IF
Equal P1 20
#Say
You have become <$OutPut(P2)> HP.\
<Exit/@exit>\


;)
 
Last edited:

mir3Mist

Dedicated Member
Dedicated Member
Aug 11, 2005
108
0
42
you could just change the sc/mc/dc/hp/mp/elements in fld_ability i think... not tried it but pretty sure u can
 

mir3Mist

Dedicated Member
Dedicated Member
Aug 11, 2005
108
0
42
Coly said:
^^ this is a Old system. LS : Ginko
The NPC can give you Random HP MP SC MC AC Elements ...
You Player must have lvl 40+ with a new lvl then go to this npc and you becomes new Bonus.

Excempel :

<Give me HP/@MyBonus(HP)>

[@MyBonus()]
#IF
CheckBonus
#ACT
TakeBonus %ARG(1)
#IF
Equal P0 0
#SAY
Fail
#ACT
Break
#IF
Equal P1 20
#Say
You have become <$OutPut(P2)> HP.\
<Exit/@exit>\

In P1 is the use Info (HP DC MC SC AC ......) in Number.
In P2 is the Random Bonus this was the User become.

The Server Save this in TBL_CHARACTER last Colums (You can't fake it)
this Bonus can Clear by ClearWater and then New add with other Bonus.

You can't self add amount like this Bonus = 100 HP

I Hope you understand...

cant u change it at the end then into fld_bonushp i think it is... again not tried that
 

Far

tinmymouthpl0x
Staff member
Administrator
May 19, 2003
20,709
35
3,357
520
i add i think i know where i went wrong (think). i leveled my char from lv 1 - 40 through gm command, so i bet it doesnt add any bonus points? which wld explain why it keeps saying i dont have any.

will try ur npc in a sec.

also.

since the hp+ is in tbl_characters, arnt i able to update that certain hp field through npc?
 

Far

tinmymouthpl0x
Staff member
Administrator
May 19, 2003
20,709
35
3,357
520
tried the npc. it just says "you have no bonus", any ideas? im level 45.
 

Coly

LOMCN Developer
Developer
Mar 31, 2005
1,401
36
275
Germany
(Level your Char) and then look at the TBL_Cha... If the Bonus Set, it is Resident in FLD_LEVELBONUS
 

Far

tinmymouthpl0x
Staff member
Administrator
May 19, 2003
20,709
35
3,357
520
cheers. got that working.

three more questions, hopefully the answer to all will be yes lol.

can i lower the starting level so it adds bonus points on from level 20?
is there an npc command to show how many bonus points u have left?
can i make it add more than one point per level?
 

Coly

LOMCN Developer
Developer
Mar 31, 2005
1,401
36
275
Germany
can i lower the starting level so it adds bonus points on from level 20? :( no
is there an npc command to show how many bonus points u have left? :( no or I don't Know
can i make it add more than one point per level? :( no
 

Far

tinmymouthpl0x
Staff member
Administrator
May 19, 2003
20,709
35
3,357
520
grr, arg, and pft.

wld have thought the mir3 system wld b more advanced than the mir2 one lol. o well, mayb i can get round it in someway. cheers for the help.