summaryrefslogtreecommitdiff
path: root/src/map/skill.c
AgeCommit message (Collapse)AuthorFilesLines
2012-11-12-Add Homon-S skills, 1st implementation (all done except Eleanors)glighta1-39/+183
--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-11Follow up to r16912 (bugreport:6435), the fix wasn't working because I was ↵momacabu1-0/+1
mistakenly reproducing the bug -_- Now I hope I did everything right. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16913 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-11Updated skills that can not be dispelled by Dispell skill (bugreport:6469).momacabu1-1/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16910 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-10- Modified *monster and *areamonster script commands to allow size and ai ↵momacabu1-10/+10
parameters. -- Event parameter now no longer works as size & ai replacement. -- If not defined, it'll assume the default size (0 = medium) and default ai (0 = none). - Changed all hardcoded AI states to recently created enum. Please test, if you find any bugs, report on our Bug Tracker. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16904 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-09- Removed backup.pl (for TXT servers) and vs9-to-vs8.php (outdated versions);momacabu1-2/+2
- 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-08Fixed bugreport:6869 where some skills of Sura are affected by SA_DISPELL.rud0lp201-3/+9
Fixed bugreport:6867 remove the heal effect animation of SR_GENTLETOUCH_CURE which is not official. Follow up r16856 where AM_POTIONPITCHER should not affect targets under the SC_EXTREMITYFIST2(EF SP recovery block). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16874 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-02Fixed bugreport:6839 where SC_CAMOUFLAGE is not ending properly.rud0lp201-7/+22
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-02Fixed bugreport:6833 a typo in the level difference database.rud0lp201-10/+15
Fixed bugreport:6438 now WL_TETRAVORTEX shows proper animation display. Follow up r16776 added some missing updates for MO_EXTREMITYFIST thanks to kyeme. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16856 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-01-Fix bugreport:6547 (bloodylust) upd bloodylust effect to berserkglighta1-280/+312
-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-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