Petey Pablo 0 Posted January 5, 2017 Help me to this item script. Increase damage to lhz03 boss monster by 40% Thank you! Quote Share this post Link to post Share on other sites
0 Eternity 1 Posted January 5, 2017 (edited) 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 Edited January 5, 2017 by Eternity Quote Share this post Link to post Share on other sites
0 Ragno 57 Posted January 5, 2017 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. Quote Share this post Link to post Share on other sites
0 Petey Pablo 0 Posted January 6, 2017 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 Script: <" bonus2 bAddRace2,7,40; "> Quote Share this post Link to post Share on other sites
0 Ragno 57 Posted January 6, 2017 (edited) 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 ) Edited January 6, 2017 by Ragno Quote Share this post Link to post Share on other sites
0 Eternity 1 Posted January 7, 2017 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 ) This is neat Quote Share this post Link to post Share on other sites
Help me to this item script.
Increase damage to lhz03 boss monster by 40%
Thank you!
Share this post
Link to post
Share on other sites