diff options
author | celest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-03-30 11:44:12 +0000 |
---|---|---|
committer | celest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-03-30 11:44:12 +0000 |
commit | c883ca205971275e576d34b54304c3c5c30f3580 (patch) | |
tree | 4d0a218a184099c61a311d65b50e93973c4c773a /src/map/status.c | |
parent | 230ba4e3dd84a19f7dee67fdc97532e5869bef63 (diff) | |
download | hercules-c883ca205971275e576d34b54304c3c5c30f3580.tar.gz hercules-c883ca205971275e576d34b54304c3c5c30f3580.tar.bz2 hercules-c883ca205971275e576d34b54304c3c5c30f3580.tar.xz hercules-c883ca205971275e576d34b54304c3c5c30f3580.zip |
* updated map server to jA1137~1159
* Some tidying up in mob.c and skill.c
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1342 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r-- | src/map/status.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/map/status.c b/src/map/status.c index bc059e442..65f9e0cd4 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -3189,18 +3189,18 @@ int status_change_start(struct block_list *bl,int type,int val1,int val2,int val return 0; if(bl->type == BL_PC) if(pc_checkskill(sd,BS_HILTBINDING)>0) - tick *= 1.1; + tick += tick / 10; calc_flag = 1; break; case SC_WEAPONPERFECTION: /* ウェポンパ?フェクション */ if(bl->type == BL_PC) if(pc_checkskill(sd,BS_HILTBINDING)>0) - tick *= 1.1; + tick += tick / 10; break; case SC_OVERTHRUST: /* オ?バ?スラスト */ if(bl->type == BL_PC) if(pc_checkskill(sd,BS_HILTBINDING)>0) - tick *= 1.1; + tick += tick / 10; *opt3 |= 2; break; case SC_MAXIMIZEPOWER: /* マキシマイズパワ?(SPが1減る時間,val2にも) */ @@ -3563,6 +3563,11 @@ int status_change_start(struct block_list *bl,int type,int val1,int val2,int val tick = 1000; break; case SC_SILENCE: /* 沈?(レックスデビ?ナ) */ + if (sc_data && sc_data[SC_GOSPEL].timer!=-1) { + skill_delunitgroup((struct skill_unit_group *)sc_data[SC_GOSPEL].val3); + status_change_end(bl,SC_GOSPEL,-1); + break; + } if(!(flag&2)) { int sc_def = 100 - status_get_vit(bl); tick = tick * sc_def / 100; |