diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-02-21 23:59:15 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-02-21 23:59:15 +0000 |
commit | 9cc1f2c96fc0cfb095e4dc76dc6b5fb35ea8173a (patch) | |
tree | 7523c138f613f2e04248d73ce9f412b9968ab873 /src/map/skill.c | |
parent | 86cc7f531d2b3da32508cb6fe101228d2398d0e3 (diff) | |
download | hercules-9cc1f2c96fc0cfb095e4dc76dc6b5fb35ea8173a.tar.gz hercules-9cc1f2c96fc0cfb095e4dc76dc6b5fb35ea8173a.tar.bz2 hercules-9cc1f2c96fc0cfb095e4dc76dc6b5fb35ea8173a.tar.xz hercules-9cc1f2c96fc0cfb095e4dc76dc6b5fb35ea8173a.zip |
- Fixed all skills getting range 0.... (except close confine which got range 1 :X)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5362 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index e07e24917..a4559e0c6 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -8492,7 +8492,7 @@ int skill_use_id (struct map_session_data *sd, int target_id, int skill_num, int if(sd->bl.id != target_id){ // Don't check range for self skills, this is useless...
if(!battle_check_range(&sd->bl,bl,skill_get_range2(&sd->bl, skill_num,skill_lv)
- +(skill_num==RG_CLOSECONFINE)?0:1)) //Close confine is expoitable thanks to this extra range "feature" of the client. [Skotlex]
+ +(skill_num==RG_CLOSECONFINE?0:1))) //Close confine is expoitable thanks to this extra range "feature" of the client. [Skotlex]
return 0;
}
|