summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
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
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 missingInkfish1-1/+1
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 problemsInkfish1-84/+124
- 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
2009-05-07* Lv10 Waterball used by mobs should have 81 balls instead of 121Inkfish1-2/+7
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13741 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-07* Fixed up the base success rate of normal strip skillsPlaytester1-1/+5
- normal strip skills: 5% + 5%*level - Full Strip: 5% + 2%*level git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13740 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-07* Clean up for npc timer codeInkfish2-66/+77
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13738 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-07* Update Waterball code due to info updatedInkfish2-2/+9
* A piece of GX casttime def reduction code I forgot to merge git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13737 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-07* Fixed splash damage from Baphomet Card might miss. [Inkfish]Inkfish4-61/+98
* Check if group unit is expired before processing it. (bugreport:3054) [Inkfish] * Fixed Grand Corss outdated behavior (bugreport:1590) [Inkfish] - use new damage formula - DEF is reduced to 2/3 during cast time - block shields switching within attack duration - monsters don't damage themselves any more - intervals between hits are 300ms git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13736 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-07* Added check on stackable items to 'checkweight' (bugreport:1569, ↵Inkfish2-16/+18
bugreport:2756, bugreport 2994) [Inkfish] * Fixed flee penalty wasn't applied for battleground and wouldn't be restored on map change [Inkfish] git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13735 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-07* Fixed players can pull water from ME cell (follow up to r13730)Inkfish1-24/+12
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13733 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-06- Fixed an uninitialized variable in r13724. (bugreport:3052)brianluau1-0/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13731 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-04* Players now are allowed to copy the skills the level which is beyond the ↵Inkfish2-30/+44
skill_db max. [Inkfish] * Fixed some behaviors for Waterball (bugreport:3024) [Inkfish] - High level Waterball used by players doesn't increase the number of balls. - Monsters can't pull water from cells with Magnetic Earth. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13730 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-04* Added the md5() script command. (follow up to r13719)brianluau2-2/+18
- Changed kafra storage password to be stored as md5 hash in #kafra_code$. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13728 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-03* Block equipments switching for some skills (bugreport:2900)Inkfish4-1/+43
- cannot change equipments during Arrow Vulcan's cast time - cannot change equipments within Desperado's attack duration git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13724 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-03*Sorry, something I forgot to merge from my own code.Inkfish1-0/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13722 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-03* Players now cannot be revived during pvp respawn delayInkfish2-3/+7
* Fix a logical problem on my last commit git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13720 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-03* Fix several npctimer issues (bugreport:1619, bugreport:1730)Inkfish1-55/+66
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13718 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-03* Fix 'awake' not working (bugreport:2580)Inkfish1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13717 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-03* Do not log damage if it's done by mob itself (bugreport:2933) [Inkfish]Inkfish1-0/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13716 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-02svn:eol-style native for char_sql's int_mercenary code (missing in r13166).ultramage2-241/+241
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13715 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-02* Spirit of Bard and Dancer now only works for mastered skills (bugreport:3037)Playtester2-1/+5
- also fixed an outdated comment in the source code git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13714 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-02- Fixed some typos in the script command documentation. (bugreport:2547)brianluau5-8/+8
- Fixed a misleading message in the custom Job Changer. (bugreport:682) - Updated some NPC's facing directions. (bugreport:3030) - Added missing newline in some ShowWarning(). (bugreport:2940) - Fixed SC_BOSSMAPINFO time being off by 1 minutes (bugreport:3035) Now, the seconds are rounded up to the next whole minute. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13713 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-30Added missing case SC_ONEHAND (from r5227) and case SC_MERC_QUICKEN (from ↵ultramage2-66/+104
r13203) to function status_change_start. Added missing case SC_AURABLADE (from r13693) to function status_change_end. Added symbolic names for all OPT3 values and replaced the OPT1/OPT2/OPT3/OPTION defines with corresponding enums. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13709 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-28- Avoid setting the canwalk delay after being hit if the target is already ↵skotlex1-2/+2
unable to move. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13706 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-27* Fixed break equipment debuff working on bosses (bugreport:3023)Playtester1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13703 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-25* Fixed Monster Spiral Pierce not being reduced by Ghostring CardPlaytester1-2/+11
- it is forced neutral as its a MISC skill for monsters and doesn't take weapon element git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13702 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-25* First attempt to fix up the strip skills, please make sure these fixes ↵Playtester2-16/+15
work (bugreport:3011) - the minimum rate of strip skills is now 5% for all levels - duration of strip skills depends on the dex difference between target and caster and can be reduced to 0 - strip skills can now affect bosses (if duration doesn't get reduced to 0 due to their high dex) - strip skills do a fixed -25% ATK, -15% DEF, -40% VIT or -40% INT independant of skill level - autocasting Full Strip has a duration now (if dex is high enough) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13701 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-25Added an int64 typecast to both the acid demonstration equation (which ↵ultramage1-3/+3
couldn't handle 1000-ish stats), and the misc damage reduction code (followup to r13694). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13700 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-25Filled in missing SI_ (status icon) names based on official info.ultramage1-22/+159
This is just for completeness, since nothing will display on the client until icon files are associated with these ids. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13699 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-25Correction to some status icons based on official informationultramage2-19/+38
- Added SI_S_LIFEPOTION and SI_L_LIFEPOTION and their corresponding new status changes to deal with the fact that Small_Life_Potion and Med_Life_Potion each use a different status icon. - Left the duplicate SC_HPREGEN status in fof backwards compatibility, but removed its icon. - Corrected the status icon id for SC_INCCRI from 292 to 295. - Corrected the status icon id for SC_INCHEALRATE from 293 to 292. - Added status icons for SC_INCFLEE2, SC_SPCOST_RATE and SC_COMMONSC_RESIST. - Removed icon from SC_ARMOR_RESIST since officially it is a bonus, not a status, and thus doesn't (and can't) have an icon. - Renamed the status icon name of SC_ELEMENTALCHANGE from SI_ARMOR_RESIST to SI_ARMOR_PROPERTY. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13698 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-24Fixed a small typo I did in my last Spiral Pierce fix, thanks to Inkfish for ↵Playtester1-1/+1
pointing it out (bugreport:3013) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13697 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-24* Lil fix for my last commit. Sorry :)akrus1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13696 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-24Renamed Happy Break's status name from SC_TKREST to SC_EARTHSCROLL, since ↵ultramage3-6/+5
that's its official purpose and it doesn't do anything else. Also removed the associated SI_TKREST since this status doesn't actually have an icon. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13695 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-24* Fixed Acid Demonstration (and probably some other skills) working wrong on ↵akrus1-1/+1
high-rate servers (thanks to [Funt] for the idea) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13694 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-24Filled in missing OPT3 change for LK's Aura Blade.ultramage1-4/+9
Added comments for OPT3 values 0x100 and 0x20000, which are currently unused. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13693 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-23Added length check to functions clif_parse_CreateChatRoom and ↵ultramage2-6/+11
clif_parse_ChatRoomStatusChange (bugreport:2999). This prevents a signed/unsigned integer overflow when calling the safestrncpy function. Also added a note regarding a potential out-of-bounds access issue in these functions. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13690 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-23Fixed several occurences of map_freeblock() being used before map_deliddb() ↵ultramage3-4/+4
(caused by r13503, r13505 and r13508) (bugreport:2959). This would cause object ids (chatrooms / ground items) to never be removed when DEBUG_MEMMGR was turned on, ultimately causing a 'no free object id' fatal error. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13689 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-23Made some adjustments to the land skill code, based on official information:ultramage3-25/+31
- Expanded and corrected the land skill view id enum in skill.h - Renamed UNT_ATTACK_SKILLS to UNT_DUMMYSKILL and UNT_KAENSIN to UNT_KAEN (official terminology) - changed GS_DESPERADO to use the UNT_DUMMYSKILL view id instead of UNT_KAENSIN (and is it supposed to be a land skill at all?) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13688 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-21- Now when the mob picks and attacks a player target, he is added to the ↵skotlex1-0/+3
"log" of attacked chars (counts for the total number of attackers bonus) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13685 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-21Crashfix for negative skill id values (bugreport:2984)akrus1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13684 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-20* Fixed safestrncpy trashing the memory before dst when n == 0. (since ↵FlavioJS2-7/+18
r10667, bugreport:2996) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13681 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-20Adjusted the exploit crashfix from r13678 to abort when invalid input is ↵ultramage1-2/+2
detected. Script text input packets of length 8 are now also invalid since there must be at least a zero byte (end of string) present. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13680 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-17- Critical crash fix. Please update your servers.zephyrus1-0/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13678 54d463be-8e91-2dee-dedb-b68131a5f0ec