summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-05-19Fixed the three hits of EarthQuake not being calculated seperately.Inkfish3-2/+14
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.Inkfish4-6/+7
* 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 ↵Inkfish3-9/+15
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 errorInkfish2-3/+23
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 ↵Playtester4-16/+19
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 cleanupultramage3-446/+353
* 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)Inkfish2-5/+10
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-17Updated walk speed and aspd of Okolnir mobs, also fixed the flower mob modes.L0ne_W0lf2-6/+7
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13784 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-17* Monocell, Instant Death and Class Change will now fail on bosses ↵Playtester2-0/+12
(bugreport:2907) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13783 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-17* First round of bug fixes for the Okolnir scripts. (bugreport:3085)L0ne_W0lf11-193/+256
- Fixed two spawn locations of the key stones in Piamete's room. - Fixed calling an event that doesn't exist when killing Piamete. - Fixed the Wish Maiden not enabling when the boss is killed. - Fixed two NPC named that were missed when translating. - Fixed Dialog that was overlooked in some files and not others. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13782 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-16Falicious Okolnir update - Brynhild creation quest. Basic unoptimized version.L0ne_W0lf7-0/+16393
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13781 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-16* Falicious Okolnir update - Asprika creation quest. Basic unoptimized version.L0ne_W0lf6-0/+16392
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13780 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-16*Minor database updates related to the Falicious Okolnir dungeon.L0ne_W0lf3-3/+10
- Corrected the names of Andvari's Ring and Valkyrie's Token. - Added Crystal_Key and Valkyrie's_Gift item_trade restrictions. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13779 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-15* Removed custom behavior on some AutoSpellWhenHit bonusesPlaytester2-4/+6
- they now use aegis default activation (SHORT+LONG+WEAPON+NORMAL+SKILL) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13778 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-15* AutoSpellWhenHit now triggers on normal+skill by default (bugreport:1652)Playtester2-2/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13777 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-15* Added graphical effects to bonusautoscripts of Bloody Eater and Atroce CardPlaytester2-2/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13776 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 ↵ultramage5-18/+6
(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 ↵Inkfish5-84/+57
ultramage. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13771 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-13* Fixed activation rates on Bloody Eater and Violet FearPlaytester2-5/+9
- Bloody Eater is 0.1% activation for 5 seconds - Violet Fear is 3% chance to activate Meteor Storm and 5% chance to activate Frost Nova - also added official activation rate information on unimplemented status changes in the changelog git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13770 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 ↵Inkfish5-88/+119
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. ↵Inkfish2-0/+4
(bugreport:1345) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13765 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-12* Completely rescripted the DTS warp service based on the aegis 11.3 file.L0ne_W0lf4-868/+1381
- Updated F_ClearGarbage to erase obsolete DTS player variables. - Moved Cool Corp. Staff NPCs to Lighthalzen (cities/lighthalzen.txt.) - Now everyone can enjoy the global broadcast "every-hour-nag" to vote! - Note: Upon loading ALL prior DTS global variables are erased. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13764 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 font items.zephyrus1-27/+28
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13762 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)Inkfish2-0/+9
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-12* SG_WARM no longer ignores FLEE by default. (bugreport:3038)Inkfish2-4/+6
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13757 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-12- Fixed double-quotes not being escaped in the custom xmas_rings_event. ↵brianluau4-5/+9
(bugreport:2546) - Renamed an OnClock label so it's consistent with the other castles. (bugreport:2831) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13756 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]Inkfish2-6/+13
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13754 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-11Fixed a couple mistakes in r13752, extra commas at the end a couple lines, ↵L0ne_W0lf2-4/+6
and missing quotes around an AL_HEAL. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13753 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-11* Updated pet database.L0ne_W0lf2-57/+85
- Defined the header for the pet database. Lordy was this not fun. - All pets now walk at character speed (150), but do not inherit bonuses from owner. - All pets have the same hungrydelay, and will lose hunger at 80 points per 60 seconds. - Corrected capture success rates for Alice, Zealotus, and the goblin pets. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13752 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-10* Fixed the incorrect DEF reduction of Joint Beat (bugreport:3051)Inkfish2-6/+5
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 ↵Inkfish2-2/+3
team.(bugreport:2568) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13750 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-10Osiris now summons the correct amount of Ancient Mummies at the right slave ↵L0ne_W0lf2-2/+4
number (Partial revert of r7010.) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13749 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
2009-05-10* Now if an NPC is unloaded, only the timer of the player attached to this ↵Inkfish1-3/+6
npc will be deleted. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13747 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-09* Fixed NPC timer errorsInkfish1-16/+18
- ted->rid is not initialized for global timer - timer_id is not set to INVALID_TIMER when timer is deleted - run script after next event is arranged git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13746 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-09* Fixed GX's skill level modifier is missingInkfish2-1/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13745 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-09* Fixed some known and unknown player attached NPC timer problemsInkfish3-89/+135
- Attached timer now can be stopped properly. - Attached timer will now stop if the NPC is unloaded. (bugreport:2510) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13744 54d463be-8e91-2dee-dedb-b68131a5f0ec