diff options
author | Lupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-01-04 13:07:57 +0000 |
---|---|---|
committer | Lupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-01-04 13:07:57 +0000 |
commit | b8839f538ad5eb7d7ee0ddf6336ced3f1033e1c6 (patch) | |
tree | bccc9d711fee1b976ee86dcbbe5884f1a85d685c /src | |
parent | 23a3565847bb4af6d9d9b862085e2f450ef6f0bf (diff) | |
download | hercules-b8839f538ad5eb7d7ee0ddf6336ced3f1033e1c6.tar.gz hercules-b8839f538ad5eb7d7ee0ddf6336ced3f1033e1c6.tar.bz2 hercules-b8839f538ad5eb7d7ee0ddf6336ced3f1033e1c6.tar.xz hercules-b8839f538ad5eb7d7ee0ddf6336ced3f1033e1c6.zip |
fixed Seismic weapon (target's wep break chance)
4->5 or else it worked 100% fine at 4 level.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@903 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r-- | src/map/skill.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index fb2dd93a5..57a66cc08 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -3238,7 +3238,7 @@ int skill_castend_nodamage_id( struct block_list *src, struct block_list *bl,int break; } } - if(skilllv < 4 && rand()%100 > (60+skilllv*10) ) { + if(skilllv < 5 && rand()%100 > (60+skilllv*10) ) { //fixed by Lupus (4 -> 5) or else it has 100% success even at lv4 clif_skill_fail(sd,skillid,0,0); clif_skill_nodamage(src,bl,skillid,skilllv,0); if(bl->type==BL_PC && battle_config.equipment_breaking) { @@ -11942,7 +11942,7 @@ int skill_readdb(void) p=strchr(p,','); if(p) *p++=0; } - if(split[0]==NULL) + if(split[0]==0) //fixed by Lupus continue; i=atoi(split[0]); if(i<=0) @@ -11983,7 +11983,7 @@ int skill_readdb(void) p=strchr(p,','); if(p) *p++=0; } - if(split[0]==NULL) + if(split[0]==0) //fixed by Lupus continue; i=atoi(split[0]); if(i<=0) @@ -12020,7 +12020,7 @@ int skill_readdb(void) p=strchr(p,','); if(p) *p++=0; } - if(split[0]==NULL) + if(split[0]==0) //fixed by Lupus continue; i=atoi(split[0]); if(i<=0) @@ -12052,7 +12052,7 @@ int skill_readdb(void) p=strchr(p,','); if(p) *p++=0; } - if(split[0]==NULL) + if(split[0]==0) //fixed by Lupus continue; i=atoi(split[0]); if (i>=10000 && i<10015) // for guild skills [Celest] @@ -12100,7 +12100,7 @@ int skill_readdb(void) p=strchr(p,','); if(p) *p++=0; } - if(split[0]==NULL) + if(split[0]==0) //fixed by Lupus continue; i=atoi(split[0]); if (i>=10000 && i<10015) // for guild skills [Celest] |