summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
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
2009-05-22NPC_STOP now stops both sides and will be canceled if either side teleports ↵Inkfish3-2/+16
or dies.(bugreport:3099) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13803 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-22* The delay icon doesn't appear during casting now. (bugreport:3101)Inkfish3-12/+8
* Status icon of ASPD potions doesn't overriding each other now.(bugreport:3095) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13802 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-22Splash attack doesn't cause any status effects or autocasts any ↵Inkfish2-9/+15
more.(bugreport:2661) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13801 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-22* Fixed some behaviors of additional effects (bugreport:3100,bugreport:2661)Inkfish2-75/+85
- Coma can now be blocked by such skills as SafetyWall, Pneuma and Basilica. - Equipment breaking behaves exactly like coma. - Skill's self damage may now causes coma, equipment breaking and autospell/autoscript. - GrandCross now allows you to drain hp/sp. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13800 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-20* Now fiberlocking a fiberlocked target doesn't renew the timer but instead ↵Inkfish5-12/+19
increases its fireweakness [Inkfish] - This makes doublecasting firebolts on a double fiberlocked target having double damage from both 2 bolts possible = =(bugreport:3061) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13799 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-19- Updated NPC_DRAGONFEAR to supposedly behave as it shouldskotlex1-3/+10
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13797 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-19Rigged the r13676 modification of battle_calc_weapon_attack to make neutral ↵ultramage1-3/+3
element reductions work again (bugreport:3097). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13795 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-19Fixed the three hits of EarthQuake not being calculated seperately.Inkfish1-1/+12
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13794 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-19* Miracle should only be dispelled on map change.Inkfish3-6/+6
* The "party invite" and "view equip" state messages are ought to be sent on every map change instead of login. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13793 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-19Fiberlock now can trap multiple enemies on the same cell and its triggering ↵Inkfish1-8/+13
area was reduced to 1x1. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13792 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-19Added missing packet 0x2c9 and fixed 0x2da's length errorInkfish1-3/+21
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13791 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-18* Item-bonuses and NPC skills now use the official default durations for ↵Playtester1-7/+7
status changes - you gain Curse immunity if you have 0 Luk (seems buggy but is official) - our status defense stats are already fully correct :-) - thanks to ultramage for testing this git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13790 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-18status calc code cleanupultramage2-446/+341
* Inverted the status calc code order, so that status_calc_bl optionally invokes status_calc_pc/mob/whatever instead of every status_calc_* calling status_calc_bl. * Inlined functions status_calc_bl_sub_pc, status_calc_bl_sub_hom and status_calc_bl_sub_mer into status_calc_bl. * Restructured status_calc_bl to require as little bl type-specific branching as possible. * Split status_calc_bl into two layers - the inner does the battle status calculations, while the outer deals with running appropriate base status calculations, remembering old values and handling client updates. * The status_calc_bl function is now the single entry-point for all status calculations. * status_calc_bl will now trigger a client update only on attributes that actually changed. * If hp or sp changes during status_calc_bl, it will now properly refresh on the client. * Removed SCB_PC, now SCB_ALL should be used instead. * Revived the unused status calc flag SCB_BASE to indicate that a base status recalculation should be done first (that's what the status_calc_* functions are for). * Defined a new symbolic bitmask SCB_BATTLE (SCB_ALL - SCB_BASE) in case someone needs to only calculate the battle status (currently unused). Please report any issues with this update. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13789 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-17Removed the optional target parameter from atcommand_homshuffle, since the ↵ultramage1-23/+4
standard #-charcommand mechanism exists for this very purpose (code from r9671). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13788 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-17- Fixed a couple of crashes that could ensue from the last memory corruption ↵skotlex1-1/+4
fix to free'ing clones. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13787 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-17* Eske and Eska now affect friendly guardians and slaves. (bugreport:2131)Inkfish1-5/+9
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13786 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-17* Some fixes to the previous commit (apparently it didn't compile with VS 2008)Playtester1-3/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13785 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-17* Monocell, Instant Death and Class Change will now fail on bosses ↵Playtester1-0/+10
(bugreport:2907) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13783 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-15* AutoSpellWhenHit now triggers on normal+skill by default (bugreport:1652)Playtester1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13777 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-15Cleaning/fixing the previous commits a bitultramage6-10/+10
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13775 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-15- Fixed a bunch of invalid memory access bugs as reported by Valgrind.skotlex13-70/+58
- Updated unit_stop_walking to not move character an extra cell when it is already half-way there unless flag 0x4 is passed. (bugreport:3078) - Fixed the monster MD_CASTSENSOR code not correctly setting the monster's aggressive state. - Corrected a few compiler warnings - Changed a bit the code for SC_BOSSMAPINFO so it is not so hideously ugly. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13774 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-15Changed the type of the 'first' parameter of ↵ultramage2-13/+14
status_calc_pc/mob/pet/homunculus/mercenary functions' from integer flag to a simple boolean. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13773 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-15Removed the undocumented custom level feature from monster spawn lines ↵ultramage4-18/+3
(bugreport:3076). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13772 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-14* More logical modifications on skill_additional_effect thing. Thanks to ↵Inkfish4-80/+49
ultramage. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13771 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-13* Sorry for taking 3 steps for this ugly code. Please take it as a ↵Inkfish1-22/+32
compromise since we do not have enough info to emulate how Aegis does. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13769 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-13Fixed effects being applied improperly in some rare cases.Inkfish2-3/+12
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13768 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-13PNEUMA, BASILICA and SAFETYWALL no longer protect you from such negative ↵Inkfish4-88/+118
status changes as COMA, STUN, FREEZE and etc. (bugreport:1346) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13767 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-13* Fixed combo wait was not canceled when Kick skill was successfully used. ↵Inkfish1-0/+2
(bugreport:1345) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13765 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-12- Removed "serial". Sorry i merged from my source.zephyrus1-3/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13763 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-12- Rental items now can be stackable items too.zephyrus8-74/+169
- Added @font command to test kRO fonts. (Client side requires : Langtype 0 / Hex + Fonts Files on the data folder). - Rental now announces with a maximum time to fix a problem with 1 month or more rentals. - Reduced amount of calculations of Flee on map change (only if required). - More security on Rental items. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13761 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-12- Fixed a bug (important on Battlegrounds if you are using then).zephyrus1-15/+19
* A player can do more than 1 damage to a plant per hit, if he equip only one weapon on left hand and keep the right hand clean and receives Weapon Element buff, for example the post effect of Magnum Break. On battleground it means you can destroy quickly crystals and barricades. - Also fixed the extra bonus of the leaf hand, it was using the bonus of the right hand. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13760 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-12* Fixed Aid Potion can heal the Emperium (bugreport:164)Inkfish1-0/+7
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13759 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-12* Removed DEF reduction display when casting GrandCross.Inkfish3-29/+9
- This might not be official and led to repeated calculation. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13758 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-11Fixed Slow Grace decreasing aspd 10x less than it should (bugreport:2480).ultramage1-1/+3
It was a mistake in r12923 where I didn't realize aspd_rate uses a scale of 1000, not 100. This also fixes Slow Grace not factoring in the Dance Lessons bonus (also 10x less than it should be). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13755 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-11* Fixed a crash when mob uses self-destruct skills (bugreport:2568) [Inkfish]Inkfish1-6/+11
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13754 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-10* Fixed the incorrect DEF reduction of Joint Beat (bugreport:3051)Inkfish1-5/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13751 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-10* Magnetic Earth will never stack even if they are from the same ↵Inkfish1-2/+1
team.(bugreport:2568) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13750 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-10* A typo on my last commitInkfish1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13748 54d463be-8e91-2dee-dedb-b68131a5f0ec