diff options
author | malufett <malufett.eat.my.binaries@gmail.com> | 2013-07-07 11:02:29 -0700 |
---|---|---|
committer | malufett <malufett.eat.my.binaries@gmail.com> | 2013-07-07 11:02:29 -0700 |
commit | cf56f7c9142ae164d4e093807f1e7def3471afbd (patch) | |
tree | 4207a2dec5349c47ef844b2f35080cdb0050c3f5 /src/map/unit.c | |
parent | 8a127e11bfaf108cc66865dd4b1a379da2416f46 (diff) | |
download | hercules-cf56f7c9142ae164d4e093807f1e7def3471afbd.tar.gz hercules-cf56f7c9142ae164d4e093807f1e7def3471afbd.tar.bz2 hercules-cf56f7c9142ae164d4e093807f1e7def3471afbd.tar.xz hercules-cf56f7c9142ae164d4e093807f1e7def3471afbd.zip |
Fixed Bug#6503
-where SR_GENTLETOUCH_REVITALIZE is not working properly.
Fixed Bug#6547 & Bug#6141
-SC_BLOODYLUST should now work properly like as official behavior.
Fixed Bug#7395
-SO_SPELLFIST should now work properly.
Fixed Bug#7477
-removed hidden walkdaley that makes character stop when hit even if SC_ENDURE is active.
Fixed Bug#7475
-fixed error message in SA_AUTOSPELL when cancel button is pressed.
Fixed Bug#7337
-MG_CHANGECART should now work properly.
Fixed Bug#7474
-SC_MAELSTROM should now work properly like as official behavior.
Diffstat (limited to 'src/map/unit.c')
-rw-r--r-- | src/map/unit.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/unit.c b/src/map/unit.c index 3e72cd793..72e4b136e 100644 --- a/src/map/unit.c +++ b/src/map/unit.c @@ -1442,6 +1442,10 @@ int unit_skilluse_pos2( struct block_list *src, short skill_x, short skill_y, ui clif->skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0); return 0; } + if( (skill_id >= SC_MANHOLE && skill_id <= SC_FEINTBOMB) && iMap->getcell(src->m, skill_x, skill_y, CELL_CHKMAELSTROM) ) { + clif->skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0); + return 0; + } } if (!iStatus->check_skilluse(src, NULL, skill_id, 0)) |