Selaa lähdekoodia

* Corrected potion creation success chances
* Removed some unused potion creation code
* Updated Joint Beat's effect

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1268 54d463be-8e91-2dee-dedb-b68131a5f0ec

celest 20 vuotta sitten
vanhempi
commit
5995e21332
2 muutettua tiedostoa jossa 8 lisäystä ja 3 poistoa
  1. 5 0
      Changelog-SVN.txt
  2. 3 3
      src/map/skill.c

+ 5 - 0
Changelog-SVN.txt

@@ -1,5 +1,10 @@
 Date	Added
 
+03/23
+	* Corrected potion creation success chances, thanks to Avaj and DracoRPG
+	* Removed some unused potion creation code, thanks to DracoRPG
+	* Updated Joint Beat's effect, thanks to DracoRPG
+
 03/22
 	* Fixed Alchemist's CANNIBALIZE, now it summons correct # of plants. With their real HP [Lupus]
 	* Updated @reloadmobdb, @reloadskilldb, @reloaditemdb [celest]

+ 3 - 3
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;