diff options
author | glighta <glighta@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-11-24 20:41:16 +0000 |
---|---|---|
committer | glighta <glighta@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-11-24 20:41:16 +0000 |
commit | 0c899a3bf5715095687ec30f1cae09cabee863e6 (patch) | |
tree | 91a819698d3e24b1b7046c9a32554c8d16e92515 /src/map | |
parent | 1f91ca9379c7127fe2e0020c2c7f4e771839de22 (diff) | |
download | hercules-0c899a3bf5715095687ec30f1cae09cabee863e6.tar.gz hercules-0c899a3bf5715095687ec30f1cae09cabee863e6.tar.bz2 hercules-0c899a3bf5715095687ec30f1cae09cabee863e6.tar.xz hercules-0c899a3bf5715095687ec30f1cae09cabee863e6.zip |
-Add tool/check-doc to verify if all script/atcommand are being documented. thx to Trojal
-Upd SC_ASH, make skill fail at 50% rate
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16964 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/skill.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index c24ffc8c1..5d38cb242 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -10204,7 +10204,8 @@ int skill_castend_map (struct map_session_data *sd, short skill_num, const char (sd->sc.data[SC_STASIS] && skill_block_check(&sd->bl, SC_STASIS, skill_num)) || (sd->sc.data[SC_KAGEHUMI] && skill_block_check(&sd->bl, SC_KAGEHUMI, skill_num)) || sd->sc.data[SC_OBLIVIONCURSE] || - sd->sc.data[SC__MANHOLE] + sd->sc.data[SC__MANHOLE] || + (sd->sc.data[SC_ASH] && rnd()%2) //50% fail chance under ASH )) { skill_failed(sd); return 0; @@ -11119,7 +11120,7 @@ static int skill_unit_onplace (struct skill_unit *src, struct block_list *bl, un case UNT_VOLCANIC_ASH: if (!sce) - sc_start(bl, SC_ASH, 50, sg->skill_lv, skill_get_time(MH_VOLCANIC_ASH, sg->skill_lv)); //50% chance + sc_start(bl, SC_ASH, 100, sg->skill_lv, skill_get_time(MH_VOLCANIC_ASH, sg->skill_lv)); break; case UNT_GD_LEADERSHIP: |