summaryrefslogtreecommitdiff
path: root/src/map/skill.c
AgeCommit message (Collapse)AuthorFilesLines
2012-07-11Follow up r16388, fix for bugreport:6200shennetsind1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16396 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-11Added mob_classchange.txt since SA_CLASSCHANGE was using mob_boss.txt ↵daegaladh1-1/+1
monsters instead of the correct ones. (bugreport:3478 and related to bugreport:850) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16395 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-10Fixed bugreport:6200 Prevent server crash when releasing empty spellbooks.trojal1-0/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16388 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-08Okie ladies and gentleman if this commit breaks anything it's jman's and ↵shennetsind1-1/+1
maki's fault, yes, blame them. Fixing pre-re / re npc support, moving /config/ folder to src root so other servers may also make use of the #define renewal dir and other stuff. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16382 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-08Hello World. Initial support for the new homunculus has been added, credits ↵shennetsind1-37/+49
to brAthena for the base. Not all skills are yet supported, when a non-supported skill is used rather than the usual warning in the console you'll get a red-coloured message in-game "this skill is not yet supported". please step by our bug tracker should you step by any bugs. thank you very much, you're a great crowd. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16381 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-05Implemented Renewal ASPD formula(bugreport:5644)rud0lp201-2/+2
- all suggestions/contributions/comments regarding RE ASPD ATM will be entertained in [tid:63256] Fixed bugreport:6176 where WM_LULLABY_DEEPSLEEP doesn't target all party and guild members. Temporarily disable the official walk path until the right algorithm is formulated. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16378 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-04Fixed a couple compiling warningsshennetsind1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16375 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-03r16370 has fixed a behavior in *athena that has always made walking ↵shennetsind1-2/+2
easier/smoother, unlike how it actually is meant to be, however since users have been exposed to this behavior for so many years I'm adding a config to disable it in order to save endless posts/bug reports on a intended feature. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16372 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-03Fixed bugreport:6156 HT_REMOVETRAP must show a skill fail message when it fails.rud0lp201-4/+8
Fixed bugreport:4160 after casting skills it should now check for the path if it is ok to execute same as official behavior. Fixed bugreport:5830 now caster should not hit/chase target between an obstacle same as official behavior. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16370 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-02Follow up r16365 removed unused variable and a re-declared variableshennetsind1-6/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16368 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-01Fixed bugreport:5788 WL_READING_SB should now work like official ↵rud0lp201-110/+101
behavior(save preserved spell on relog, proper skill fail message, maximum number of spell that a char can hold) Fixed bugreport:5657 WL_EARTHSTRAIN should now work like official behavior(total number of range [15x4+lv], layout when casted, interval) Updated WL_IMPRISON duration, rate and proper skill fail message. Special thanks to Yommy and his amazing tool... git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16365 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-29Implemented new item script bonuses:rud0lp201-3/+23
- bSkillCooldown,n,x; - bSkillFixedCast,n,x; - *bSkillVariableCast,n,x; - bFixedCastrate,x; - *bVariableCastrate,x; *Pending until RE Casting system is fully implemented. ATM bCastrate is used to manipulate variable cast time where it should not. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16355 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-29Follow up r16353 and fixed of bugreport:6135rud0lp201-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16354 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-28Fixed bugreport:6127 remove the double duration bonus from GC_RESEARCHEWPOISONrud0lp201-5/+2
Fixed bugreport:6109 GN_CARTBOOST should now give atk bonus and fixed some genetic skills damage ratio and behavior Fixed bugreport:6121 Rolling cutter's counter should now only be removed by walking and Cross Ripper Slasher Fixed bugreport:6100 Cart should now can't be removed when character dies git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16353 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-28Fixed a couple mismatching block locksshennetsind1-0/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16349 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-25Fixed bugreport:5843 WL_HELLINFERNO should now deal 2 elemental(fire ad ↵rud0lp201-1/+4
shadow) hits and updated its damage formula. Fixed bugreport:6068 Cloaking/Hiding skills is now working to hide it self to non boss/detector monster. Fixed bugreport:6105 Stone Curse should now stop target to attack once activated. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16346 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-18Fixed bugreport:6008 remove the weight factor with the damage done by ↵rud0lp201-8/+6
LK_SPIRALPIERCE of mobs and recoding of Renewal Spiral Pierce. Fixed bugreport:5752 SC_AUTOSHADOWSPELL should only consume required items and not sp. Fixed bugreport:5792 updated WM_GLOOMYDAY status effect(mount, ASPD, walk & flee penalty) and should now boost selected skills. Follow up r16309 and bugreport:5940 should now be fixed. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16316 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-16Fixed bugreport:6038 WM_REVERBERATION behavior should now work properly.rud0lp201-7/+15
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16312 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-15Fixed bugreport:5788 no 2 Releasing Spells should now update/reset sp ↵rud0lp201-1/+4
reduction while WL_READING_SB is active. Fixed bugreport:6029 GN_MANDRAGORA is now updated its success chance percentage. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16305 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-13Applied renewal skill changes: (bugreport:5302)xantara1-3/+12
- Energy Coat: Reduces both physical and magical attacks and now has fixed cast time of 5 seconds - Throw Huuma Shuriken (33%): Cannot be interrupted - Spread Attack: Can be used with a Grenade Launcher and attack power is increased; now 20*skill_lv - Turn Undead: Success rate formula changed, Magic damage formula changed on failure - Drums on the Battlefield: Increase ATK and DEF granted - The Ring of Nibelungen: Removed level 4 weapon requirement - Apple of Idun (100%): Increase amount of HP recovered; now (100 + 5*skill_lv + 5*VIT/10) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16292 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-13Fixed partially bugreport:60007, added Burning, Freezing and Diamond Dust ↵ignizh1-1/+5
status in the Lauda Agnus effect list. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16287 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-13Fixed bugreport:5988 AB_LAUDAAGNUS and AB_LAUDARAMUS now can only give ↵rud0lp201-13/+13
status bonus to non infected targets/party members. Fixed bugreport:5725 'bautospellonskill' should now work properly. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16286 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-12Fixed bugreport:5994 misuse of inline against msvc standards (and inline was ↵shennetsind1-2/+6
pointless there too. thought it'd be used elsewhere, not the case). Blame on r16273 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16274 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-12Added new bonus as per kenpachi's request: bonus2 bUseSPrateSkill,n,x; // ↵shennetsind1-1/+3
Reduced increases/reduced the SP consumption of skilln by x%. (supports skill names) e.g. bonus2 bUseSPrateSkill,"AL_BLESSING",50; -> increases AL_BLESSING sp usage by 50% (e.g. if its 50 it goes to 75) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16273 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-12Improved bonus-adding processes by no longer having to add it to the zero'd ↵shennetsind1-24/+21
memset bullshit, replaced it by moving the first set of bonus into its own struct and simply zeroing the struct prior to recalc. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16272 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-11Fixed bugreport:5963 AB_CHEAL should now work properly on immune ↵rud0lp201-7/+16
targets(Mado, berserk, shield of deaf). Fixed bugreport:5981 PA_SACRIFICE now won't be granted by bonus damage from cards(RENEWAL CHANGE). Fixed bugreport:5892 & bugreport:5900 SO_SPELLFIST is now working properly. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16268 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-10moved skill_nocast_db.txt to re / pre-re db path blacksirius1-1/+1
moved item_noequip.txt to re / pre-re db path NOTE: both files are now located in db/re/ (or db/pre-re/) folders depending on your build. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16265 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-08Follow up on r16240 update RK_CRUSHTRIKE formula and weapon break percentage.rud0lp201-3/+11
Fixed bugreport:5953 GC_CROSSRIPPERSLASHER range is now (8 + 1 * skill level) cells. Fixed bugreport:5943 SC_GROOMY is now really remove selected mounts. Updated Guillotine cross skills formula base on re-balancing formulas... git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16243 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-04Fixed bugreport:5919 RK_ENCHANTBLADE bonus damage at any level should now ↵rud0lp201-1/+19
work properly. Fixed bugreport:5914 SC_MANHOLE duration at level 2 is now 10 seconds. Fixed bugreport:5928 SR_CURSEDCIRCLE should now work properly(castable with other skills & should end after the execution of a skill) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16233 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-03Fixed bugreport:5911 Reflect Damage should now cancel when shield/guard is ↵rud0lp201-5/+6
unequipped. Fixed bugreport:4828 LG_PINPOINTATTACK should now only work with spears. Fixed bugreport:5905 All heal support skill now can't work with Mado Gear. Fixed other non Mado related skill that it should not work when Mado is equipped. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16217 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-01Fixed bugreport:5889 GC_ROLLINGCUTTER range and behavior are now updated.rud0lp201-0/+1
Fixed part of bugreport:5880 -Fixed damage formula of NC_SELFDESTRUCTION. -Fixed damage formula of GC_CROSSRIPPERSLASHER. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16206 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-01Fixed bugreport:208 Warp Portal will cease to function after warping first ↵shennetsind1-7/+15
user if its target is the same point where it was casted. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16205 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-01Fixed bugreport:5793 Chrorus skills now count partners properly.shennetsind1-45/+51
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16201 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-29Fixed bugreport:5850 GN_HELLS_PLANT damage formula and behavior are now updated.rud0lp201-1/+7
Fixed bugreport:5848 RK_DRAGONTRAINING should now work normally. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16166 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-27Fixed bugreport:5842 RK_DRAGONBREATH damage should now be reducible by ↵rud0lp201-0/+1
defender and energy coat and be blocked by anti long ranged skills. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16157 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-27Fixed bugreport:5821 GN_SLINGITEM item requirements(item throwables) should ↵rud0lp201-8/+16
now works normally. Fixed bugreport:5223 GN_BLOOD_SUCKER should now work like official behavior. Fixed part of bugreport:5674 Spiral Pierce is now in RE. Fixed setmadogear now it accepts optional parameter(0=unmount 1=mount). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16155 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-24Fixed bugreport:5809 Ice Wall should now block mobs properly.shennetsind1-2/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16146 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-24Fixed RA_CAMOUFLAGE where the animation(semi transparent effect) is not seen ↵rud0lp201-4/+4
when sight is refreshed. Fixed RA_CLUSTERBOMB now it has 1s delay to disappear when activated and does full damage in plants. Fixed Burning status fixed damage (1000+3% of MaxHP) and damage effect and walk delay git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16143 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-24Fixed bugreport:1551 poison and edp poison now give proper exp to caster vs ↵shennetsind1-3/+3
mobs. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16142 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-24- Fixed a buy/sell zeny exploit (bugreport:5799), follow up to r16138 and ↵brianluau1-1/+1
bugreport:5781. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16141 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-21Fixed bugreport:5777 WL_DRAINLIFE HP absorption based on damage is now ↵rud0lp201-8/+7
working properly. Thanks to Rytech Fixed WL_SOULEXPANSION now it should do double damage on White Imprisoned targets and WL_WHITEIMPRISON should not work with bosses. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16137 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-20Fixed bugreport:5619 MO_EXTREMITYFIST should now consume all spirit sphere.rud0lp201-1/+2
Fixed bugreport:5632 SR_FALLENEMPIRE should now chain with SR_GATEOFHELL and SR_TIGERCANNON and add bonus damage. Update SR_GATEOFHELL damage formula where sp has now contribution with the damage. Fixed wrong displayed status mdef. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16131 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-17- Added +11 and above refiner NPC.masao871-2/+2
- Added NPC to refine Oridecons / Eluniums to Cardium / Bradium. - Added downrefitem script command and updated script_commands.txt with it. - Updated refine_db.txt with probably custom values for +11 to +20 values. Source : http://ratemyserver.net/index.php?page=misc_table_refine - Some little script improvements to Suhnbi. (Enriched Elunium / Oridecon Upgrader.) * Further improvements for the refinement system and refinement NPC's will come within the next few days. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16126 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-17Fixed bugreport:5755 Howling of Mandragora cast time effect should now work ↵shennetsind1-13/+10
properly. Also fixed Arch Bishop laudra ramus ability to remove howling of mandragora effect. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16117 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-17Fixed bugreport:5757 Added missing Sorcerer Insignias, Credits to brAthenashennetsind1-89/+89
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16115 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-16Fixed bugreport:5749 Amplify Magic Power should now work properly on ↵rud0lp201-12/+15
multi-hit magical skills. Fixed bugreport:5748 Masquerade-Groomy now removes Dragon and Warg. Fixed bugreport:5751 Implemented script command in checking/mounting Dragon, Warg and MADO Gear, also made a clean up regarding MADO Gear and Warg conditions. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16114 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-13Fixed bugreport:4951 Bard/Dancer songs duration exploit fixedshennetsind1-8/+15
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16109 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-11Fixed bugreport:5729 Effect formula and duration of LG_SHIELDSPELL level 1 ↵greenboxal21-4/+4
fixed. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16098 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-10Wug rider may no longer be used on rangers with a falcon -- special thanks ↵shennetsind1-1/+1
to masao. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16092 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-06Fixed bugreport:5698 Missing null pointer check on NC_MAGNETICFIELD.greenboxal21-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16083 54d463be-8e91-2dee-dedb-b68131a5f0ec