summaryrefslogtreecommitdiff
path: root/src/map/skill.c
AgeCommit message (Collapse)AuthorFilesLines
2012-10-31bugreport:6830 / follow up r16848, dropped flag param in skill_select_menu ↵shennetsind1-1/+1
as we do not rely on it. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16849 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-10-31Fixed bugreport:6830 Fixed potential crash on Shadow Chaser's Auto Spell. ↵shennetsind1-2/+2
Special Thanks to ultramage's hawk eyes. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16848 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-10-31-Fix bugreport:5757 (insignia) implement remaning effect stated from ↵glighta1-39/+85
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-15/+17
-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-29Fixed bugreport:6694 missing hiding function of SC_FEINTBOMB.rud0lp201-2/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16834 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-10-13Fixed bugreport:6493 Genwaku no longer works on npcs and on gvg maps (since ↵shennetsind1-1/+1
push/knockback is also disabled on gvg) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16818 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-10-12Fixed bugreport:2657 castend now also checks if the required weapon matches, ↵shennetsind1-59/+57
fixing any possible exploits where a character manages to change weapon during cast/animation e.g., as the report claims, sonic blow. (also applied my curly brace love on the way) Special Thanks to esu1214! git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16817 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-10-03=Generaltechnote241-2/+2
*Updated a hand full of enum tables and added some place holders in the skill databases. -Tables updated are the Emotions, Map Types, Use Skill Fail Causes, Skills, Units, and Status. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16812 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-09-27Fixed bugreport:6725 where wrong defined macro is used in parsing ↵rud0lp201-1/+1
'skill_cast_db.txt' git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16806 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-09-13Follow up r16776, fixed typo in folder name. Credits to Trojal for his ↵shennetsind1-1/+1
powerful hawk eyes. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16778 54d463be-8e91-2dee-dedb-b68131a5f0ec
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