Need help

Help me to this item script.

Increase damage to lhz03 boss monster by 40%

Thank you!
You own the Will-RO Right? 

bonus2 bAddEle,Ele_Shadow,40; bonus2 bAddEle,Ele_Holy,40; bonus2 bAddEle,Ele_Dark,40; bonus2 bAddRace,RC_DemiHuman,40; 
That trick would work.

since all BOSS MOBS has different elements.

But i'll take a look a little bit more.

But if your looking for a specific spot which 40% on that area within BOSS TYPE mobs. it requires source
default_smile.png


 
Last edited by a moderator:
Also, you can use bonus2 bAddRace2 script to set damage specifically to biolab 3 boss monsters. Just edit file db/{pre-}re/mob_race2_db.txt to add the new race with monster id of those boss monsters.

 
Also, you can use bonus2 bAddRace2 script to set damage specifically to biolab 3 boss monsters. Just edit file db/{pre-}re/mob_race2_db.txt to add the new race with monster id of those boss monsters.
Is this correct?

mob_race2_db.txt

// lhz03
7,1647,1651,1646,1650,1648


and

item_db2.conf
Code:
Script: <" bonus2 bAddRace2,7,40; ">
 
Yes, sintaxis is correct. However, you are missing monster 1649 High Priest Magaleta mvp and I suggest you to put in in order from 1646 to 1651.

It seems you are using pre-renewal since you decided to use value 7 for race. Value 7 stands for Scaraba subrace monsters and with that Queen Scaraba Card (4507) would have effect on that lhz03 subrace, only if you have implemented that card.

You can add new races, but it seems it needs a src edition plus adding it to mob_race2_db.txt to add new races, because adding a new race (over 9 value) without src edition produces a warning in console. You may not have it since you are using value 7 that stands for scaraba subrace monsters.

To add new races in src open src\map\map.h and search for the next values:

enum {
RC2_NONE = 0,
RC2_GOBLIN,
RC2_KOBOLD,
RC2_ORC,
RC2_GOLEM,
RC2_GUARDIAN,
RC2_NINJA,
RC2_SCARABA,
RC2_TURTLE,
RC2_MAX
};

Just after RC2_TURTLE add the new one and then recompile. Then, edit db\constants.conf in "Subraces" section to add the new constant for the new race and use it in your code instead of numeric value.

However, if you are not planing to use Queen Scaraba Card at all, you can just use value 7 as you have.

(Btw, try to put an space after the comma, since it is standard in Hercules
default_tongue.png
)

 
Last edited by a moderator:
Yes, sintaxis is correct. However, you are missing monster 1649 High Priest Magaleta mvp and I suggest you to put in in order from 1646 to 1651.

It seems you are using pre-renewal since you decided to use value 7 for race. Value 7 stands for Scaraba subrace monsters and with that Queen Scaraba Card (4507) would have effect on that lhz03 subrace, only if you have implemented that card.

You can add new races, but it seems it needs a src edition plus adding it to mob_race2_db.txt to add new races, because adding a new race (over 9 value) without src edition produces a warning in console. You may not have it since you are using value 7 that stands for scaraba subrace monsters.

To add new races in src open src\map\map.h and search for the next values:

enum {
RC2_NONE = 0,
RC2_GOBLIN,
RC2_KOBOLD,
RC2_ORC,
RC2_GOLEM,
RC2_GUARDIAN,
RC2_NINJA,
RC2_SCARABA,
RC2_TURTLE,
RC2_MAX
};

Just after RC2_TURTLE add the new one and then recompile. Then, edit db\constants.conf in "Subraces" section to add the new constant for the new race and use it in your code instead of numeric value.

However, if you are not planing to use Queen Scaraba Card at all, you can just use value 7 as you have.

(Btw, try to put an space after the comma, since it is standard in Hercules
default_tongue.png
)
This is neat
default_biggrin.png


 
Back
Top