summaryrefslogtreecommitdiff
path: root/src/map/skill.c
AgeCommit message (Collapse)AuthorFilesLines
2012-12-29Old Eleanor work :glighta1-3/+28
-Implement MH_TINDER_BREAKER, STYLE_CHANGE git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17059 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-25Fixed bugreport:7015 missing base aspd for High Priest wearing knuckles.rud0lp201-2/+1
Fixed bugreport:7033 where fixed cast time reduction bonuses affect variable cast time. Fixed bugreport:7034 stats display should now display properly when skill debuffs/buffs are used. Fixed bugreport:6840 where Fire Cloak and Wind Curtain accidentally changed elemental damage resistance. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17043 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-22Community Contribution Time!momacabu1-2/+2
* Fixed bugreport:6303: official servers now always reshuffle the dice emoticon. To disable change the configuration to 'no'. Thanks to Vianna for providing the information! * Fixed bugreport:7026: creating a guild and exiting in a short amount of time wouldn't save the guild properly. Thank you clydelion! * Fixed bugreport:7030: removed warning introduced by r16987. Thanks Mr. Brian and Sir BuildBot for pointing! * Fixed bugreport:7031: if a player crashed during warp it would cause OnTouch_ to not trigger anymore. Thanks to flaviojs (eA-r15185) for the fix and Napster for pointing out! * Fixed bugreport:7032: Clementia and Canto Candidus give an additional of +1 str/agi/dex each 10 job levels (from caster). Thanks solvent! git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17034 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-20* Follow up r16676markzd1-23/+13
1. Fixed a behavior which allowed devotion to be bypassed when the caster was under Reflect Damage Buff. 2. Fixed the reflected magic damage to always hit the target and not the paladin when it's not reflected by kaite. - Implemented bonus2 bMagicAtkEle which increases/decreases the caster magic damage based on its element.(bugreport:6943) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17030 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-16Fixed bugreport:7010 where r17014 missing status_change check that may cause ↵rud0lp201-22/+29
map server crash. Fixed bugreport:6953 where RK_WINDCUTTER don't have skill effect. Fixed bugreport:6701 change RK_CRUSHTRIKE to self target skill. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17026 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-12- Fixed a glitch which was causing some buffs to have more duration than ↵markzd1-23/+11
intended.(bugreport:6606) - Fixed a glitch, related to r16109, which caused some buffs to end prematurely. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17020 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-12- Follow up r17004 & bugreport:6995, added safer calculation to strategic ↵markzd1-1/+1
points at battle.c&status.c. - Implemented reading of renewal exp_guild.txt. (tid:75398) - Fixed Status Fogwall(Blinding Mist) to be reduced by status/card. (bugreport:4543) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17017 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-11Happy Holidays and Happy 12/12/12 :)rud0lp201-29/+78
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-09* Small improvement in case someone uses logarithmic drops with 1x rate, ↵momacabu1-1/+6
saving 19.4ms on start in that case; * Fixed bugreport:6606 (follow up to r16881), another issue regarding to dancing skills delay. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17011 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-07- Fixed wizard sightblaster skill which was not knocking back traps. ↵markzd1-1/+7
(bugreport:144) - Fixed soul linker Swoo(Eswoo) skill to make proper application of stun to caster and target when the second is shrunkened.(bugreport:6157) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17008 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-05- Re-committed r16984 (pid:161281).glighta1-2/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17000 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-05- Re-committed r16981/trunk/src/ and follow up r16988/trunk/src/ (pid:161281).glighta1-7/+57
-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 - Re-committed r16979/trunk/src/ (pid:161281).markzd1-2/+2
- Re-committed r16980/trunk/src/ (pid:161281). - Malufett enhancement applied (bugreport:16981) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16998 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-05- Undid r16968: SVN Replaced with source:/trunk/src/@16966 (tid:74924).brianluau1-16788/+16524
[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-0/+6
- 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-29* Fixed bugreport:6942 where bSkillCooldown was not applying to skills.markzd1-4/+6
* Fixed some grammar typos in pc.c git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16984 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-29Fixed bugreport:5689 recoded/reimplement RE Matk formula(including RE Heal)rud0lp201-8/+52
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-29* Fixed (assistant/slave)summons/clone, where they dissappeared when going ↵markzd1-1/+1
up to a nobranch mapflag map. (bugreport:6925) * Minor fix to to Nosiege, follow up (r16969) * Fixed RK_Refresh where it was not removing/protecting from the right debuffs. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16979 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-25Applied AStyle code formating as discussed on tid:74602.greenboxal21-16780/+16992
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-25* Added the "Catalog Magician" NPC to merchants/buying_shops.txt, thanks to ↵euphyy1-1/+1
Muad_Dib! * Changed all commands in atcommands.txt to their defined names, not aliases, and added two more common aliases. * Documented 'makerune' in script_commands.txt. * Documented '@accinfo' in atcommands.txt. * Follow-up r16965, database update for rune crafting formula. * Updated Magic Mushroom DB according to 3CeAM revision 703. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16966 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-25-Upd RK_RUNEMASTERY cooking percent, linked with upd of makerune args as ↵glighta1-1/+28
requested git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16965 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-24-Add tool/check-doc to verify if all script/atcommand are being documented. ↵glighta1-2/+3
thx to Trojal -Upd SC_ASH, make skill fail at 50% rate git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16964 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-22-Apply EvilPuncker path from tid:71756glighta1-5/+7
-Fix and upd logzeny enumeration type bugreport:6897 -Upd @zeny to send a message when succed bugreport:6886 -Upd ChaosPanic to affect all bugreport:6893 -Upd bloodylust cooldown and disable endure effect bugreport:6547 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16940 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-15Updated @reloadskilldb to update all connected clients skill infos; and to ↵shennetsind1-2/+9
explain why I'll write a short, cute story. Prior to this change, if you changed a skill type from, say, ground to self, and reloaded the skill db, you'd need to relog (or force kick everyone in the server) in order for this to refresh in their clients; thanks to this change @reloadscript will refresh everyones skill tree. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16928 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-13- Fixed bugreport:6887, a variable was not initialized;momacabu1-1/+1
- Make @addwarp <npc name> parameter mandatory as per requests; - Changed SCB_ALL to SCB_BASE on SC_INTRAVISION case, it should be enough. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16922 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-12Fixed bugreport:6719 adjusted SR_GENTLETOUCH_CURE,SR_GENTLETOUCH_CHANGE, and ↵rud0lp201-7/+2
SR_GENTLETOUCH_REVITALIZE required spirit balls. Fixed bugreport:6140 removed unused status icon SI_CLOUDKILL. Fixed bugreport:6829 an animation problem in casting skills. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16921 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-12-Upd mob_count to read a 10 modib list to chk if present or notglighta1-0/+11
-Add UNLIMITED_HUMMING implementation, now increase sp requirement and make cast unbreakable -Upd Group dance overlaping A and B, previous chk wasn't ending other properly (if fail was skipping other) -Upd OdinPower effect -Fix Cursed-Circle, shoudn't be able to cast near Emp,Stones bugreport:6457 -Fix Cursed-Circle wasn't remove when caster was being warped -Small docs upd git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16918 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-12-Add/upd basic documentation for script.cglighta1-39/+37
-Fix some indentation and strange codestyle change to A-Style git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16915 54d463be-8e91-2dee-dedb-b68131a5f0ec
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