From 4be12e4c23f2a73543fa60ff3e0e0f4235a49ff0 Mon Sep 17 00:00:00 2001 From: skotlex Date: Thu, 14 Sep 2006 13:46:14 +0000 Subject: - Corrected Smokie's pet script to use petskillbonus instead of "bonus" - Added constant map_flag_gvg2 which tags gvg maps independently of whether woe is on or off. - battle_calc_gvg_damage will be invoked in gvg maps regardless of woe time. - NPC_MENTALBREAKER now zaps matk*lv SP based on observations by Tharis. - md->class_ will be changed on mob-class-change to fix all class-change related bugs. On respawn, the spawn data will be used to revert to the original class. - Improved the pet skillbonus timer for "eternal bonuses" cases where the bonus delay is 0. - Adjusted gvg long damage rate to 80%, magic damage rate to 60% git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8748 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/map.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/map/map.h') diff --git a/src/map/map.h b/src/map/map.h index b0b114f99..d855f2d53 100644 --- a/src/map/map.h +++ b/src/map/map.h @@ -168,7 +168,8 @@ enum { #define map_flag_vs(m) (map[m].flag.pvp || map[m].flag.gvg_dungeon || map[m].flag.gvg || (agit_flag && map[m].flag.gvg_castle)) //Specifies maps that have special GvG/WoE restrictions #define map_flag_gvg(m) (map[m].flag.gvg || (agit_flag && map[m].flag.gvg_castle)) - +//Specifies if the map is tagged as GvG/WoE (regardless of agit_flag status) +#define map_flag_gvg2(m) (map[m].flag.gvg || map[m].flag.gvg_castle) //Caps values to min/max #define cap_value(a, min, max) (a>=max?max:a<=min?min:a) -- cgit v1.2.3-60-g2f50