summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2006-05-30- Fixed underflow issues when calculating dmotion.skotlex2-6/+6
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6860 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-30- Fixed Absorb Spirit Spheresskotlex8-11/+47
- Added battle_config min_chat_delay (default 0) specifies in ms what is the min delay between player sent chats (whisper/global/party/guild). Messages that exceed this threshold are silently ignored for now (perhaps need to add a "DON'T SPAM" reply to the player?) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6859 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-30* [Fixed]: Lance2-2/+4
- signed/usigned problem in sprintf and fscanf @ mercenary.c git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6858 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-30- Rewrote/cleaned up @petfriendly.skotlex4-44/+17
- Cleaned up final part of status_calc_pc (flags 2/4 do not exist) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6857 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-30- Updated attr_fix_table reading code to account for ELE_MAX (will correctly ↵skotlex5-50/+94
read bigger elemental tables if ELE_MAX is changed) - Aggressive mobs will now use battle_check_range rather than mob_can_reach to decide whether to lock-on or not to a target within sight-range. - Added warnings in mob_readdb when the mob's element is invalid. - Updated the corresponding entries in map.h to use ELE_MAX - Added error messages in pc_bonus* functions when an invalid element is passed to the relevant bonuses. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6856 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-30[Optimized]: Lance7-83/+63
- clif_specialeffect to use the enums. [Improved]: - buildin_specialeffect and buildin_specialeffect2 to accept effect area definition. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6855 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-30* [Added]Lance4-1/+9
- Visual Studio .NET 2003 includes for mercenary.c * [Fixed] - Logic error in NPC custom AI in unit.c git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6853 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-30- Removed the on-die specific code from unit_remove_map and placed it on the ↵skotlex8-94/+111
corresponding *_dead functions. unit_remove_map should never assume the char died, it is just a "remove from map" function. - Updated status_damage to handle the general death code (clearing status changes, clearing skill related data, sending death packet, etc). The return value from the *_dead functions will tell it what to do or not with the object (death aborted, clear it from map/memory, etc) - Cleaned up pc_dead to take advantage of the fact that status changes are not ended until after the function. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6852 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-30Fixed the Umbala Skeleton GatePlaytester3-4/+6
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6850 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-30Added decending npc to slaves. Custom feature.. nothing much.Lance1-0/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6849 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-30- Fixed sql compilation of mercenary.cskotlex2-18/+23
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6848 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-30- Small optimization in battle_check_targetskotlex13-309/+268
- Disabled ontouch npcs triggering on hidden/chase-walk characters. - Added the SC* code blocks relevant to SC_AVOID, SC_CHANGE, SC_BLOODLUST, SC_FLEET - Added structure status_data to homun_data - Added handling of BL_HOMUNCULUS in status_heal, status_damage. - Cleaned up the homun-submitted code, moved the relevant code to status_calc_homunculus. - Updated map-server Makefile to compile mercenary.* files. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6847 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-30Implemented the Lighthalzen guides, added some missing warps and a tool dealer.MasterOfMuppets6-6/+375
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6846 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-30(I need sleep)Lance1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6845 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-30Final alteration :PLance1-4/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6844 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-30[Corrected]:Lance1-5/+7
- pc.c again (Darn I'm making more mistakes) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6843 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-30[Fixed]:Lance1-1/+1
pc.c to use unit_stop_attack() git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6842 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-30* [Fixed] Lance2-0/+6
- Pets attacking even master is dead git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6841 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-30- Fixed battle_calc_weapon_attack damage capping damage to a minimum of 0 ↵skotlex2-6/+10
(negative values should be allowed when attack is absorbed by target's element) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6840 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-30optimized some quests varsLupus6-24/+32
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6839 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-30[Fixed] Lance2-1/+3
- Missing ';' in item #4358 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6838 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-30[Fixed] Lance2-658/+688
- Missing maps in map index database. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6837 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-30[Fixed] Lance2-3/+5
- Battle mechanics in battle_check_target git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6836 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-30[Fixed] Lance3-7/+10
- Typo in mob_dead causing crash. Thanks to reddozen and his gang for testing. - Compilation warnings git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6835 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-30slot updateVicious2-36/+36
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6834 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-305/30 item updateVicious2-39/+96
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6833 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-30- Changed status_heal and status_damage to receive signed int values. They ↵skotlex4-20/+37
will invoke each other as needed when the passed values are negative. - Updated battle_calc_attack to set atk type to ATK_FLEE and dmotion to 0 when the damage is less than 1 (missed or absorbed) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6832 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-30dts_warper.txtevera2-60/+65
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6831 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-29- Cleaned up friend list saving and fixed loading of friends.txt file (char-txt)skotlex2-51/+13
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6830 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-29Added the Arunafeltz maps, not tested yetPlaytester2-0/+33
- someone with an up-to-date client should test them git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6829 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-29- Fixed pc_gainexp resetting your exp to 0 rather than adding it in... -.-skotlex3-7/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6828 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-29- Corrected aspd calculation code to avoid negative overflows.skotlex2-16/+17
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6827 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-29- Updated max_def parameter to not apply to mdef if magic_defense_type is ↵skotlex4-7/+9
set (rather than weapon_defense_type) - Updated comment description for config setting max_def - Fixed battle_check_target check on BCT_ALL to check versus BL_CHAR instead of BL_PC and BL_MOB git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6826 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-29[Fixed]:Lance2-1/+3
- Declaration of int map_getcellp(struct map_data*,int,int,cell_t); git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6825 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-29- Updated ASC_BREAKER's range to 9.skotlex4-11/+11
- Removed speed penalty from SC_SKA - Fixed SC_SPURT triggering on Soul Linkers. - SC_DODGE won't be dispelled on death now. - Removed Undead being inmune to poison status. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6823 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-29[Fixed]: Lance3-10/+20
- pc_follow_timer possible triggering crash. - pc_reg_received to use battle_status.hp instead of status.hp [Added]: - macro map_id2index for non-cyptic mapid to mapindex conversion. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6822 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-29- Added a division by zero check in mob_dead to prevent the (impossible) ↵skotlex3-8/+12
case where a mob dies with received damage of zero. - Fixed compilation errors with SC_FLING... git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6821 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-29- Modified skill_get_range2 to return range 9 for skills with range 0 for ↵skotlex2-0/+5
Non-Players. This usually signals Self skills, and mobs/pets should be able to use them in other characters. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6820 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-29- Cleaned up some status_get functions.skotlex5-47/+61
- Optimized a bit the SC_PROVOKE code (to use val3/val4) - Fixed draining when the amount drained is negative (invoke zap rather than heal) - Implemented GS_FLING as per the current skill description. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6819 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-29Fixed Green Ale's effect, thanks to NLZ.MasterOfMuppets2-1/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6818 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-29- Fixed pc_readparam/pc_setparam to use battle_status.hp/sp rather than ↵skotlex6-18/+36
status.hp/sp, fixes scripts reading the wrong Hp/Sp values - Added some missing SC_* entries on the initial listing (potion related and speed up ones) - Fixed function declaration of map_getcellp() git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6817 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-29* [Fixed]: Lance3-4/+9
- status.c:920: warning: 'mbl' might be used uninitialized in this function - skill.c:6648: warning: 'matk_min' might be used uninitialized in this function - skill.c:6648: warning: 'matk_max' might be used uninitialized in this function - skill.c:2826: warning: 'sid' might be used uninitialized in this function git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6816 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-29[Optimized ] Lance8-11/+9
Removed unused variable (account_id) in storage_guild_storagesaved. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6815 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-29[Optimized] Lance14-22/+19
- Removed unused checks for unsigned data type and possible logic error for char type (gcc treats char as unsigned). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6814 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-29Jobchanger fixed typos from Theif to ThiefLance1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6813 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-29Cleaned up Changelog (guys don't tidy up much do they? xP)celest2-3650/+3650
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6812 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-29[Fix]: Ressurect instead of making you die again when logging in.Lance1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6811 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-29- Relogging in with 0 HP didn't trigger dead event.Lance3-1/+10
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6810 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-28Implemented a small quest in Einbroch and fixed the name of the spawning ↵MasterOfMuppets3-3/+399
mobsters in Lighthalzen. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6809 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-28- Added functions status_revive, pc_revive and mob_revive to handle revival ↵skotlex12-99/+130
(it doesn't handles player respawning, though) - Corrected alive, raisemap, raiseall to use these functions. - Updated resurrection/mob-kaizel to use status_revive - Added SC_BLADESTOP to the skill enum at the beginning of status.c (fixes Bladestop causing an unknown status change message) - Fixed MSS_DEAD state skills not triggering. - Corrected some compilation warnings on the merc.* files. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6807 54d463be-8e91-2dee-dedb-b68131a5f0ec