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!
This commit is contained in:
Aleos 2021-08-16 13:21:41 -04:00 committed by GitHub
parent 2a97f0bdc7
commit 729482a019
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: