From d5fd6f0996dabcb3b064c76081dccbf252aa3fe2 Mon Sep 17 00:00:00 2001 From: xantara Date: Wed, 7 Mar 2012 05:40:31 +0000 Subject: Fixed a few Ranger-related skills (bugreport:5272) - Added check to not allow attacks when mounted on a Warg - Added check to only allow a certain amount of skills when mounted on a Warg - Updated Warg Bite's chance rate of immobilization and duration - Updated Arrowstorm and Aimed Bolt's skill ratio damage git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15663 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/unit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map/unit.c') diff --git a/src/map/unit.c b/src/map/unit.c index 56deae9c7..61046c4e0 100644 --- a/src/map/unit.c +++ b/src/map/unit.c @@ -1496,8 +1496,8 @@ int unit_attack(struct block_list *src,int target_id,int continuous) npc_click(sd,(TBL_NPC*)target); // submitted by leinsirk10 [Celest] return 0; } - if( pc_is90overweight(sd) ) - { // overweight - stop attacking + if( pc_is90overweight(sd) || pc_isridingwug(sd) ) + { // overweight or mounted on warg - stop attacking unit_stop_attack(src); return 0; } -- cgit v1.2.3-70-g09d2