summaryrefslogtreecommitdiff
path: root/src/map/battle.c
AgeCommit message (Collapse)AuthorFilesLines
2012-12-11Happy Holidays and Happy 12/12/12 :)rud0lp201-130/+83
Update Elemental summon to its official behavior - Fixed missing skill features of Ventus(bugreport:6792,bugreport:6723,bugreport:6511) - Note: upgrade_svn17014.sql - And other elemental skills are to follow :) Fixed bugreport:6889 updated const.txt where it cause error to some items. Fixed bugreport:6999 where matk damage deals miss atk to plant type targets. Fixed status calculation where it doesn't give accurate result or how official calculation does. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17014 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-05- Added safer multiplication in battle formulas to prevent int32 from ↵markzd1-74/+88
overflowing when High damage is dealt. (bugreport:6952) - Fixed a typo which was preventing rental items from properly disappearing when deleted. (bugreport:6971) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17004 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-05- Re-committed r16987 (pid:161281).glighta1-2/+3
-Re-commiting part is now ended git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17003 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-05- Re-committed r16981/trunk/src/ and follow up r16988/trunk/src/ (pid:161281).glighta1-317/+337
-Fix previous recommit since r16995 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16999 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-05- Undid r16968: SVN Replaced with source:/trunk/src/@16966 (tid:74924).brianluau1-5404/+5448
[16969:16991/trunk/src/] will be re-committed in the next 24 hours. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16992 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-30Follow up r16981:rud0lp201-9/+9
- Where it causes nullpo_info warnings or even map crash(bugreport:6954) - Fixed wrong display of info using HW_MAGICPOWER in pre-re/skill_cast_db.txt(bugreport:5663) Synced 'skill_cast_db.txt'(new skills only) of RE with PRE RE git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16988 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-30-Fix old warnings. 1st step to get ride of -wno flag in configure. glighta1-2/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16987 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-29Fixed bugreport:5689 recoded/reimplement RE Matk formula(including RE Heal)rud0lp201-287/+330
Fixed bugreport:5745 WL_RECOGNIZED us now functional. Fixed bugreport:5663 where HW_MAGICPOWER shows glitch in status window. Fixed bugreport:6759 where items granting matk bonus didn't work. Follow up r16980 small performance enhancement...:) Done some TODO in skill_cast_db.txt git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16981 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-25Applied AStyle code formating as discussed on tid:74602.greenboxal21-5621/+5533
Removed /SAFESEH option from MSVC11 projects. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16968 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-12-Add Homon-S skills, 1st implementation (all done except Eleanors)glighta1-7/+61
--Upd Skill conf to set land-limit for homonculus by default (ground skill limit) --Mv MH_HEILIGE_STANGE and MH_ANGRIFFS_MODUS skill from Eleanor to Bayeri -Enforce all zeny transaction to use pc_payzeny and pc_getzeny handlers, (auto log and clif) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16914 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-10- Added configuration to wheter the monster size would change experience ↵momacabu1-0/+1
earned, drop rates and the monster status (such as hp, strength etc). Awesome suggestion by Euphy :) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16905 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-09- Removed backup.pl (for TXT servers) and vs9-to-vs8.php (outdated versions);momacabu1-2/+4
- Merged @killmonster2 with @killmonster tid:73632; - Fixed bugreport:6764, auction code was misplaced; - Follow up to r16753 (bugreport:6523), fixed bugreport:6673, using Gravitational Field with Safety Wall would keep the character immobilized. Blame myself, thankyou Lunar for the fix; - Fixed bugreport:6514, @slaveclone wouldn't be targeted by monster. Thanks to zippy; - Fixed bugreport:6837, some code was duplicated; - Fixed bugreport:6768, removed some leftovers from TXT removal; - Fixed bugreport:6868, Unequipping a weapon with Incantation Samurai card will not kill you if you have less than 999 hp and are on a non-pvp map; - Fixed wrong bit field on ai field in mob_data structure. Credits to Ind. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16881 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-02Fixed bugreport:6839 where SC_CAMOUFLAGE is not ending properly.rud0lp201-0/+1
Fixed bugreport:6710 where SR_EARTHSHAKER ATK bonus is not applied properly. Implemented KO_MAKIBISHI and updated some Kagerou/Oboro skills. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16857 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-01-Fix bugreport:6547 (bloodylust) upd bloodylust effect to berserkglighta1-167/+167
-Fix bugreport:6208, bugreport:6805 (chaos panic) fix range effect -Partial Fix bugreport:5275 (toxin now won't interupt unbreackable castskill) -Folllow up r16847 fix UNT_ZEPHYR get some unwanted bonus, fix Insignia unit range -Add UF_RANGEDSINGLEUNIT unit propriety thx to 3ceam, workaround to fix ranged unit without timer. -Prevent WM_SOUND_OF_DESTRUCTION, SC_MANHOLE, WM_LULLABY_DEEPSLEEP being cast in non pvp map -Fix SC_MAGICMUSHROOM shouldn't force skill if sit -Replace some hardcoded mobid by enum -add some mob_is definition for quicker search (gvg and treasure) -Remove some duplicate check for status_heal (if berserk already done in status heal) -Upd few documentation git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16855 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-10-31-Fix bugreport:5757 (insignia) implement remaning effect stated from ↵glighta1-28/+32
irowiki, remove duplicate atk_ele -Fix bugreport:6096 (saturday_night), add rate failure, fix sit icone, add restrict to pvp map -Fix bugreport:6831 (sc_intravision), prevent item starting (and so ending) intravision while wearing maya purple DB: -Upd *INSIGNIA duration to 60s, fix requirement indigo per level (itemid ain't split in src =( ) -Upd WM_SATURDAY_NIGHT_FEVER hp/sp drain interval to 12-2*skilllv -Upd skill_require_db fix add note about some state status wich were present but not mentionned. -Add poisonweapon and rollingcutter code implantation. (was used in require db without effect and removed hardcoded check) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16847 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-10-29-Add some src basic documentation.glighta1-70/+81
-Change some remaining -1 for status ending timer. -Move some hardcoded msg in msg_athena -Small optimisation on battle_attr_fix git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16835 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-10-28- 'night_at_start' config can now be used, even if ↵brianluau1-13/+13
day_duration/night_duration are 0. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16833 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-09-30Fixing a few logical mistakes, also applying my curly brace love on the way.shennetsind1-33/+45
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16809 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-09-26Fixing a rare issue where a pointer of a already freed unit would have ↵shennetsind1-21/+29
corrupted memory and causing unexpected behavior (most likely crashing) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16803 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-09-16Introducing rAthena's anonymous data collector. This aims at improving ↵shennetsind1-0/+142
rAthena's overall features by letting we know which options are most and least used. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16785 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-09-10Fixed bugreport:6650 where WZ_QUAGMIRE affects caster in non PK map.rud0lp201-3/+7
Fixed bugreport:6635 where SO_FIREWALK & SO_ELECTRIC walk still active after changing map. Updated EDP to it's Renewal damage formula bonus. NOTE: result damage still quite huge than official since renewal atk is not yet fully implemented. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16770 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-09-03Fixed bugreport:6581 applied balance update to MO_EXTREMITYFIST.rud0lp201-2/+3
Fixed bugreport:6457 where SR_CURSEDCIRCLE is not remove when target dies. Fixed bugreport:6535 updated GN_CRAZY_WEED to its official behavior. Fixed bugreport:6592 added a missing break in Spiral Pierce skillratio at battle.c. Fixed a faulty skillratio formula of GN_CART_TORNADO. Thanks to Lighta git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16738 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-09-02Hello! few things.shennetsind1-1/+1
1) fixed bugreport:6603 - delayed clearunit now makes use of the ERS which is quite convenient for it speeds up due to the previous amount of mallocs that function would spend. 2) added extra debug information to the ERS system (before on any of its warnings we'd go OH MY GOD WHICH ONE OF THEM DID IT!!!), now upon allocation you give it a const, human-readable, name. 3) added support for options in the ERS system to save multiple/redudant processing in battle_delayed_damage and clif_clearunit_delayed and perhaps also in the future. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16736 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-18Implemented Renewal Casting System.rud0lp201-0/+15
Fixed bugreport:2018 where CH_PALMSTRIKE deals damage to hidden targets. Fixed bugreport:6473, bugreport:6325 SC_DEADLYINFECT should now spread status ailments properly. Fixed bugreport:5541, bugreport:6179, bugreport:6281 where self buff skill is transfer to targets when doing a combo. Updated AC_VULTURE where in renewal it doesn't show the hit bonus anymore in the status window. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16661 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-15- Removed useless mapname compares (since r570) and fixed the strncmp for ↵brianluau1-5/+4
malangdo/malaya (r15388). [thanks lighta] - Follow up to r16322 so the comment "only modifier is halved but still benefit with the damage bonus" is actually true. Thanks lighta! git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16637 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-09Fixed bugreport:6443 where SC_AUTOSHADOWSPELL bypasses flag checking of ↵rud0lp201-2/+32
ground type skills. Follow up r16591 where using KG_GENWAKU on sitting targets the client doesn't sync with the server in sitting state. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16613 54d463be-8e91-2dee-dedb-b68131a5f0ec
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