diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-06-13 14:06:05 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-06-13 14:06:05 +0000 |
commit | 952043f3fc80c16ef45f68defb3a9f6a764ba0d7 (patch) | |
tree | f2919dfd29c372b7a24b9ae7074959a6f7694ad1 /src/map/skill.c | |
parent | 74b5927330e0be611ff14cc7bcebff9f2c536f59 (diff) | |
download | hercules-952043f3fc80c16ef45f68defb3a9f6a764ba0d7.tar.gz hercules-952043f3fc80c16ef45f68defb3a9f6a764ba0d7.tar.bz2 hercules-952043f3fc80c16ef45f68defb3a9f6a764ba0d7.tar.xz hercules-952043f3fc80c16ef45f68defb3a9f6a764ba0d7.zip |
- Oppositions can't be made during WoE now.
- Fixed a few compiler warnings from VC
- Commented out the Homunculus Skills<->Status Change link which was causing some memory corruptions.
-
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7127 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index e504fcf99..f1298ae50 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -9838,21 +9838,21 @@ int skill_produce_mix (struct map_session_data *sd, int skill_id, int nameid, in case BS_IRON: case BS_STEEL: case BS_ENCHANTEDSTONE: - { // Ores & Metals Refining - skill bonuses are straight from kRO website [DracoRPG] - int skill = pc_checkskill(sd,skill_id); + // Ores & Metals Refining - skill bonuses are straight from kRO website [DracoRPG] + i = pc_checkskill(sd,skill_id); make_per = sd->status.job_level*20 + status->dex*10 + status->luk*10; //Base chance switch(nameid){ case 998: // Iron - make_per += 4000+skill*500; // Temper Iron bonus: +26/+32/+38/+44/+50 + make_per += 4000+i*500; // Temper Iron bonus: +26/+32/+38/+44/+50 break; case 999: // Steel - make_per += 3000+skill*500; // Temper Steel bonus: +35/+40/+45/+50/+55 + make_per += 3000+i*500; // Temper Steel bonus: +35/+40/+45/+50/+55 break; case 1000: //Star Crumb make_per = 100000; // Star Crumbs are 100% success crafting rate? (made 1000% so it succeeds even after penalties) [Skotlex] break; default: // Enchanted Stones - make_per += 1000+skill*500; // Enchantedstone Craft bonus: +15/+20/+25/+30/+35 + make_per += 1000+i*500; // Enchantedstone Craft bonus: +15/+20/+25/+30/+35 break; } break; @@ -9930,7 +9930,6 @@ int skill_produce_mix (struct map_session_data *sd, int skill_id, int nameid, in default: make_per = 5000; break; - } } } else { // Weapon Forging - skill bonuses are straight from kRO website, other things from a jRO calculator [DracoRPG] make_per = 5000 + sd->status.job_level*20 + status->dex*10 + status->luk*10; // Base |