Petey Pablo
New member
- Messages
- 224
- Points
- 0
- Emulator
Help me to this item script.
Increase damage to lhz03 boss monster by 40%
Thank you!
Increase damage to lhz03 boss monster by 40%
Thank you!
You own the Will-RO Right?Help me to this item script.
Increase damage to lhz03 boss monster by 40%
Thank you!
That trick would work.bonus2 bAddEle,Ele_Shadow,40; bonus2 bAddEle,Ele_Holy,40; bonus2 bAddEle,Ele_Dark,40; bonus2 bAddRace,RC_DemiHuman,40;
Is this correct?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.
Script: <" bonus2 bAddRace2,7,40; ">
This is neatYes, 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)![]()
We use essential cookies to make this site work, and optional cookies to enhance your experience.