summaryrefslogtreecommitdiff
path: root/src/map/skill.c
AgeCommit message (Collapse)AuthorFilesLines
2012-09-13Follow up r16738 MO_ETREMITYFIST renewal behavior.rud0lp201-2/+9
Fixed bugreport:6580 where SC_MANHOLE targets can use items. Fixed bugreport:6636 a typo formula in WL_WHITEIMPRISON. Fixed bugreport:6685 a missing column in skill_cast_db.txt for WL_COMET entry. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16776 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-09-10Fixed bugreport:6650 where WZ_QUAGMIRE affects caster in non PK map.rud0lp201-1/+1
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-06Fixed bugreport:6523 song duration exploit. credits to mkbu95! Thank youshennetsind1-6/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16753 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-09-03Fixed bugreport:6581 applied balance update to MO_EXTREMITYFIST.rud0lp201-51/+43
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-2/+2
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-31- Fixed @item so it only displays message "Item created" on success.brianluau1-1/+1
- Changed @raisemap to also function as "@healmap". - Changed txt_time() to omit days/hours/seconds if there are none. - Also applied the 'min_chat_delay' to @main, @pettalk and @homtalk. - Fixed a warning in skill.c (bugreport:6593) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16722 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-30Fixed bugreport:6584 reverted something that shouldn't have been removed in ↵shennetsind1-3/+3
r16687 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16719 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-29Partial fixed for bugreport:6563 updated renewal casting and all 3rd job ↵rud0lp201-14/+14
skills cast, delay, and cooldown. Fixed bugreport:6583 where GN_MIX_COOKING and GN_MAKEBOMB doesn't produce the right amount of item. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16717 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-27Follow up r16712 fix an uninitialized warning in skill.c - thanks to BuildBotrud0lp201-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16713 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-27Fixed bugreport:6516 where duplicate entry in produce_db.txt is been ignored ↵rud0lp201-150/+225
when both required skills are present in a character (ex. AM_PHARMACY w/ GN_CHANGEMATERIAL) Updated all Genetic's item creation skills to its official behavior and added all missing items used for GN_CHANGEMATERIAL.(bugreport:6539) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16712 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-25Fixed bugreport:6521 where MO_CALLSPIRIT doesn't benefit with ↵rud0lp201-2/+7
SR_RAISINGDRAGON effect. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16705 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-22Major cleanup all over the place, made possible by mkbu95's scan-build ↵shennetsind1-69/+51
report he provided us with. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16687 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-22Follow up r16676 - removed a superfluous argument from status_fix_damage ↵kenpachi2k111-1/+1
call in skill.c. (bugreport:6533) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16681 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-22Fixed a bug where Flying Kick could be used (outside of PVE/PVP/etc) to ↵cookiecrumbs1-3/+9
actually move to a character (by stalkers and TKs). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16678 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-22Fixed bugreport:686 and bugreport:3603 where kaite magic ↵cookiecrumbs1-2/+23
reflected/reflecting damage (i.e. Reflect Shield) is directed to the Paladin (Devotion) instead of the player devoted. Per official standards, the player devoted should receive the damage in those instances. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16676 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-18Implemented Renewal Casting System.rud0lp201-42/+99
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-17Fixed bugreport:2101 and bugreport:4216 where Cracker doesn't stun players. ↵cookiecrumbs1-3/+2
Per official standards it does. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16659 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-17Follow up to r16647, fixed bugreport:5534. Moved the fix from skill.c to ↵cookiecrumbs1-9/+1
status.c. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16654 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-17Fixed bugreport:5534 where the SC wasn't ended. This resolves the issues ↵cookiecrumbs1-1/+9
with Sealed Shrine and NPC_INVINCIBLEOFF and NPC_INVINCIBLE. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16647 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-11Fixed bugreport:6456 repair scroll (#14587) is now fully functional, bug was ↵shennetsind1-14/+20
due to the range being checked on pc_checkskill and it'd return 0 when the caster isn't a blacksmith class (or doesn't have repair weapon mastered), the skill level cast is now stored in (struct map_session_data)->menuskill_val2. special thanks to kyeme for his persistence git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16624 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-11Fixed a bug where weapon repair skill would crash, super-ultra-mega-thanks ↵shennetsind1-1/+1
to EvilPuncker. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16623 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-09Fixed bugreport:6443 where SC_AUTOSHADOWSPELL bypasses flag checking of ↵rud0lp201-1/+1
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-07Fixed bugreport:6406,bugreport:5986 updated Extreme Vacuum to its official ↵rud0lp201-9/+38
behavior. Fixed bugreport:6404 where using KG_GENWAKU on sitting targets the client doesn't sync with the server in sitting state. Updated RK_FIGHTINGSPIRIT ASPD bonus. Thanks to michieru. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16591 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-05- Fixed bugreport:6295, Harmonize formula (now a skill debuff) and behaviour ↵xantara1-1/+3
updated (caster also affected) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16587 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-03Follow up r16560 Chemical Protection skills are now to its official ↵rud0lp201-11/+13
behavior.(bugreport:6396) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16567 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-02- Fixed compile errors from r16560, thanks BuildBot!brianluau1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16561 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-02Fixed bugreport:6324 where re-spawning mob still hits/chases its previous ↵rud0lp201-49/+132
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-08-01Fixed bugreport:6380 Snap/Body Relocation animation, super ultra special ↵shennetsind1-4/+7
thanks to emong. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16541 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-31Fixed SC_CRYSTALIZE where it stacks with other opt and ignore SC_WARMER.rud0lp201-2/+79
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-30- Fixed a compile error =[ thanks BuildBot!brianluau1-0/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16536 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-30- Removed redundant config after the Item Stacking System was added in r16279.brianluau1-12/+17
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16535 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-28Updated some skills to its RE behavior(AL_ANGELUS, RG_BACKSTAP, ↵rud0lp201-6/+90
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-28Fixed bugreport:6341. Update Soul Change to his RE behavior.ignizh1-0/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16519 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-26Updated NJ_HUUMA to renewal behavior.(bugreport:6330)rud0lp201-3/+29
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-26Added the merges proposed in evilpuncker's list of suggestions: ↵shennetsind1-5/+5
http://rathena.org/board/topic/63001-my-rathena-suggestions/page__st__20#entry124218 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16500 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-25Fixed bugreport:6312 where level of GC_RESEARCHNEWPOISON was not passed ↵rud0lp201-1/+2
through where leech end damage is not properly calculated. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16496 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-24Moved a few messages from source to msg_athena.conf.xazax-hun1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16495 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-24Merged ALL_PARTYFLEE from eAthena renewal branch.xazax-hun1-0/+14
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16494 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-24Fixed bugreport:6310 where flinching/casting motion always trigger with ↵rud0lp201-1/+1
ground type skills.[sorry forgot to remove it :)] git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16492 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-24Fixed bugreport:6302 where WUG Riding state is not save in char log out.rud0lp201-0/+2
Follow up r16483 where I forgot to include the list of skills that can be used when riding a WUG.XD git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16491 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-24Follow up r16486 a little code optimization and fixed its server ↵rud0lp201-1/+3
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-23Updated most Ranger skills to its official behavior and damage ↵rud0lp201-87/+140
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-23Fixed bugreport:6297 where Cart can be dispelled by SA_DISPELL and AB_CLEARANCE.rud0lp201-2/+2
Little code optimization from r16478. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16482 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-22Fixed a bug where Storm Gust and other miscellaneous skills were not sending ↵cookiecrumbs1-2/+5
the packets to the client; prior to this revision, if you used, SG for example, you wouldn't see the mobs push until you @refresh. Storm Gust was also not pushing mobs as per the official mechanic (randomly) as it was pushing one cell backwards (prior to this revision). bugreport:6225 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16477 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-21Renamed bUseSPrateSkill to bSkillUseSPrate.kenpachi2k111-4/+7
Added bSkillUseSP. Added documentation for bSkillUseSPrate(bUseSPrateSkill), bSkillUseSP, bSkillCooldown, bSkillFixedCast, bSkillVariableCast, bSkillFixedCast and bVariableCastrate. (bugreport:6193) Fixed Enriched White PotionZs (#12428) and Enrich Celermine Juices (#12437) bonus script. (bugreport:5790) Fixed Mental Sticks (#1654) bonus script. (bugreport:6071) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16466 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-18Reverted r16439 that cause bugreport:6182 again and proper fix for ↵rud0lp201-16/+26
bugreport:6261. Fixed bugreport:6240 WM_VOICEOFSIREN should now effect all target except caster. Fixed bugreport:6264 where repeated entry in the 'produce_db.txt' are not process properly. Added a proper message for casting restricted skills in a certain map flag same with official servers. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16442 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-18Fixed an issue where when a trap was set that required a Special Alloy Trap, ↵cookiecrumbs1-1/+1
the returning trap was a Trap instead of Special Alloy Trap. bugreport:6263 Removed accidental inclusion of my name in the previous revision. r16439 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16440 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-16Fixed bugreport:6233 traps should now hit/damage all targets inside gvg/pvp ↵rud0lp201-18/+18
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-14Follow up r16424 fixed warning, missing parenthesis.shennetsind1-3/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16426 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-13Fixed bugreport:6220 updated SR_SKYNETBLOW behavior to official and damage ↵rud0lp201-7/+8
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