Fixed reflected spells bypassing WoE no-knockback restriction, because the code allowed that when cast on self; not anymore (bugreport:231)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11835 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
ultramage 2007-11-28 11:43:20 +00:00
parent 722c5f3f90
commit c4f9142c9d
2 changed files with 3 additions and 1 deletions

View File

@ -4,6 +4,8 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK. IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2007/11/28 2007/11/28
* Fixed reflected spells bypassing WoE no-knockback restriction, because
the code allowed that when cast on self; not anymore (bugreport:231)
* Reverted the position of the max_hp/max_sp basic setting, modified the * Reverted the position of the max_hp/max_sp basic setting, modified the
max_hp/max_sp bonuses to use casting in order to work correctly with max_hp/max_sp bonuses to use casting in order to work correctly with
negative bonuses. [Skotlex] negative bonuses. [Skotlex]

View File

@ -1223,7 +1223,7 @@ int skill_blown(struct block_list* src, struct block_list* target, int count, in
nullpo_retr(0, src); nullpo_retr(0, src);
if (src != target && map_flag_gvg(target->m)) if (map_flag_gvg(target->m))
return 0; //No knocking back in WoE return 0; //No knocking back in WoE
if (count == 0) if (count == 0)
return 0; //Actual knockback distance is 0. return 0; //Actual knockback distance is 0.