1269 Commits

Author SHA1 Message Date
shennetsind
779d97c1cb Hello! few things.
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://svn.code.sf.net/p/rathena/svn/trunk@16736 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-09-02 23:02:35 +00:00
rud0lp20
ed4b36e5f4 Implemented Renewal Casting System.
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://svn.code.sf.net/p/rathena/svn/trunk@16661 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-18 07:52:11 +00:00
brianluau
e55279cabe - Removed useless mapname compares (since r570) and fixed the strncmp for 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://svn.code.sf.net/p/rathena/svn/trunk@16637 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-15 04:30:29 +00:00
rud0lp20
2c36c19978 Fixed bugreport:6443 where SC_AUTOSHADOWSPELL bypasses flag checking of 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://svn.code.sf.net/p/rathena/svn/trunk@16613 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-09 15:19:02 +00:00
rud0lp20
df8a3313ef Fixed bugreport:6324 where re-spawning mob still hits/chases its previous 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://svn.code.sf.net/p/rathena/svn/trunk@16560 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-02 14:31:16 +00:00
rud0lp20
a6a61dba4d Fixed SC_CRYSTALIZE where it stacks with other opt and ignore SC_WARMER.
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://svn.code.sf.net/p/rathena/svn/trunk@16539 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-31 16:38:47 +00:00
shennetsind
c820682934 Fixed bugreport:6359
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16529 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-29 09:44:17 +00:00
shennetsind
b08737ab8c Fixed bugreport:6353
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16526 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-29 01:50:09 +00:00
rud0lp20
9a63cdf65e Updated some skills to its RE behavior(AL_ANGELUS, RG_BACKSTAP, 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://svn.code.sf.net/p/rathena/svn/trunk@16520 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-28 13:20:00 +00:00
shennetsind
a7a1f81e56 Fixed bugreport:309 combos may now stack properly. moved all combo 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://svn.code.sf.net/p/rathena/svn/trunk@16508 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-27 00:11:32 +00:00
rud0lp20
2468b058b0 Updated NJ_HUUMA to renewal behavior.(bugreport:6330)
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://svn.code.sf.net/p/rathena/svn/trunk@16506 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-26 18:08:30 +00:00
shennetsind
bfb1f25d06 Follow up r16502 / bugreport:6115 added missing check on battle_calc_gvg_damage
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16503 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-26 02:37:58 +00:00
shennetsind
941818dec5 Fixed bugreport:6115 players without guild may now attack guardians during woe, mercenaries no longer can attack emperium.
Special Thanks/Credits To Daegaladh

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16502 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-26 02:30:41 +00:00
rud0lp20
1a842445c0 Follow up r16486 a little code optimization and fixed its server crashing/halting tendency.
Follow up r16483 fixed a duplicate display animation of traps when triggered by a skill.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16487 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-24 03:40:07 +00:00
ignizh
c3386ad45d Fixed bugreport:5817. Hundred Spear now have his official behavior. (Thanks to Rytech for his base)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16486 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-23 21:28:41 +00:00
shennetsind
c2a83e1579 reverting r16476, for 1) after extensive debugging cookie and I found out it wasn't related to the crashes on the report and 2) it breaks the official behavior of reflect shield.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16484 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-23 15:14:14 +00:00
rud0lp20
041d671412 Updated most Ranger skills to its official behavior and damage 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://svn.code.sf.net/p/rathena/svn/trunk@16483 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-23 15:00:12 +00:00
cookiecrumbs
1a4c429b2d Added a check on the battle_delay_damage_sub to prevent crashes from 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://svn.code.sf.net/p/rathena/svn/trunk@16476 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-22 22:36:13 +00:00
cookiecrumbs
c9269c0db9 Added a new configuration option to allow either weapon switching to cancel 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://svn.code.sf.net/p/rathena/svn/trunk@16470 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-22 01:26:48 +00:00
shennetsind
8be88c67b2 Follow up r16445 performance improvement.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16446 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-18 20:19:16 +00:00
cookiecrumbs
1c121768cb New permissions added for groups: show_bossmobs, disable_pvm and 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://svn.code.sf.net/p/rathena/svn/trunk@16445 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-18 20:06:54 +00:00
shennetsind
71cd7d13af Follow up r16427 fixed issue with parenthesis logic and a battle.c warning on missing parenthesis
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16444 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-18 19:59:36 +00:00
rud0lp20
8f114568c0 Fixed bugreport:6233 traps should now hit/damage all targets inside gvg/pvp 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://svn.code.sf.net/p/rathena/svn/trunk@16429 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-16 10:16:37 +00:00
masao87
78cf7a424e - Added new script command hommutate which changes an Homunculus into an 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://svn.code.sf.net/p/rathena/svn/trunk@16427 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-14 15:52:49 +00:00
rud0lp20
0656981500 Fixed bugreport:6220 updated SR_SKYNETBLOW behavior to official and damage 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://svn.code.sf.net/p/rathena/svn/trunk@16424 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-13 17:07:31 +00:00
rud0lp20
f72783b5a9 Fixed bugreport:6215 where using SR_CRESCENTELBOW can cause map server 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://svn.code.sf.net/p/rathena/svn/trunk@16416 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-12 16:39:58 +00:00
rud0lp20
c16de9a388 Fixed bugreport:6178 where SR_CRESCENTELBOW doesn't work with skills and 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://svn.code.sf.net/p/rathena/svn/trunk@16399 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-11 15:10:07 +00:00
ignizh
20c7a8ac9e Fixed bugreport:6175 | Assumptio now doubles def & mdef on RE mode.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16386 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-10 03:48:06 +00:00
shennetsind
24e655bd3c Hello World. Initial support for the new homunculus has been added, credits 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://svn.code.sf.net/p/rathena/svn/trunk@16381 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-08 17:38:44 +00:00
rud0lp20
425f381859 Implemented Renewal ASPD formula(bugreport:5644)
- 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://svn.code.sf.net/p/rathena/svn/trunk@16378 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-05 16:49:25 +00:00
shennetsind
644bc3dbe5 Fixed bugreport:6123 fixed issue with null dat->src crash. Also applied a performance improvement by removing the idb lookup on every delayed damage
Super mega thanks to Cookie and Wildcard.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16359 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-01 11:21:33 +00:00
rud0lp20
0e6ba7d3ca Fixed bugreport:6127 remove the double duration bonus from GC_RESEARCHEWPOISON
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://svn.code.sf.net/p/rathena/svn/trunk@16353 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-28 14:41:25 +00:00
shennetsind
5af9566629 Fixed a couple mismatching block locks
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16349 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-28 03:01:46 +00:00
rud0lp20
fb56e5bc13 Fixed bugreport:5843 WL_HELLINFERNO should now deal 2 elemental(fire ad 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://svn.code.sf.net/p/rathena/svn/trunk@16346 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-25 11:54:35 +00:00
shennetsind
d45d8b42a8 Fixed bugreport:6021 raised maximum aura_lv from 127 to MAX_LEVEL define
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16338 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-24 01:24:38 +00:00
shennetsind
487a66a879 Fixed bugreport:5295 Added a config so each server owner may decide whether their users are to view the actual data or not, requires RENEWAL_DROP
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16337 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-24 01:09:43 +00:00
ignizh
f64ea00e42 Follow up r16316 and bugreport:6047 - Fixed Enchant Deadly Poison damage on 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://svn.code.sf.net/p/rathena/svn/trunk@16322 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-20 01:08:05 +00:00
ignizh
cd16317a46 Follow up r16316 and bugreport:6047 - Fixed Enchant Deadly Poison damage on skills that should/shouln't have halved/affected damage on RE mode.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16321 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-19 23:04:20 +00:00
xantara
d0be1bc79e Follow up r16292 - Fixed Turn Undead renewal formula on failure (bugreport:6054)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16317 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-18 21:24:53 +00:00
rud0lp20
0def9332a2 Fixed bugreport:6008 remove the weight factor with the damage done by 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://svn.code.sf.net/p/rathena/svn/trunk@16316 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-18 16:15:43 +00:00
rud0lp20
21507c7b77 Fixed bugreport:6038 WM_REVERBERATION behavior should now work properly.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16312 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-16 19:01:56 +00:00
ignizh
1498a27d7a Followed r16309, fixed a typo.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16311 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-16 03:47:25 +00:00
ignizh
f15bf626b5 Fixed Enchant Deadly Poison effect hover skills that should have halved damage or should not be affected in RE mode(bugreport:5322)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16309 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-16 01:34:17 +00:00
rud0lp20
2b700279d8 Fixed bugreport:5954 SC_SHADOWFORM Can now be canceled with detecting skills 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://svn.code.sf.net/p/rathena/svn/trunk@16296 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-14 17:33:21 +00:00
xantara
f1f2c7f0db Applied renewal skill changes: (bugreport:5302)
- 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://svn.code.sf.net/p/rathena/svn/trunk@16292 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-13 20:20:08 +00:00
shennetsind
bcb7054ee7 Follow up r16280 added renewal checks for the added fireball formula and fixed napalm stacking with the new formula
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16283 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-12 23:06:10 +00:00
ignizh
2756f408ed Fixed Fire Ball renewal damage (bugreport:5991)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16280 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-12 22:08:36 +00:00
shennetsind
e2fd3350e5 Improved bonus-adding processes by no longer having to add it to the zero'd 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://svn.code.sf.net/p/rathena/svn/trunk@16272 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-12 01:08:05 +00:00
rud0lp20
f6f8f640c5 Fixed bugreport:5963 AB_CHEAL should now work properly on immune 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://svn.code.sf.net/p/rathena/svn/trunk@16268 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-11 21:00:12 +00:00
rud0lp20
9c2c02007f Follow up on r16240 update RK_CRUSHTRIKE formula and weapon break percentage.
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://svn.code.sf.net/p/rathena/svn/trunk@16243 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-08 12:28:14 +00:00