Changing Stats of the weapons/armor etc

03/26/2013 09:34 raventh1984#1
Hi elitepvers,

I am wondering if its possible to have more then 3 additional stats to an weapon/armor

For example

Weapon 1 gives 10% HP 20% Adoch 5% speed

What i want is this
Weapon 1 10% hp 20% adoch 5% speed 2%mp

I only see 3 rows for it
dwDestParam1
dwDestParam2
dwDestParam3

Is it possible to add an other dwDestParam?

With kind regards
03/26/2013 09:40 ThoughtfulDev#2
yep it is in the source i think the new v19 parameters or so can have 6 effects
03/26/2013 10:09 raventh1984#3
Oke great.

Well i am still on the v17/v18
So what i have done is looking for
this
__PROP_0827 <-- This is the define of the new Spec_Item
I have changed somethings and added an new row to Spec_Item

Now i need to test it to see if its working as it should be.
Compiling gives 0 errors so thats an good thing.


UPDATE
Launching the DatabaseServer.exe
Gives the following error
Spec_Item.txt ID:0 last_read(ID:2 name:=)

I already have looked into the source for this error but there is nothing i can relate to.
Anyone have an clue?

UPDATE2
Well i have solved the Spec_item.txt error but i have now 2 new errors when launching the databaseServer

2013/ 3/26 11:01:02 propSkill.txt ID:0 last_read(ID:1 name:0)

2013/ 3/26 11:01:02 ItemProp(0) dwItemKind2 = -1

I guess adding these things is not enough and i need to do more then that.

These are the files i have changed to fit the new Params
ProjectCmn.h/.cpp Skillinfluance.cpp Wndmanager.cpp MoverEquip.cpp MoverParam.cpp MoverSkill.cpp
Project.cpp/.h

#define dwDestParam4 dwDestParam[3]
#define nAdjParamVal4 nAdjParamVal[3]
#define dwChgParamVal4 dwChgParamVal[3]