Originally posted by [b]Epoque[/b]
Can anyone confirm that this bug exists in rAthena? I scanned the source but couldn't find evidence of monster skill casting working when out of skill casting range.
[code]if( !battle_check_range(&md->bl,bl,skill_get_range2(&md->bl, ms[i].skill_id,ms[i].skill_lv)) ||
!unit_skilluse_id2(&md->bl, bl->id,ms[i].skill_id, ms[i].skill_lv,ms[i].casttime, ms[i].cancel) )[/code]
This code seems to check the range just fine, if a monster is say 8 cells away and tries to use Land Protector, this code should prevent that skill from being cast. If anyone can post a video or provide evidence of Land Protector working with Ifrit regardless of how far away Ifrit is from the target, then I can confirm that this bug truly exists
[b]Edit[/b]
After Ind and I tested this, both of us agreed that this bug doesn't exist on rAthena. To replicate, spawn Ifrit and move to 3 cells distance from the monster and wait for 2-3 minutes to see if it casts Land Protector, then move within 2 cells range and it will cast Land Protector almost immediately.
This post has been edited by
Epoque
on Dec 13, 2011 23:41