summaryrefslogtreecommitdiff
path: root/src/map/battle.c
AgeCommit message (Collapse)AuthorFilesLines
2012-08-02Fixed bugreport:6324 where re-spawning mob still hits/chases its previous ↵rud0lp201-2/+7
attacker. Partial fixed bugreport:6396 where Chemical Protection skills doesn't check targets current equipments. Finally added almost all Kagerou/Oboro skills only one more left..phew...:D (KG_KAGEHUMI,KG_KYOMU,KG_KAGEMUSYA,OB_ZANGETSU,OB_OBOROGENSOU,OB_OBOROGENSOU_TRANSITION_ATK,OB_AKAITSUKI) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16560 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-31Fixed SC_CRYSTALIZE where it stacks with other opt and ignore SC_WARMER.rud0lp201-3/+15
Fixed weapon check in dual wielding where it doesn't function properly specially in checking with the dual-wield constants. Added some Kagerou/Oboro skills. (KO_KAIHOU,KO_ZENKAI,KO_GENWAKU,KO_IZAYOI) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16539 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-29Fixed bugreport:6359shennetsind1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16529 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-29Fixed bugreport:6353shennetsind1-5/+10
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16526 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-28Updated some skills to its RE behavior(AL_ANGELUS, RG_BACKSTAP, ↵rud0lp201-6/+35
WZ_GRAVITATION, NJ_RAIGEKISAI).(bugreport:6342, bugreport:6336, bugreport:6339, bugreport:6331) Added some Kagerou/Oboro skills. Special mega thanks to Judas :) (KO_HUUMARANKA,KO_MEIKYOUSISUI,KO_ZANZOU,KO_KYOUGAKU,KO_JYUSATSU,KO_KAHU_ENTEN,KO_HYOUHU_HUBUKI,KO_KAZEHU_SEIRAN,KO_DOHU_KOUKAI) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16520 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-27Fixed bugreport:309 combos may now stack properly. moved all combo ↵shennetsind1-16/+10
processing out of item bonuses and made it's own processing scheme, which is by far more efficient cpu-wise although it requires a little more memory, instead of checking for combo items whenever a status effect is turned on/off it only checks when equipping/un-equipping a item (and on login). Special Thanks to GreenBox, Kenpachi, Skotlex and Trojal git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16508 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-26Updated NJ_HUUMA to renewal behavior.(bugreport:6330)rud0lp201-20/+71
Updated some wizard skills(WZ_METEOR,WZ_HEAVENDRIVE,WZ_VERMILION) to its RE damage ratio.(bugreport:6334,bugreport:6329, bugreport:6333) Fixed bugreport:6321 where skill ratio of RK_HUNDREDSPEAR is adjusted too much. Follow up r16492 where damage dealt to traps should now show/display w/o affecting other skills behavior. Fixed a glitch in UNT_DUMMYSKILL where it triggers multiple time that causes multiple damage something related with bugreport:6201. Added some Kagerou/Oboro skills and more to come :). (KO_YAMIKUMO, KO_RIGHT, KO_LEFT, KO_JYUMONJIKIRI, KO_SETSUDAN, KO_BAKURETSU, KO_HAPPOKUNAI, KO_MUCHANAGE) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16506 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-26Follow up r16502 / bugreport:6115 added missing check on battle_calc_gvg_damageshennetsind1-3/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16503 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-26Fixed bugreport:6115 players without guild may now attack guardians during ↵shennetsind1-4/+8
woe, mercenaries no longer can attack emperium. Special Thanks/Credits To Daegaladh git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16502 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-24Follow up r16486 a little code optimization and fixed its server ↵rud0lp201-10/+7
crashing/halting tendency. Follow up r16483 fixed a duplicate display animation of traps when triggered by a skill. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16487 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-23Fixed bugreport:5817. Hundred Spear now have his official behavior. (Thanks ↵ignizh1-1/+12
to Rytech for his base) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16486 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-23reverting r16476, for 1) after extensive debugging cookie and I found out it ↵shennetsind1-1/+1
wasn't related to the crashes on the report and 2) it breaks the official behavior of reflect shield. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16484 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-23Updated most Ranger skills to its official behavior and damage ↵rud0lp201-25/+96
formula.(bugreport:5272, bugreport:6249, bugreport:5548, bugreport:5888) Fixed issues with traps: (bugreport:5906) - if RA_REASERCHTRAP is learned Alloy Traps can now be used to Hunter traps. - if Hunter traps expire it will now return either Booby Trap or Alloy Trap depending on item used. - some traps should now give full damage to plants. - update list of skills that can hit/damage/affect traps. - damage through skills can now be shown when hitting traps. - proper knock back behaviors - proper animation when triggers and triggering of item bonus script 'bHPDrainRate' Fixed an issues where some skills cannot damage UNT_REVERBERATION/UNT_POEMOFNETHERWORLD and doesn't deal 1 damage Updated some official behavior where informational must shown when hitting, targeting, casting skills to targets. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16483 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-22Added a check on the battle_delay_damage_sub to prevent crashes from ↵cookiecrumbs1-1/+1
map_freeblock_lock/unlock issues and the pointer becoming dereferenced. Original fix suggested by WildCard and it has proven to resolve issues on a larger scale server. bugreport:6123 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16476 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-22Added a new configuration option to allow either weapon switching to cancel ↵cookiecrumbs1-0/+2
SC_DANCING or not. Fixed an issue where movement is frozen (caster) with Longing for Freedom (walking outside of the cast). Added checks related to dancing/ensemble skills to prevent frozen characters. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16470 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-18Follow up r16445 performance improvement.shennetsind1-30/+13
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16446 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-18New permissions added for groups: show_bossmobs, disable_pvm and ↵cookiecrumbs1-0/+32
disable_pvp; documented usage in permissions.txt Fixed a typo in monster.conf. Removed old functionality from showmobs command to make room for show_bossmobs. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16445 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-18Follow up r16427 fixed issue with parenthesis logic and a battle.c warning ↵shennetsind1-1/+1
on missing parenthesis git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16444 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-16Fixed bugreport:6233 traps should now hit/damage all targets inside gvg/pvp ↵rud0lp201-14/+36
grounds. Follow up r16424 update for Sura skills to its official behavior and damage formula(SR_EARTHSHAKER,SR_RAMPAGEBLASTER,SR_KNUCKLEARROW,SR_GENTLETOUCH_QUITE,SR_GENTLETOUCH_CHANGE,SR_GENTLETOUCH_REVITALIZE[bugreport:5634]). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16429 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-14- Added new script command hommutate which changes an Homunculus into an ↵masao871-0/+2
Homunculus S Class. Super special thanks to Xantara for doing the command! - Added 2 new configs to homunc.conf to set the Max. Level for Homunculus and homunculus. - Updated homun_exp.txt table with values from Lvl. 99 to 150 for Homnunculus S. - Updated script_commands.txt with description of the new script command. - Added Homunculus S Quest. bugreport:5641 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16427 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-13Fixed bugreport:6220 updated SR_SKYNETBLOW behavior to official and damage ↵rud0lp201-22/+40
formula and other Sura skills(SR_TIGERCANNON,SR_FALLENEMPIRE,SR_GATEOFHELL,SR_WINDMILL,SR_RIDEINLIGHTING,SR_LIGHTNINGWALK) and more to come...:D git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16424 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-12Fixed bugreport:6215 where using SR_CRESCENTELBOW can cause map server ↵rud0lp201-2/+3
crashing when hit by 1HKO. Fixed bugreport:6201 traps should now activate its splash damage properly. Follow up r16399 where Leech End ignoring Phen card's effect. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16416 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-11Fixed bugreport:6178 where SR_CRESCENTELBOW doesn't work with skills and ↵rud0lp201-15/+14
WM_POEMOFNETHERWORLD should now work with single target and show proper animation. Fixed bugreport:6182 Cloaking skills should now be reveal by AOE skills and additional to that is TF_HIDING should now be only reveal by ground skills(earth) and revealing skills. Fixed bugreport:6188 Leech End should now show flinching damage and updated its damage formula Fixed Guillotine Cross poisons where the effect should not stack to each other, updated Oblivion Curse status def formula and Pyrexia's blinding effect. Fixed Fighting spirit's ASPD bonus thanks to Igniz for pointing it out.. Fixed WM_REVERBERATION display animation when triggers and activated by WM_DOMINION_IMPULSE. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16399 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-10Fixed bugreport:6175 | Assumptio now doubles def & mdef on RE mode.ignizh1-0/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16386 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-08Hello World. Initial support for the new homunculus has been added, credits ↵shennetsind1-5/+19
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-1/+3
- 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-01Fixed bugreport:6123 fixed issue with null dat->src crash. Also applied a ↵shennetsind1-13/+12
performance improvement by removing the idb lookup on every delayed damage Super mega thanks to Cookie and Wildcard. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16359 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-28Fixed bugreport:6127 remove the double duration bonus from GC_RESEARCHEWPOISONrud0lp201-8/+9
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-9/+10
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-24Fixed bugreport:6021 raised maximum aura_lv from 127 to MAX_LEVEL defineshennetsind1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16338 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-24Fixed bugreport:5295 Added a config so each server owner may decide whether ↵shennetsind1-0/+1
their users are to view the actual data or not, requires RENEWAL_DROP git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16337 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-20Follow up r16316 and bugreport:6047 - Fixed Enchant Deadly Poison damage on ↵ignizh1-20/+19
skills that should/shouln't have halved/affected damage on/in non RE mode, cleaned my temporal fix where i missed up non RE mode. For now Rolling Cutter will be non affected by EDP untill we have more info in order to avoid huge damage. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16322 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-19Follow up r16316 and bugreport:6047 - Fixed Enchant Deadly Poison damage on ↵ignizh1-15/+19
skills that should/shouln't have halved/affected damage on RE mode. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16321 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-18Follow up r16292 - Fixed Turn Undead renewal formula on failure (bugreport:6054)xantara1-5/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16317 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-18Fixed bugreport:6008 remove the weight factor with the damage done by ↵rud0lp201-46/+40
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-0/+9
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16312 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-16Followed r16309, fixed a typo.ignizh1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16311 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-16Fixed Enchant Deadly Poison effect hover skills that should have halved ↵ignizh1-3/+14
damage or should not be affected in RE mode(bugreport:5322) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16309 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-14Fixed bugreport:5954 SC_SHADOWFORM Can now be canceled with detecting skills ↵rud0lp201-3/+39
which is check in every 2 seconds. Fixed bugreport:6010 AB_EXPIATIO now give a piercing damage bonus. Fixed Diamond/Crystallize status to work only to non mob target and its official behavior(bugreport:5893) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16296 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-13Applied renewal skill changes: (bugreport:5302)xantara1-4/+21
- 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-12Follow up r16280 added renewal checks for the added fireball formula and ↵shennetsind1-0/+5
fixed napalm stacking with the new formula git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16283 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-12Fixed Fire Ball renewal damage (bugreport:5991)ignizh1-1/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16280 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-12Improved bonus-adding processes by no longer having to add it to the zero'd ↵shennetsind1-57/+51
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-6/+7
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-08Follow up on r16240 update RK_CRUSHTRIKE formula and weapon break percentage.rud0lp201-56/+62
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-08` Added bugreport:5906 Trap Research's INT bonusxantara1-1/+1
` Fixed bugreport:5950 RK's Crush Strike to include weapon weight in attack formula git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16240 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-04Fixed bugreport:5919 RK_ENCHANTBLADE bonus damage at any level should now ↵rud0lp201-1/+1
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-04Follow up r16227 & bugreport:5932 fixed issues with my new-IDE tabbing, & ↵shennetsind1-1/+1
default configuration setting. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16230 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-03Adding new config min_npc_vending_distance which simulates the official 'no ↵shennetsind1-0/+1
vending near npcs' feature. super mega credits to masao git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16227 54d463be-8e91-2dee-dedb-b68131a5f0ec