Miengo 2 Posted June 23, 2015 hellopost in the section of Spanish support this theme, but got no a satisfactory responseMy problem is this:Implement this modification in Hercules, http://www.foro.divinero.net/desarrollo-y-pruebas-usuarios/%28src%29aumentar-o-disminuir-dano-global/ but does not act correctly, it is assumed that only modifies damage of the players, but it is modifying the damage mobs & playersEvilpunker I indicated me to modify a file called map_zone_dbmy modification was this mapflags: ( "weapon_damage_rate 150", "magic_damage_rate 150", "misc_damage_rate 150", "long_damage_rate 150", "short_damage_rate 150", ) I added it to all the areas, but this did not increase the damagedesconodco if the problem is not performing well ...what I want is to increase the damage of the players but not the mobs zones: ({ /* All zone is a dynamic (very special) zone that is forcebly inherited by ALL maps automatically */ name: "All" name: "Normal" etc -------------------------------------------------------------------------------------------------------------------- //====================================================//= _ _ _ //= | | | | | | //= | |_| | ___ _ __ ___ _ _| | ___ ___//= | _ |/ _ '__/ __| | | | |/ _ / __|//= | | | | __/ | | (__| |_| | | __/__ //= _| |_/___|_| ___|__,_|_|___||___///= //= http://herc.ws/board/ //====================================================//= Hercules Map Zone Database [Ind/Hercules]//================ More Information ==================//= http://herc.ws/board/topic/302-introducing-hercules-map-zone-database///= (TODO: replace with wiki link and detail the wiki page in a decent format ^)//====================================================//================ Description =======================//= A unlimited number of zones may be created, a zone//= may be used to create a set of disabled items, disabled skills//= and mapflags to be used by as many maps as one chooses.//= Maps can be linked to a specific zone through the zone mapflag//= '<map name><tab>mapflag<tab>zone<tab><zone name>'.//====================================================//= Available types for 'disabled_skills'://= PLAYER, HOMUN, MERCENARY, MONSTER, PET, ELEMENTAL, MOB_BOSS, CLONE, ALL and NONE//====================================================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: ( "weapon_damage_rate 150", "magic_damage_rate 150", "misc_damage_rate 150", "long_damage_rate 150", "short_damage_rate 150", ) /* "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") }},{ /* Normal zone is applied to all maps that are not pkable (where players cant fight each other) */ /* However, it wont be applied to maps with its own zones (specified through mapflag) */ name: "Normal" /* changing this name requires MAP_ZONE_NORMAL_NAME to also be changed in src/map/map.h file */ disabled_skills: { WM_LULLABY_DEEPSLEEP: "PLAYER" WM_SIRCLEOFNATURE: "PLAYER" WM_SATURDAY_NIGHT_FEVER: "PLAYER" SO_ARRULLO: "PLAYER" CG_HERMODE: "PLAYER" } disabled_items: { Velum_Jamadhar: true Velum_Scare: true Velum_Buster: true Velum_Guillotine: true Velum_Spear: true Velum_Glaive: true Velum_Bible: true Velum_Encyclopedia: true Velum_Claw: true Velum_Arc_Wand: true Velum_Damascus: true Velum_Stunner: true Velum_Flail: true Velum_Arbalest: true Velum_CrossBow: true Velum_Claymore: true Velum_Katzbalger: true Siege_Arrow_A: true Siege_Arrow_S: true Siege_Greave: true Siege_Boots: true Siege_Shoes: true Siege_Manteau: true Siege_Muffler: true Siege_White_Potion: true Siege_Blue_Potion: true Woe_Violet_Potion: true Woe_White_Potion: true Woe_Blue_Potion: true Siege_Plate: true Siege_Suits: true Siege_Robe: true } mapflags: ( "weapon_damage_rate 150", "magic_damage_rate 150", "misc_damage_rate 150", "long_damage_rate 150", "short_damage_rate 150", ) },{ /* PvP zone is applied to all maps with a pvp mapflag */ name: "PvP" /* changing this name requires MAP_ZONE_PVP_NAME to also be changed in src/map/map.h file */ disabled_skills: { BS_GREED: "PLAYER" CG_HERMODE: "PLAYER" } disabled_items: { Greed_Scroll: true C_Beginner_Cap: true } /* cashshop disabled in pvp maps */ mapflags: ( "nocashshop", "weapon_damage_rate 150", "magic_damage_rate 150", "misc_damage_rate 150", "long_damage_rate 150", "short_damage_rate 150", )},{ /* PK Mode zone is only used when server is on pk_mode (battle.conf), it applies to all pvp maps that don't have their own zone */ name: "PK Mode" /* changing this name requires MAP_ZONE_PK_NAME to also be changed in src/map/map.h file */ disabled_skills: { } disabled_items: { } /* PK Mode Damage Reductions */ /* - weapon_damage_rate -40% */ /* - magic_damage_rate -40% */ /* - misc_damage_rate -40% */ /* - long_damage_rate -30% */ /* - short_damage_rate -20% */ mapflags: ( "weapon_damage_rate 150", "magic_damage_rate 150", "misc_damage_rate 150", "long_damage_rate 150", "short_damage_rate 150", )},{ /* GvG zone is applied to all maps with a gvg mapflag */ name: "GvG" /* changing this name requires MAP_ZONE_GVG_NAME to also be changed in src/map/map.h file */ disabled_skills: { AL_TELEPORT: "PLAYER" AL_WARP: "PLAYER" WZ_ICEWALL: "PLAYER" TF_BACKSLIDING: "PLAYER" RG_INTIMIDATE: "PLAYER" WE_CALLPARTNER: "PLAYER" HP_ASSUMPTIO: "PLAYER" HP_BASILICA: "PLAYER" CG_MOONLIT: "PLAYER" WE_CALLPARENT: "PLAYER" WE_CALLBABY: "PLAYER" CR_CULTIVATION: "PLAYER" NJ_KIRIKAGE: "PLAYER" CASH_ASSUMPTIO: "PLAYER" BS_GREED: "PLAYER" SC_FATALMENACE: "PLAYER" SC_DIMENSIONDOOR: "PLAYER" } disabled_items: { Assumptio_5_Scroll: true Greed_Scroll: true Pty_Assumptio_Scroll: true Velum_Jamadhar: false Velum_Scare: false Velum_Buster: false Velum_Guillotine: false Velum_Spear: false Velum_Glaive: false Velum_Bible: false Velum_Encyclopedia: false Velum_Claw: false Velum_Arc_Wand: false Velum_Damascus: false Velum_Stunner: false Velum_Flail: false Velum_Arbalest: false Velum_CrossBow: false Velum_Claymore: false Velum_Katzbalger: false Siege_Arrow_A: false Siege_Arrow_S: false Siege_Greave: false Siege_Boots: false Siege_Shoes: false Siege_Manteau: false Siege_Muffler: false Siege_White_Potion: false Siege_Blue_Potion: false Woe_Violet_Potion: false Woe_White_Potion: false Woe_Blue_Potion: false Siege_Plate: false Siege_Suits: false Siege_Robe: false C_Beginner_Cap: true } /* 5 second duration increase on GvG */ /* knockback disabled */ /* GvG Mode Damage Reductions */ /* - weapon_damage_rate -40% */ /* - magic_damage_rate -40% */ /* - misc_damage_rate -40% */ /* - long_damage_rate -20% */ /* - short_damage_rate -20% */ mapflags: ( "invincible_time_inc 5000", "noknockback", "weapon_damage_rate 150", "magic_damage_rate 150", "misc_damage_rate 150", "long_damage_rate 150", "short_damage_rate 150", "nocashshop", "gvg_noparty", ) },{ /* Battlegrounds zone is applied to all maps with a battlegrounds mapflag */ name: "Battlegrounds" /* changing this name requires MAP_ZONE_BG_NAME to also be changed in src/map/map.h file */ disabled_skills: { AL_TELEPORT: "PLAYER" AL_WARP: "PLAYER" WZ_ICEWALL: "PLAYER" TF_BACKSLIDING: "PLAYER" RG_INTIMIDATE: "PLAYER" MO_BODYRELOCATION: "PLAYER" WE_CALLPARTNER: "PLAYER" HP_ASSUMPTIO: "PLAYER" HP_BASILICA: "PLAYER" CG_MOONLIT: "PLAYER" WE_CALLPARENT: "PLAYER" WE_CALLBABY: "PLAYER" CR_CULTIVATION: "PLAYER" TK_RUN: "PLAYER" TK_HIGHJUMP: "PLAYER" SG_FEEL: "PLAYER" SG_SUN_WARM: "PLAYER" SG_MOON_WARM: "PLAYER" SG_STAR_WARM: "PLAYER" SG_SUN_COMFORT: "PLAYER" SG_MOON_COMFORT: "PLAYER" SG_STAR_COMFORT: "PLAYER" SG_HATE: "PLAYER" SG_SUN_ANGER: "PLAYER" SG_MOON_ANGER: "PLAYER" SG_STAR_ANGER: "PLAYER" SG_SUN_BLESS: "PLAYER" SG_MOON_BLESS: "PLAYER" SG_STAR_BLESS: "PLAYER" NJ_KIRIKAGE: "PLAYER" CASH_ASSUMPTIO: "PLAYER" SC_FATALMENACE: "PLAYER" SC_DIMENSIONDOOR: "PLAYER" } disabled_items: { Assumptio_5_Scroll: true Pty_Assumptio_Scroll: true Velum_Jamadhar: true Velum_Scare: true Velum_Buster: true Velum_Guillotine: true Velum_Spear: true Velum_Glaive: true Velum_Bible: true Velum_Encyclopedia: true Velum_Claw: true Velum_Arc_Wand: true Velum_Damascus: true Velum_Stunner: true Velum_Flail: true Velum_Arbalest: true Velum_CrossBow: true Velum_Claymore: true Velum_Katzbalger: true Siege_Arrow_A: true Siege_Arrow_S: true Siege_Greave: true Siege_Boots: true Siege_Shoes: true Siege_Manteau: true Siege_Muffler: true Siege_White_Potion: true Siege_Blue_Potion: true Woe_Violet_Potion: true Woe_White_Potion: true Woe_Blue_Potion: true Siege_Plate: true Siege_Suits: true Siege_Robe: true C_Beginner_Cap: true } /* knockback disabled */ /* Battlegrounds Damage Reductions */ /* - weapon_damage_rate -30% */ /* - magic_damage_rate -30% */ /* - misc_damage_rate -30% */ /* - long_damage_rate -25% */ /* - short_damage_rate -25% */ mapflags: ( "noknockback", "weapon_damage_rate 150", "magic_damage_rate 150", "misc_damage_rate 150", "long_damage_rate 150", "short_damage_rate 150", )},{ name: "Aldebaran Turbo Track" disabled_skills: { SM_ENDURE: "PLAYER" AL_TELEPORT: "PLAYER" AL_WARP: "PLAYER" AL_CURE: "PLAYER" TF_HIDING: "PLAYER" WZ_ICEWALL: "PLAYER" AS_CLOAKING: "PLAYER" RG_INTIMIDATE: "PLAYER" MO_BODYRELOCATION: "PLAYER" LK_CONCENTRATION: "PLAYER" LK_BERSERK: "PLAYER" HP_BASILICA: "PLAYER" WS_CARTBOOST: "PLAYER" ST_CHASEWALK: "PLAYER" CG_MOONLIT: "PLAYER" SC_FATALMENACE: "PLAYER" SC_DIMENSIONDOOR: "PLAYER" GN_CARTBOOST: "PLAYER" } disabled_items: { Wing_Of_Fly: true Anodyne: true Green_Potion: true Panacea: true }},{ name: "Jail" disabled_skills: { TK_JUMPKICK: "PLAYER" TK_HIGHJUMP: "PLAYER" } disabled_items: { Wing_Of_Fly: true Wing_Of_Butterfly: true Giant_Fly_Wing: true WOB_Rune: true WOB_Schwaltz: true WOB_Rachel: true WOB_Local: true }},{ name: "Izlude Battle Arena" disabled_skills: { RG_INTIMIDATE: "PLAYER" AL_TELEPORT: "PLAYER" SC_FATALMENACE: "PLAYER" SC_DIMENSIONDOOR: "PLAYER" } disabled_items: { Wing_Of_Fly: true }},{ name: "GvG2" inherit: ( "GvG" ) /* will import all gvg has */ disabled_skills: { TK_HIGHJUMP: "PLAYER" SA_ABRACADABRA: "PLAYER" }},{ name: "Sealed Shrine" disabled_skills: { MG_SAFETYWALL: "PLAYER" AL_TELEPORT: "PLAYER | MONSTER | HOMUN | MERCENARY" RG_INTIMIDATE: "PLAYER | MONSTER" HP_ASSUMPTIO: "PLAYER" CASH_ASSUMPTIO: "PLAYER" SC_FATALMENACE: "PLAYER" SC_DIMENSIONDOOR: "PLAYER" }},{ name: "Memorial Dungeon" /* ETower, Orc's Memory, Nidhoggur's Nest, etc */ disabled_skills: { AL_TELEPORT: "PLAYER | MONSTER | HOMUN | MERCENARY" WZ_ICEWALL: "PLAYER" RG_INTIMIDATE: "PLAYER | MONSTER" PF_SPIDERWEB: "PLAYER" NPC_EXPULSION: "PLAYER" SC_FATALMENACE: "PLAYER" SC_DIMENSIONDOOR: "PLAYER" }},{ name: "Towns" disabled_skills: { AM_CANNIBALIZE: "PLAYER" AM_SPHEREMINE: "PLAYER" CR_CULTIVATION: "PLAYER" BS_GREED: "PLAYER" SC_MANHOLE: "PLAYER" WM_POEMOFNETHERWORLD: "PLAYER" GN_WALLOFTHORN: "PLAYER" } disabled_items: { Greed_Scroll: true Velum_Jamadhar: true Velum_Scare: true Velum_Buster: true Velum_Guillotine: true Velum_Spear: true Velum_Glaive: true Velum_Bible: true Velum_Encyclopedia: true Velum_Claw: true Velum_Arc_Wand: true Velum_Damascus: true Velum_Stunner: true Velum_Flail: true Velum_Arbalest: true Velum_CrossBow: true Velum_Claymore: true Velum_Katzbalger: true Siege_Arrow_A: true Siege_Arrow_S: true Siege_Greave: true Siege_Boots: true Siege_Shoes: true Siege_Manteau: true Siege_Muffler: true Siege_White_Potion: true Siege_Blue_Potion: true Woe_Violet_Potion: true Woe_White_Potion: true Woe_Blue_Potion: true Siege_Plate: true Siege_Suits: true Siege_Robe: true } mapflags: ( "weapon_damage_rate 150", "magic_damage_rate 150", "misc_damage_rate 150", "long_damage_rate 150", "short_damage_rate 150", )}) Quote Share this post Link to post Share on other sites
hello
post in the section of Spanish support this theme, but got no a satisfactory response
My problem is this:
Implement this modification in Hercules, http://www.foro.divinero.net/desarrollo-y-pruebas-usuarios/%28src%29aumentar-o-disminuir-dano-global/ but does not act correctly, it is assumed that only modifies damage of the players, but it is modifying the damage mobs & players
Evilpunker I indicated me to modify a file called map_zone_db
my modification was this
mapflags: (
"weapon_damage_rate 150",
"magic_damage_rate 150",
"misc_damage_rate 150",
"long_damage_rate 150",
"short_damage_rate 150",
)
I added it to all the areas, but this did not increase the damage
desconodco if the problem is not performing well ...
what I want is to increase the damage of the players but not the mobs
zones: (
{
/* All zone is a dynamic (very special) zone that is forcebly inherited by ALL maps automatically */
name: "All"
name: "Normal"
etc
--------------------------------------------------------------------------------------------------------------------
Share this post
Link to post
Share on other sites