summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog-SVN.txt4
-rw-r--r--src/map/map.c5
-rw-r--r--src/map/skill.c13
3 files changed, 17 insertions, 5 deletions
diff --git a/Changelog-SVN.txt b/Changelog-SVN.txt
index 5673f9bd7..8b4321fda 100644
--- a/Changelog-SVN.txt
+++ b/Changelog-SVN.txt
@@ -1,6 +1,10 @@
Date Added
03/13
+ * Added PvP/GvG check for Tiger Knuckle fist [celest]
+ * Fixed Pressure reducing the target's SP twice, thanks to deepin [celest]
+ * Fixed SQL logging not checking if its supposed to use SQL or TXT logs, thanks
+ to Alex14 [celest]
* Fixed 23 new cards (some effects chances were divided by 100, some cards had no bonuses
due to misplaced arguments, usage BONUS instead of BONUS2, etc) [Lupus]
diff --git a/src/map/map.c b/src/map/map.c
index 223e82372..7c8275cf9 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -3402,9 +3402,8 @@ int do_init(int argc, char *argv[]) {
if(battle_config.mail_system)
do_init_mail();
- if (log_config.branch || log_config.drop || log_config.mvpdrop ||
- log_config.present || log_config.produce || log_config.refine ||
- log_config.trade)
+ if (log_config.sql_logs && (log_config.branch || log_config.drop || log_config.mvpdrop ||
+ log_config.present || log_config.produce || log_config.refine || log_config.trade))
{
log_sql_init();
}
diff --git a/src/map/skill.c b/src/map/skill.c
index 9f7a56551..05c7bc89c 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -2194,7 +2194,7 @@ int skill_castend_damage_id( struct block_list* src, struct block_list *bl,int s
sp = tsd->status.max_sp * 10 * skilllv / 100;
if (sp > tsd->status.sp) sp = tsd->status.sp;
tsd->status.sp -= sp;
- pc_heal(tsd,0,-sp);
+ clif_updatestatus(tsd,SP_SP);
}
break;
case NPC_DARKBREATH:
@@ -2269,11 +2269,20 @@ int skill_castend_damage_id( struct block_list* src, struct block_list *bl,int s
}
break;
case MO_COMBOFINISH: /* җ */
- case CH_TIGERFIST: /* Ռ */
case CH_CHAINCRUSH: /* A? */
case CH_PALMSTRIKE: /* ҌՍdhR */
skill_attack(BF_WEAPON,src,src,bl,skillid,skilllv,tick,flag);
break;
+
+ case CH_TIGERFIST: /* Ռ */
+ if (bl->type == BL_PC && !(map[bl->m].flag.gvg || map[bl->m].flag.pvp)) {
+ map_freeblock_unlock();
+ return 1;
+ }
+ skill_attack(BF_WEAPON,src,src,bl,skillid,skilllv,tick,flag);
+ break;
+
+
case MO_EXTREMITYFIST: /* CeP */
{
struct status_change *sc_data = status_get_sc_data(src);