summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorcelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-01-02 09:59:58 +0000
committercelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-01-02 09:59:58 +0000
commit3c67213c5146804c761558d956d95eb34561dd7a (patch)
tree06730457c811a55cff35644a3a54728090931340 /src/map/skill.c
parent9a4314e14fef7680cda7ae187a2594cf5495d11e (diff)
downloadhercules-3c67213c5146804c761558d956d95eb34561dd7a.tar.gz
hercules-3c67213c5146804c761558d956d95eb34561dd7a.tar.bz2
hercules-3c67213c5146804c761558d956d95eb34561dd7a.tar.xz
hercules-3c67213c5146804c761558d956d95eb34561dd7a.zip
* Updated weapon breaking rates
* Optimized enchanting skills success rates calculation * Modified Spiral Pierce and Breaker to type ranged * Updated Berserk Potion git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@891 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 55b531fd7..413fa7ba0 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -3233,7 +3233,7 @@ int skill_castend_nodamage_id( struct block_list *src, struct block_list *bl,int
break;
}
}
- if(rand()%100 > (60+skilllv*10) && (skilllv != 5)) {
+ if(skilllv < 4 && rand()%100 > (60+skilllv*10) ) {
clif_skill_fail(sd,skillid,0,0);
clif_skill_nodamage(src,bl,skillid,skilllv,0);
if(bl->type==BL_PC && battle_config.equipment_breaking) {