summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2009-06-15Improving the r13888 crashfix to cover similar crash scenarios discovered:ultramage5-66/+24
Reordered code in status_change_end(SC_DANCING) so that an ensemble's skill unit group is deleted only after removing both performers' status changes. Modified the call to skill_delunitgroup() IN status_change_end(SC_DANCING) so that it always processes the group's true owner and not others (bugreport:3253). Replaced calls to skill_stop_dancing() with status_change_end(SC_DANCING), since it now provides identical functionality. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13891 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-14Fixed a crash due to group being redeleted when players are performing an ↵Inkfish1-1/+4
ensemble and one of the partner's sp run out. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13888 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-13Changed a few sprintf's that had no format arguments to strcpy's.Paradox924X3-6/+6
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13887 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-13* If both Double Attack and critical attack have chance to trigger within ↵Inkfish2-32/+26
one attack, Double Attack takes priority. (bugreport:3231) * Fixed Butterfly Wings not working on maps blocking Teleport. (bugreport:3236) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13886 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-12Fixed "arrow_atk" flag never being reset results in arrow consumption on ↵Inkfish1-0/+2
itemskills and autocasts. (bugreport:3233) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13884 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-12* Fixed itemskill not bypassing Silence, SteelBody, Berserk and the like. ↵Inkfish2-5/+7
(bugreport:3232) * Fury and Asura no longer disable SP regen on any other classes than Monk/Champion.(bugreport:3200) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13883 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-11* Fixed TaTaMiGaEShi(Improvised Defense) not working.Inkfish3-31/+32
* Implemented new cooking success formula. Now cooking experience starts at 0.(bugreport:2439) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13881 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-11Adjusted the code order in clif_parse_gmkick() to avoid invalid pointer ↵ultramage1-6/+13
access crashes when kicking mobs/npcs (bugreport:3229). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13880 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-09Fixed applying autocasts with negative rate before the positive one was ↵Inkfish1-47/+19
applied made it fail to remove the autocast. (bugreport:3193) (related revision: r7312, r9905, r12041) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13872 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-09Added a check to prevent resetting a mob's hp to full when it levels up ↵ultramage1-1/+2
using the custom mobs_level_up feature (accidentally deleted in r13789) (bugreport:3216). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13871 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-08Follow up to r13867, corrected the newly added MD_TARGETWEAK. Monsters with ↵L0ne_W0lf1-1/+1
this mode will now only target players five level LOWER than itself. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13869 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-08- Added mob mode 0x4000, MD_TARGETWEAK: It makes aggro monsters only chase ↵skotlex2-1/+7
characters whose level is no higher than the monster's +5. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13867 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-08- Added 'font' config in atcommand_athena.conf (bugreport:3123)brianluau1-14/+14
- Changed some defaults in src to match defaults in config. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13865 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-08- Fixed Swordsman Medallion to be usable by Star Gladiators.skotlex2-2/+5
- Fixed Thief Medallion to be usable by Ninjas. - Fixed Valorous Assassin's Damascus to reduce the strength of its effect. - Corrected the AUTOLOOT_DISTANCE code not checking for map changes. - Fixed clif_change_option's "unknown field" to be the character's karma. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13864 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-08Fixed bHPGainValue and bSPGainValue worked on all types of attacks and was ↵Inkfish2-34/+33
only activated on mob's death.(bugreport:3193) [Inkfish] git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13863 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-08* Added a configuration for whether damage of EarthQuake with single target ↵Inkfish3-30/+37
can be reflected. * Fixed Wizard Spirit can block reflected magical damage other than Kaite's.(bugreport:3161) * Fixed Kaite works against bosses.(follow up to r13857) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13860 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-07Fixing the 'name requests work at any distance' exploit (bugreport:3206).ultramage1-0/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13858 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-07Magical damage reflection now works against boss monsters and only on target ↵Inkfish1-2/+3
skill(but EarthQuake with one target is an exception).(bugreport:3026, bugreport:2527) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13857 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-07Changed hardcoded "5" to MAX_ARROW_RESOURCE in skill_arrow_create preventing ↵Paradox924X1-1/+1
proper usage. (bugreport:3025) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13855 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-07Implemented "cooking exp" that increases the success chance of cooking by ↵Inkfish3-1/+12
0.05% per try and the max bonus is 20%. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13854 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-07Fixing the 'equipping already equipped items' exploit (bugreport:3195).ultramage1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13853 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-06Fixed a crash due to script's backup state not being stored/restored ↵Inkfish1-6/+6
properly. (follow up to r13846) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13850 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-05- Fixed a crash on equip/unequip items with autoscripts.zephyrus1-3/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13849 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-05* Job_Battle_Manual and Battle_Manual can be used simultaneously.Inkfish2-1/+5
* Fixed "sleep" after "attachrid" (a different rid) halts the script.(bugreport:3181) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13846 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-05Oops, I messed up the condition on my last commitInkfish2-6/+6
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13845 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-05* Fixed turning off a skill needed to meet the requirements. (bugreport:3175)Inkfish8-85/+133
* Skills used through items not having aftercast delay or cast time now don't overwrite the former canact_tick. (topic:220921) * Multiple autoscripts now can trigger at once. * Applied a temp fix for autoscripts crashing server.(bugreport:3154) * Implemented SC_JEXPBOOST (thanks to GMJobbie for the diff). (bugreport:3177) * Implemented SC_IGNOREDEF. (topic:217330) * SC_DEFRATIOATK won't affect boss monsters. (topic:217330) * Fixed skip_teleport_lv1_menu made lv2 skip menu as well. (bugreport:3183) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13844 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-04* Updates to ST_PRESERVE and a few other minor details!L0ne_W0lf6-9/+28
- Recasting Preserve no longer toggles the skill off while active. - Preserve is no longer saved on log-out or mapserver changes. * Added SC_CRITICALWOUND and SC_SLOWCAST to negative statuses not saved with battle_config.debuff_on_logout&1 * Implemented the skills NPC_HELLPOWER and NPC_WIDEHELLDIGNITY, as per my personal experiences with the skill on iRO. * Increased MAX_MOBSKILLS to 50, as Satan Morroc has over 40 active skills now. * Added skill information for NPC_HELLPOWER and NPC_WIDEHELLDIGNITY, and enabled skills in mob_skill_db. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13843 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-03* Some clean ups on autocast and itemskill code. (see topic:220921 for some ↵Inkfish6-49/+62
info) - Autocasted Teleport now skips the menu. - Fixed nullpo info when defensive autocasts are triggered. (follow up to r13815) - Fixed Warp portal used in item script never worked. - Item skills now bypass skill delay check. - Implemented SM_SELFPROVOKE. - Updated item db using 'itemskill' for some items. * Basic skills will never be reset. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13841 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-03* Implemented the Party Buff cash skills.L0ne_W0lf3-7/+14
* Misc updates, and updates for party buff items. - Added CASH_BLESSING, CASH_INCAGI and CASH_ASSUMPTIO skills. - Added itemskill commands for the party buff scrolls. - Corrected Equipment repair book's itemtype to 11. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13840 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-03Fixed normal casted Teleport always skip menu.Inkfish1-5/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13839 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-02* Fixed Mystical Amplification having unlimited durationPlaytester1-1/+0
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13838 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-02Fixed skills used through items and Hocus-pocus consume requirements if you ↵Inkfish1-54/+52
have them. (bugreport:3164) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13836 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-01Fixed Fiberlock sometimes fails due to the long interval of ↵Inkfish1-19/+31
skill_unit_timer. It may never fail now, though this may not be official. (bugreport:3136) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13834 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-30- Fixed an off-by-one array index in r13815 that caused skills to use SP for ↵brianluau1-1/+1
(SkillLV+1). (bugreport:3152) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13830 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-30* Fixed gemstones are still required when players equipped Mistress Card. ↵Inkfish1-2/+7
(bugreport:3147, follow up to: r13815) * Fiberlock only catches targets the moment its casted. (bugreport:3136) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13829 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-30Fixed 'n_ele' not initialized and a typo in the Changelog.Inkfish1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13828 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-30* Multiple autocasts can go off at a time now. [Inkfish]Inkfish2-23/+19
* Splash damage doesn't get modified by percentual modifier now. [Inkfish] * Monster's Spiral Pierce is again...non-elemental. [Inkfish] git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13827 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-30* Fixed Hocus-pocus always fails. (bugreport:3143, follow up to: r13815)Inkfish1-4/+9
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13826 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-29* Added a new battle flag for telling which skills can have bHealPower effect.Inkfish5-31/+42
* Added documentation for bHealPower. * Fixed some behaviors for healing skills, (thanks to L0ne_W0lf) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13821 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-29* Added new bonuses bHealPower and bHealPower2. Inkfish7-69/+68
* Heal skills code clean up. - bSkillHeal can affect offensive heal now. - bSkillHeal2 can affect AppleIdun and SlimPitcher now. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13820 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-29Added new bonuses bUnbreakableGarment and bUnbreakableShoes.Inkfish2-5/+10
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13819 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-29* Some more fixes to skill condition issues.Inkfish1-22/+44
- Fixed skills fail when MAX_INVENTORY reached. (bugreport:3139) - Fixed spiritballs not being removed correctly in some situation. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13818 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-28Hmm...fixed my last commit making Tarotcard ignore sp requirement.Inkfish1-3/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13817 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-28* Fixed some issues of skill condition check. Inkfish1-15/+18
- HP is now checked at the end of cast. - Lv 6-10 StoneCurse doesn't consume gems. - Tarotcard's after-cast delay will still be applied if it fails. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13816 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-27* skill_check_condition clean up (bugreport:2770, bugreport:2957, ↵Inkfish3-336/+431
bugreport:3010) - Weapon, SP, HP and state are checked at the beginning of cast. - Required items and ammos are checked at the end of cast. - SP and status change required are removed at the end of cast without checking again. - Required items are removed only if the skill is successfully used. - Autocasts won't check for requirements but will remove them if you have them(except for SP/HP). Hope won't cause any problems... git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13815 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-25Now we can use 'boss_monster' to summon whatever monsters that need to be ↵Inkfish5-10/+15
radared by Convex Mirror. (bugreport:2653) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13813 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-25Fixed losing skill list after base change. (bugreport:3106)Inkfish3-10/+11
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13812 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-24Fixed crash when attacking while having a bBreakArmorRate item equipped ↵ultramage1-1/+1
(typo in r13800) (bugreport:3121). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13810 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-24Taro Card can now break shoes and garment and won't affect dead target. ↵Inkfish1-2/+9
(bugreport:2513) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13808 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-23Splash attacks do cause additional effects except for autocasts. ↵Inkfish2-6/+3
(bugreport:2661) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13804 54d463be-8e91-2dee-dedb-b68131a5f0ec