diff options
author | zephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-08-21 20:38:32 +0000 |
---|---|---|
committer | zephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-08-21 20:38:32 +0000 |
commit | 7d4cef5d03815911547efb37dce1c5ee9d5b05fa (patch) | |
tree | 3bb0b0e6b6d24146a0fa32008b99fd9d80cc55b3 /src/map/status.c | |
parent | 824839bf6bfad8f389a14a1339fdf42d619514c4 (diff) | |
download | hercules-7d4cef5d03815911547efb37dce1c5ee9d5b05fa.tar.gz hercules-7d4cef5d03815911547efb37dce1c5ee9d5b05fa.tar.bz2 hercules-7d4cef5d03815911547efb37dce1c5ee9d5b05fa.tar.xz hercules-7d4cef5d03815911547efb37dce1c5ee9d5b05fa.zip |
- 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
Diffstat (limited to 'src/map/status.c')
-rw-r--r-- | src/map/status.c | 12 |
1 files changed, 0 insertions, 12 deletions
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)) |