Jump to content
  • 0
Sign in to follow this  
Hadeszeus

Mapflag Help: Reduce damage of a skill

Question

Can someone help how to reduce specific skill damage in a specific MAP not globally?

Is this possible via script? or map_zone_db.conf?

 

Thanks 

Share this post


Link to post
Share on other sites

6 answers to this question

Recommended Posts

  • 0

I saw it WA...

 

//===== Hercules Script ======================================
//= Mapflag: Adjust Skill Damage.
//===== By: ==================================================
//= Hercules Dev Team
//===== Current Version: =====================================
//= 1.0
//===== Description: =========================================
//= This mapflag allows you to modify the damage of any skill 
//= in any map.
//= Example (1):
//= prontera mapflag adjust_skill_damage MG_FIREBOLT 50
//= Halves the damage of Firebolt in Prontera.
//=
//= Example (2):
//= prontera mapflag adjust_skill_damage MG_FIREBOLT 200
//= Doubles the damage of Firebolt in Prontera.
//===== Additional Comments: =================================
//= 1.0 - Initial script.
//============================================================

Share this post


Link to post
Share on other sites
  • 0

Go to your map_zone_db.conf then on the category "All" . (That means, whole server, whole world of your RO).

 

The code below will limit the MO_EXTREMITYFIST to halve. If you make it 100, then that would be normal. If you do 200, then that skill will double the damage output.

 

zones: ({    /* All zone is a dynamic (very special) zone that is forcebly inherited by ALL maps automatically */    name: "All" /* changing this name requires MAP_ZONE_ALL_NAME to also be changed in src/map/map.h file */    disabled_skills: {        //both examples below disable napalm beat (id 11) to players        //MG_NAPALMBEAT: "PLAYER"        //ID11: "PLAYER"    }    disabled_items: {        //Both examples below disable apple (id 501)        //Apple: true        //ID501: true    }        mapflags: (    )        /* "command:min-group-lv-to-override" e.g. "heal: 70" */    disabled_commands: {        //Example Below makes @heal be used in maps within this zone only by those group lv 70 and above        //heal: 70    }    skill_damage_cap: {        //Exemple Below caps firebolt damage in maps within this zone to a maximum 50 damage,        // (depends on HMAP_ZONE_DAMAGE_CAP_TYPE in src/config/core.h)        // when cast vs players and monsters.        //MG_COLDBOLT: (50,"PLAYER | MONSTER")    }+    adjust_skill_damage: {+  	 MO_EXTREMITYFIST    50+    }}, 
Edited by Jezu

Share this post


Link to post
Share on other sites
  • 0

 

Go to your map_zone_db.conf then on the category "All" . (That means, whole server, whole world of your RO).

 

The code below will limit the MO_EXTREMITYFIST to halve. If you make it 100, then that would be normal. If you do 200, then that skill will double the damage output.

 

zones: ({    /* All zone is a dynamic (very special) zone that is forcebly inherited by ALL maps automatically */    name: "All" /* changing this name requires MAP_ZONE_ALL_NAME to also be changed in src/map/map.h file */    disabled_skills: {        //both examples below disable napalm beat (id 11) to players        //MG_NAPALMBEAT: "PLAYER"        //ID11: "PLAYER"    }    disabled_items: {        //Both examples below disable apple (id 501)        //Apple: true        //ID501: true    }        mapflags: (    )        /* "command:min-group-lv-to-override" e.g. "heal: 70" */    disabled_commands: {        //Example Below makes @heal be used in maps within this zone only by those group lv 70 and above        //heal: 70    }    skill_damage_cap: {        //Exemple Below caps firebolt damage in maps within this zone to a maximum 50 damage,        // (depends on HMAP_ZONE_DAMAGE_CAP_TYPE in src/config/core.h)        // when cast vs players and monsters.        //MG_COLDBOLT: (50,"PLAYER | MONSTER")    }+    adjust_skill_damage: {+  	 MO_EXTREMITYFIST    50+    }}, 

still now working sir.  :(

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.