From 7d4cef5d03815911547efb37dce1c5ee9d5b05fa Mon Sep 17 00:00:00 2001 From: zephyrus Date: Thu, 21 Aug 2008 20:38:32 +0000 Subject: - Big update to Basilica, implementing official behavior. * Basilica caster cannot walk. * On Basilica area, only caster can use Basilica again to stop it. * On Basilica no one can use skills. (Previous bug on eA because you can use support skills on it, also caster). * Only Pressure can bypass Basilica protection. * Any enemy of the caster bounce 2 cells back from basilica, except Boss type. (Bugreport 2099). * Any monster can target you on basilica and try to attack you, also with skills, but damage is reduced to 0, except Boss. Notes: - Basilica Cell stuff is not used anymore... is it required? - Still need to add a check previous to cast basilica because if there are mobs, items, npcs, walls, skills around the caster (7x7 i think) the skill should fail. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13106 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/status.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/map/status.c') diff --git a/src/map/status.c b/src/map/status.c index 55b5918ce..3925a86d2 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -982,18 +982,6 @@ int status_check_skilluse(struct block_list *src, struct block_list *target, int return 1; } - if (((src && map_getcell(src->m,src->x,src->y,CELL_CHKBASILICA)) || - (target && target != src && map_getcell(target->m,target->x,target->y,CELL_CHKBASILICA))) - && !(status->mode&MD_BOSS)) - { //Basilica Check - if (!skill_num) return 0; - hide_flag = skill_get_inf(skill_num); - if (hide_flag&INF_ATTACK_SKILL) - return 0; - if (hide_flag&INF_GROUND_SKILL && skill_get_unit_target(skill_num)&BCT_ENEMY) - return 0; - } - //Should fail when used on top of Land Protector [Skotlex] if (src && skill_num == AL_TELEPORT && map_getcell(src->m, src->x, src->y, CELL_CHKLANDPROTECTOR) && !(status->mode&MD_BOSS)) -- cgit v1.2.3-70-g09d2