summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-03-22 19:16:57 +0000
committercelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-03-22 19:16:57 +0000
commit090b12e3cfc6c63e39b8aaf5ab3645780e5fdd7f (patch)
treea2245b59ec12a50494ff0ac38194e5b9624afffa
parentb5735b90f5ec847a89acd80509e8ba2ce23a3905 (diff)
downloadhercules-090b12e3cfc6c63e39b8aaf5ab3645780e5fdd7f.tar.gz
hercules-090b12e3cfc6c63e39b8aaf5ab3645780e5fdd7f.tar.bz2
hercules-090b12e3cfc6c63e39b8aaf5ab3645780e5fdd7f.tar.xz
hercules-090b12e3cfc6c63e39b8aaf5ab3645780e5fdd7f.zip
* 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
-rw-r--r--Changelog-SVN.txt5
-rw-r--r--src/map/skill.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/Changelog-SVN.txt b/Changelog-SVN.txt
index 74b25e370..54bfaff13 100644
--- a/Changelog-SVN.txt
+++ b/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]
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;