From dce258e74c03bf55c537ef364c429188a66f49c5 Mon Sep 17 00:00:00 2001 From: skotlex Date: Sun, 24 Sep 2006 19:28:58 +0000 Subject: - When the code auto-guesses that a skill should require ammo, it will accept any type of ammo for using it instead of only arrows. Fixes Magnum Break usage on Gunslingers. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8852 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/skill.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/skill.c') diff --git a/src/map/skill.c b/src/map/skill.c index 2003b89a5..5a484ff0b 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -7898,7 +7898,7 @@ int skill_check_condition (struct map_session_data *sd, int skill, int lv, int t if (!ammo && skill && skill_isammotype(sd, skill)) { //Assume this skill is using the weapon, therefore it requires arrows. - ammo = 2; //1<<1 <- look 1 (arrows) moved right 1 times. + ammo = 0xFFFFFFFF; //Enable use on all ammo types. ammo_qty = skill_get_num(skill, lv); if (ammo_qty < 0) ammo_qty *= -1; } -- cgit v1.2.3-60-g2f50