Fixes Adoramus' interaction with Land Protector (#4920)
* Fixes #4876. * Adoramus should not do damage to anyone inside the range of Adoramus. Thanks to @teededung and @Tokeiburu!
This commit is contained in:
parent
936d5617b2
commit
d9f533165e
@ -5168,6 +5168,9 @@ int skill_castend_damage_id (struct block_list* src, struct block_list *bl, uint
|
||||
if (tsc && tsc->data[SC_HOVERING] && inf2[INF2_IGNOREHOVERING])
|
||||
break; // Under Hovering characters are immune to select trap and ground target skills.
|
||||
|
||||
if (skill_id == AB_ADORAMUS && map_getcell(bl->m, bl->x, bl->y, CELL_CHKLANDPROTECTOR))
|
||||
break; // No damage should happen if the target is on Land Protector
|
||||
|
||||
if( flag&SD_LEVEL )
|
||||
sflag |= SD_LEVEL; // -1 will be used in packets instead of the skill level
|
||||
if( skill_area_temp[1] != bl->id && !inf2[INF2_ISNPC] )
|
||||
|
Loading…
x
Reference in New Issue
Block a user