3974 Commits

Author SHA1 Message Date
skotlex
abdabdde14 - Fixed a sad crash in the login-txt server. Thanks to Flavio JS for pointing it out.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8352 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-18 20:35:14 +00:00
skotlex
397c92b0df - Figured out a better way to make TATAMIGAESHI attack only on the instant it is placed down.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8350 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-18 17:13:33 +00:00
skotlex
91b9fed6e3 - Made HLIF_HEAL a self skill that auto-selects target to caster's master.
- 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://svn.code.sf.net/p/rathena/svn/trunk@8349 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-18 16:43:20 +00:00
Playtester
bf7f390ac9 Fixed Kouenka not having an aftercast delay on levels greater 1
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8348 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-18 16:16:11 +00:00
toms
2b1435f36e Applied Mpeg's work on ninja (http://gpegon.free.fr/ea/ninja_08-18-06_mpeg.txt)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8347 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-18 15:22:24 +00:00
toms
f07bb1871a Fixed @homlvup
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8346 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-18 15:03:26 +00:00
skotlex
c3baf09f47 - Reverted the battle_config regen settings from unsigned int to signed int. 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://svn.code.sf.net/p/rathena/svn/trunk@8343 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-18 14:35:19 +00:00
skotlex
64b38ba4b7 - Added guild_aura (skill.conf) setting so you can specify when it works and if it works on the guild-master itself. Defaults to working all the time on everyone except GM.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8342 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-18 14:26:26 +00:00
toms
70f4570b81 - Little code cleanup
- Cleaned merc_hom_evolution to avoid free'ing/realloc'ing
- Fixed "args of aFree is freed pointer" on Homunc deletion


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8341 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-18 14:15:49 +00:00
skotlex
b5508efe38 - Changed unit_free so that it receives which cleartype should be used when 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://svn.code.sf.net/p/rathena/svn/trunk@8339 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-18 13:49:24 +00:00
toms
a202caf152 Fixed signed/unsigned comparison issues with natural heal system
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8337 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-18 09:18:38 +00:00
skotlex
6babc24b69 - Vaporize will no fail when the homun is dead.
- 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://svn.code.sf.net/p/rathena/svn/trunk@8335 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-18 02:04:25 +00:00
skotlex
d91a956aee - Applied use of structure regen_data for a unified regen module. Natural 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://svn.code.sf.net/p/rathena/svn/trunk@8334 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-18 01:57:08 +00:00
toms
7118a90428 Changed AM_CALLHOMUN Skill to spawn the homunc at 1 cell from his master (forgot to add this in Changelog)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8333 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-17 23:37:05 +00:00
evera
c1990c2a4a oops, forgot header update
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8331 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-17 23:26:39 +00:00
evera
e109a24e82 fixed kellasus giving extra skills in bio ethics
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8330 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-17 23:25:34 +00:00
Playtester
592cf6ab28 * Gospel can't stack anymore
* Updated SQL files

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8328 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-17 23:15:30 +00:00
toms
ed8b093cc2 - Corrected map_random_dir algorithm
- Fixed homunc natural heal and little code cleanup

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8327 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-17 22:38:25 +00:00
skotlex
6a8503e7b1 - Fixed being unable to recast Adrenaline Rush to reset the duration timers.
- 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://svn.code.sf.net/p/rathena/svn/trunk@8323 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-17 00:38:19 +00:00
skotlex
b25cc06a43 - Cleaned up skill_get_range2 so that using range 0 for non-self skills uses the caster's attack range.
- Fixed AM_CALLHOMUN checking for an embryo when you have a vaporized homun.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8322 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-16 20:50:23 +00:00
skotlex
00f4aecb26 - Added support for hexadecimal values in the const.txt file.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8321 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-16 20:13:19 +00:00
skotlex
1079f53d4c - Spirit of Wizard will now consume an item 7321 each time it blocks 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://svn.code.sf.net/p/rathena/svn/trunk@8320 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-16 19:50:52 +00:00
skotlex
7d04689685 - Fixed null-pointer crash on Evolving a homunculus.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8319 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-16 18:23:28 +00:00
skotlex
04d969e781 - @produce now can make any kind of equipment
- 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://svn.code.sf.net/p/rathena/svn/trunk@8318 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-16 16:31:30 +00:00
skotlex
7cd73fc68b - Updated mob_ai so that mobs will use their rude-attacked skill when they 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://svn.code.sf.net/p/rathena/svn/trunk@8316 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-16 14:37:00 +00:00
skotlex
4e32d21c17 - Now arrow-consuming skills where your main weapon is a whip or musical 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://svn.code.sf.net/p/rathena/svn/trunk@8315 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-16 14:12:01 +00:00
Playtester
53102aee4e Added WE_CALLBABY to Gunslinger and Ninja
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8312 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-16 08:54:42 +00:00
Playtester
ad0344c638 Fixed various bullets, spheres and kunais
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8311 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-16 08:41:10 +00:00
Playtester
fc57628e5c NJ_NEN now requires a Fang
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8310 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-16 07:21:25 +00:00
skotlex
02c448cc45 - Moved the deletion of timers from unit_remove_map to the homun vaporize/dead routines since unit_remove_map is also invoked whenever you warp or change maps.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8309 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-15 23:39:12 +00:00
skotlex
5c44979d67 - Applied multiple fixes which should take care of making homun save/load 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://svn.code.sf.net/p/rathena/svn/trunk@8308 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-15 23:30:48 +00:00
toms
2f858a5ea7 Delete homunc's skills from sql when the homunc is destroyed
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8307 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-15 23:05:29 +00:00
Playtester
7570ace103 * Fixed disarm not working
* Fixed duration of Gatling Fever

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8306 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-15 22:59:26 +00:00
toms
7110f02479 Homunc Timers should be disabled when the homunc is vaporized or dead an re-enabled on call/resu
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8305 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-15 22:30:10 +00:00
skotlex
b7ef9a3032 - Updated vc-project files to compile with the new int_homun files.
- Hopefully fixed the crash when using charsave_method = 1


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8302 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-15 21:25:52 +00:00
skotlex
ee8298bb8a - Cleaned up some of the pet related @/# commands, same for some script 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://svn.code.sf.net/p/rathena/svn/trunk@8301 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-15 21:12:45 +00:00
skotlex
80ded70c4f - Fixed the int_homun.c compilation issue with Char-SQL.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8300 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-15 19:56:11 +00:00
skotlex
c16d90c8a3 - Some cleanup of int_homun.c
- 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://svn.code.sf.net/p/rathena/svn/trunk@8299 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-15 19:44:22 +00:00
Playtester
f380d9b708 Added Ammo Dealer Tony
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8298 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-15 18:31:37 +00:00
skotlex
3a6cea35b4 - Added a crash-fix on status_calc_bl_sub_homun to abort in case the homun 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://svn.code.sf.net/p/rathena/svn/trunk@8296 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-15 17:57:44 +00:00
skotlex
a18db9e79f - Updated the char save structure for char-TXT servers so that the homun id 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://svn.code.sf.net/p/rathena/svn/trunk@8295 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-15 17:47:44 +00:00
skotlex
baee95996c - Added SCB_DYE which marks which status-changes need a forced cloth dye change to 0 due to sprite issues. Currently only NJ_BUNSINJYUTSU's status uses it.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8293 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-15 15:42:55 +00:00
skotlex
9c6d56be63 - Asura Strike now moves you to the target on fail always (unless the target 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://svn.code.sf.net/p/rathena/svn/trunk@8292 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-15 15:26:51 +00:00
Playtester
b8b57f9c39 Made Kiel MVP's skills non-cancelable
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8291 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-15 14:35:27 +00:00
Playtester
13b1fd6ecd * Fixed some parts of the Gunslinger gun quests
* Added Ammo Casing Seller Kenny
* Added Holy Arrow Quivers to Inventor Jaax

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8290 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-15 14:17:23 +00:00
toms
92aca761ba Fixed SIGSEGV with homunc save
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8288 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-15 12:02:00 +00:00
Playtester
eec1d4425e * Added all the Gunslinger gun quests
- sphere creation and ammo casing are still missing, working on it
- removed erKURITA's version, he's okay with it

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8287 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-15 11:57:43 +00:00
Playtester
dd40d4ff2f Fixed Masamune and Kamaitachi using bAspd rather than bAspdRate
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8285 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-15 08:43:58 +00:00
evera
8115f9db06 Various changes in other/dts_warper.txt:
Uses new global var $dtsday to count voting sessions 
Bug fix for a bug involving both warpers being activated at the same time
Need bug testers for these fixes before stable merge

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8284 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-15 05:37:38 +00:00
evera
3cef575197 updated header of other/Global_Functions.txt
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8282 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-15 03:59:59 +00:00