From 729482a019b8320d939ba1e36fdad22721b17bc6 Mon Sep 17 00:00:00 2001 From: Aleos Date: Mon, 16 Aug 2021 13:21:41 -0400 Subject: [PATCH] Fixes Frost Nova versus targets on Land Protector (#6185) * Fixes #5926. * Frost Nova will no longer damage targets who are standing on Land Protector. Thanks to @Miraakol and @Playtester! --- src/map/skill.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/map/skill.cpp b/src/map/skill.cpp index 29b71b47e7..14bb5f8a67 100755 --- a/src/map/skill.cpp +++ b/src/map/skill.cpp @@ -17828,6 +17828,8 @@ int skill_attack_area(struct block_list *bl, va_list ap) case WZ_FROSTNOVA: //Skills that don't require the animation to be removed if (src->x == bl->x && src->y == bl->y) return 0; //Does not hit current cell + if (map_getcell(bl->m, bl->x, bl->y, CELL_CHKLANDPROTECTOR)) // Attack should not happen if the target is on Land Protector + return 0; //Fall through case NPC_ACIDBREATH: case NPC_DARKNESSBREATH: