From 090b12e3cfc6c63e39b8aaf5ab3645780e5fdd7f Mon Sep 17 00:00:00 2001 From: celest Date: Tue, 22 Mar 2005 19:16:57 +0000 Subject: * Corrected potion creation success chances * Removed some unused potion creation code * Updated Joint Beat's effect git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1268 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/skill.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/map') diff --git a/src/map/skill.c b/src/map/skill.c index be8288beb..7118df75a 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -980,7 +980,7 @@ int skill_additional_effect( struct block_list* src, struct block_list *bl,int s case LK_JOINTBEAT: /* ジョイントビ?ト */ //?件が良く分からないので適?に if( rand()%100 < (5*skilllv+5)*sc_def_vit/100 ) - status_change_start(bl,SC_JOINTBEAT,skilllv,0,0,0,skill_get_time2(skillid,skilllv),0); + status_change_start(bl,SkillStatusChangeTable[skillid],skilllv,0,0,0,skill_get_time2(skillid,skilllv),0); break; case PF_SPIDERWEB: /* スパイダ?ウェッブ */ { @@ -8752,8 +8752,8 @@ int skill_produce_mix( struct map_session_data *sd, // Corrected rates [DracoRPG] --------------------------// if(skill_produce_db[idx].req_skill==AM_PHARMACY) { make_per = pc_checkskill(sd,AM_LEARNINGPOTION)*100 - + pc_checkskill(sd,AM_PHARMACY)*300 + sd->status.job_level*20 - + sd->status.dex*10+sd->status.int_*5; + + pc_checkskill(sd,AM_PHARMACY)*300 + sd->status.job_level*20 + + sd->status.paramc[4]*10+sd->status.paramc[5]*10; if(nameid >= 501 && nameid <= 505) // Normal potions make_per += 2000 + pc_checkskill(sd,AM_POTIONPITCHER)*100; -- cgit v1.2.3-70-g09d2