summaryrefslogtreecommitdiff
path: root/src/map
AgeCommit message (Collapse)AuthorFilesLines
2006-08-19- Fixed GS_GROUNDDRIFTskotlex1-1/+5
- Increased chance of GS_DESPERADO connecting to 20% git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8373 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-19- Fixed battle_calc_base_damage being called for the left hand even for ↵skotlex1-6/+15
non-dual-wielding attacks. left-hand damage was being set to 0 later anyway, so no exploit existed. - Moved the weapon_atk_rate bonus to battle_calc_base_damage so that it'll apply correctly when dual-wielding different types of weapons. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8370 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-19- Fixed job-mask 0x100000 in the item_db enabling Dancers/Bards to use the ↵skotlex1-2/+3
items (0x80000 should be for them and 0x100000 should be currently unused) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8368 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-19Fixed a possible sigsegv when deleting lif under Mental Changetoms1-1/+0
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8367 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-19Fixed HAMI_CASTLEtoms1-2/+13
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8366 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-19- Updated NJ_BAKUENRYU skill treetoms3-4/+8
- Fixed HLIF_CHANGE skill git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8365 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-19Updated HLIF_BRAIN skilltoms1-3/+6
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8363 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-19Fixed homunculus intimacy on feedingtoms1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8362 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-19Added homunculus_friendly_rate battle configtoms3-1/+6
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8361 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-19Some compilation warnings fixedtoms3-3/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8360 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-19- Added skill's required item check on homunc skillstoms1-7/+41
- Add Condensed Red Potion as a required item for HLIF_HEAL git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8359 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-18Little code cleanup on last fixtoms1-9/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8356 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-18- Fixed HLIF_HEAL healing the homunc instead of the mastertoms2-1/+6
- Fixed HLIF_AVOID not increasing walk speed of master git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8355 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-18- Fixed the atk_rate (Turtle General Card) bonus not working on dual-wielders.skotlex1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8354 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-18- Fixed a sad crash in the login-txt server. Thanks to Flavio JS for ↵skotlex1-1/+1
pointing it out. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8352 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-18- Figured out a better way to make TATAMIGAESHI attack only on the instant ↵skotlex1-14/+8
it is placed down. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8350 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-18- Made HLIF_HEAL a self skill that auto-selects target to caster's master.skotlex6-29/+68
- Implemented SC_BLOODLUST and SC_CHANGE, cleaned up HLIF_CHANGE - Applied a correction to HVAN_EXPLOSION - Fixed Homun ASPD calculation being able to underflow and give you min speed. - Added monster_ai&128 to make aggressive mobs ignore that behaviour of always picking Homun targets above player targets regardless of who is closer. - Fixed homun info packet being unable to display HP/SP correctly once the values are above 32k. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8349 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-18Applied Mpeg's work on ninja (http://gpegon.free.fr/ea/ninja_08-18-06_mpeg.txt)toms2-11/+22
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8347 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-18Fixed @homlvuptoms1-4/+8
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8346 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-18- Reverted the battle_config regen settings from unsigned int to signed int. ↵skotlex2-5/+3
The battle config reading code can only handle two types of settings: signed ints and unsigned shorts, you'd have to mess up with it if you want to add more types. - Removed the delayed start effect of Gospel from the code since it should take effect as soon as it's placed down. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8343 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-18- Added guild_aura (skill.conf) setting so you can specify when it works and ↵skotlex4-2/+13
if it works on the guild-master itself. Defaults to working all the time on everyone except GM. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8342 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-18- Little code cleanuptoms6-23/+24
- Cleaned merc_hom_evolution to avoid free'ing/realloc'ing - Fixed "args of aFree is freed pointer" on Homunc deletion git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8341 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-18- Changed unit_free so that it receives which cleartype should be used when ↵skotlex10-31/+30
the character is still on a map. Used this on status_damage so that mobs that do not respawn when killed will properly display the death animation. - Should have fixed the signed/unsigned comparison warnings in the main regen function. - Fixed Energy Coat consuming 10x less SP per hit than it should. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8339 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-18Fixed signed/unsigned comparison issues with natural heal systemtoms1-3/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8337 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-18- Vaporize will no fail when the homun is dead.skotlex3-14/+17
- Corrected thhe double free issue that occurs when a homun dies and has no intimacy left. - Fixed the charsave_method:1 saving/loading exp as signed ints rather than unsigned. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8335 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-18- Applied use of structure regen_data for a unified regen module. Natural ↵skotlex9-624/+503
and skill-heal is handled by this structure, while sitting-skill-heal is still player dependant (mostly because the other object types can't sit) - Added SCB_REGEN constant to identify status changes which alter regeneration - Modified SC_REGENERATION so that if val4 is set, the status actually blocks regen rather than increase it, this is what now Frenzy uses instead of "canregen_tick" - Cleaned up the status calc code for homun by moving it from status_calc_bl_sub_homun to status_calc_homun (where it should had always been) - Moved the Fleet watk code to status_calc_watk where it belongs. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8334 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-17- Corrected map_random_dir algorithmtoms5-100/+23
- Fixed homunc natural heal and little code cleanup git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8327 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-17- Fixed being unable to recast Adrenaline Rush to reset the duration timers.skotlex2-6/+34
- Added structure regen_data to handle unified regen logic for bl objects. Eh... this is wip, so it isn't used yet, just the preliminar structure is there... (somehow I lost all other progress I had done on it x.x) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8323 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-16- Cleaned up skill_get_range2 so that using range 0 for non-self skills uses ↵skotlex1-12/+3
the caster's attack range. - Fixed AM_CALLHOMUN checking for an embryo when you have a vaporized homun. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8322 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-16- Added support for hexadecimal values in the const.txt file.skotlex1-5/+6
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8321 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-16- Spirit of Wizard will now consume an item 7321 each time it blocks ↵skotlex2-2/+18
reflected magic. - Added script command jobname, retrieves a given's class name as per the appropiate msg_athena.txt entry (this command should had been added years ago) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8320 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-16- Fixed null-pointer crash on Evolving a homunculus.skotlex1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8319 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-16- @produce now can make any kind of equipmentskotlex5-16/+15
- Fixed a warning on the mob_ai - Made HLIF_AVOID and HAMI_DEFENCE cause the status change on both caster and target. - AM_REST shouldn't be checking for a range now (since it's a self skill) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8318 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-16- Updated mob_ai so that mobs will use their rude-attacked skill when they ↵skotlex1-2/+3
can't reach their current target. - Fixed the default txt config making pets be saved to the homun file instead of to the pet file. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8316 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-16- Now arrow-consuming skills where your main weapon is a whip or musical ↵skotlex4-13/+8
instrument WILL count as arrow-type attacks, using the atk of the arrow and all related bonuses. - Fixed some homun timer initialization code. - Some cleanups on the pet.c code, but no idea if pet view will work correctly now. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8315 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-15- Moved the deletion of timers from unit_remove_map to the homun ↵skotlex2-3/+7
vaporize/dead routines since unit_remove_map is also invoked whenever you warp or change maps. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8309 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-15- Applied multiple fixes which should take care of making homun save/load ↵skotlex3-22/+17
work on TXT now. - Added Gatling Fever's batk bonus. - Some cleaning in status_damage which should prevent trying to free already free'd pointers when unit_remove_map invokes unit_free (when status_damage was going to invoke unit_free anyway) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8308 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-15Homunc Timers should be disabled when the homunc is vaporized or dead an ↵toms3-14/+20
re-enabled on call/resu git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8305 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-15- Updated vc-project files to compile with the new int_homun files.skotlex2-3/+8
- Hopefully fixed the crash when using charsave_method = 1 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8302 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-15- Cleaned up some of the pet related @/# commands, same for some script ↵skotlex10-254/+248
commands. - Moved s_pet structure from map_session_data to pet_data, this enabled the removal of a few redundant values in the pet_data structure (name, class, equip) - Pet offensive skills who's inf value is self will be casted on the pet now (for stuff like Grand Cross) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8301 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-15- Some cleanup of int_homun.cskotlex2-5/+4
- Added homun saving/loading support to char-TXT. Note that this is completely untested, so it may be as good as broken. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8299 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-15- Added a crash-fix on status_calc_bl_sub_homun to abort in case the homun ↵skotlex1-0/+3
has no master (need to clean up this function later) - Tested char-txt load/save, it seems to be working fine. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8296 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-15- Updated the char save structure for char-TXT servers so that the homun id ↵skotlex2-5/+5
will be saved, now also the map info (last point, save point, memo maps) are now saved using the mapindex rather than the string. BACKUP BEFORE UPDATING since this code isn't yet tested. - Cleaned up a bit the char-saving code, added overflow crash prevention in case there are more memos than the max-allowed saved. - AM_CALLHOMUN can now be used to recall vaporized homuns. - AM_RESURRECTHOMUN will now fail when the homun is vaporized. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8295 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-15- Added SCB_DYE which marks which status-changes need a forced cloth dye ↵skotlex2-13/+21
change to 0 due to sprite issues. Currently only NJ_BUNSINJYUTSU's status uses it. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8293 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-15- Asura Strike now moves you to the target on fail always (unless the target ↵skotlex5-79/+89
does not exists or is in another map or there's a obstacle on the way) - Corrected skill_attack_area hitting dead characters on it's splash range. - Swapped the values for OPTION_XMAS and OPTION_FLYING. This should enable SG to show the fly animation again, even if sometimes others will see him as Santa. As for xmas cloth, it shouldn't make much of a difference since the view class is changed to christmas anyway. - Moved the AM_CALLHOMUN code from castend_id to castend_pos. - Made AM_CALLHOMUN and AM_RESURRECTHOMUN be like the wedding skills, where they automatically pick a spot around you. - Cleaned up some the AM_RESURRECTHOMUN code. Hopefully it works now. - Cleaned up some the hom evolution code. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8292 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-15Fixed SIGSEGV with homunc savetoms1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8288 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-14- Removed support for negative autosave intervals, instead added a ↵skotlex3-11/+12
minsave_interval setting which specifies which is the minimum time between character saves. Default to 100ms (map_athena.conf). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8280 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-14- Sacrifice no longer shows damage to self.skotlex7-150/+128
- When Asura fails, the skill display will still come off. - Cleaned up AM_CALLHOMUN so that the required item is specified on skill_require_db - Cleaned up function merc_call_homun and added function merc_hom_vaporize to handle the respective cases. - Cleaned up a bit unit_remove_map/unit_free on regards to homun. it will display the /sob emotion when the homun dies due to low intimacy. Moved removal of timers and all that to unit_free - Cleaned up function merc_hom_dead - Simplified lots of code around by using the new merc functions. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8279 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-14- Some cleaning of skillnotokskotlex1-19/+17
- Corrected emergency_call setting to not use map_flag_gvg define, since the setting already has woe on/off restriction bits. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8276 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-14- Increased Run's walk speed bonus to 25->50% skotlex3-26/+25
- Modified emergency_call setting to allow for more specific configuration (woe/non-woe, gvg-grounds/non-gvg-grounds, disable from nowarpto maps), see skill.conf for details. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8275 54d463be-8e91-2dee-dedb-b68131a5f0ec