Jump to content
  • 0
Sign in to follow this  
Petey Pablo

Need help

Question

5 answers to this question

Recommended Posts

  • 0

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 by Eternity

Share this post


Link to post
Share on other sites
  • 0

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.

Share this post


Link to post
Share on other sites
  • 0

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; ">

Share this post


Link to post
Share on other sites
  • 0

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 :P)

Edited by Ragno

Share this post


Link to post
Share on other sites
  • 0

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 :P)

This is neat :D

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.