summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrud0lp20 <rud0lp20@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-07-25 00:41:37 +0000
committerrud0lp20 <rud0lp20@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-07-25 00:41:37 +0000
commitd695c8987d8c29fc50cfcb73bec4c6bb78a57482 (patch)
tree3f1a11cc330cf46cb67cacf7237d163e4a120922 /src
parente5afdf66b950242e33f9c163f0f70a8efa91ed08 (diff)
downloadhercules-d695c8987d8c29fc50cfcb73bec4c6bb78a57482.tar.gz
hercules-d695c8987d8c29fc50cfcb73bec4c6bb78a57482.tar.bz2
hercules-d695c8987d8c29fc50cfcb73bec4c6bb78a57482.tar.xz
hercules-d695c8987d8c29fc50cfcb73bec4c6bb78a57482.zip
Fixed bugreport:6312 where level of GC_RESEARCHNEWPOISON was not passed through where leech end damage is not properly calculated.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16496 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/skill.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 842546a32..d601bd8b8 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -10363,6 +10363,7 @@ struct skill_unit_group* skill_unitsetting (struct block_list *src, short skilli
if( !(sc && sc->data[SC_POISONINGWEAPON]) )
return NULL;
val2 = sc->data[SC_POISONINGWEAPON]->val2; // Type of Poison
+ val3 = sc->data[SC_POISONINGWEAPON]->val1;
limit = 4000 + 2000 * skilllv;
break;
case GD_LEADERSHIP:
@@ -11216,7 +11217,7 @@ int skill_unit_onplace_timer (struct skill_unit *src, struct block_list *bl, uns
**/
case UNT_POISONSMOKE:
if( battle_check_target(ss,bl,BCT_ENEMY) > 0 && !(tsc && tsc->data[sg->val2]) && rnd()%100 < 20 )
- sc_start(bl,sg->val2,100,sg->val1,skill_get_time2(GC_POISONINGWEAPON, 1));
+ sc_start(bl,sg->val2,100,sg->val3,skill_get_time2(GC_POISONINGWEAPON, 1));
break;
case UNT_EPICLESIS: