4465 Commits

Author SHA1 Message Date
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
evera
ee6ce16a4e fixed bug in bio labs quest
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8281 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-15 03:52:57 +00:00
skotlex
c182e64c0d - Removed support for negative autosave intervals, instead added a minsave_interval setting which specifies which is the minimum time between character saves. Default to 100ms (map_athena.conf).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8280 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-14 20:14:58 +00:00
skotlex
6e5a887656 - Sacrifice no longer shows damage to self.
- 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://svn.code.sf.net/p/rathena/svn/trunk@8279 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-14 19:48:16 +00:00
Playtester
c8198b8ea7 Updated mob stats according to official kRO website
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8278 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-14 18:31:13 +00:00
Playtester
9ee30e13ee Fixed attack power of Dusk
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8277 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-14 17:21:43 +00:00
skotlex
2705daec74 - Some cleaning of skillnotok
- 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://svn.code.sf.net/p/rathena/svn/trunk@8276 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-14 16:37:41 +00:00
skotlex
41f2f3ca40 - Increased Run's walk speed bonus to 25->50%
- 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://svn.code.sf.net/p/rathena/svn/trunk@8275 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-14 16:30:14 +00:00
skotlex
78475ffd1a - Fixed script engine allowing scripts to set a player's zeny to negative values.
- Fixed setting hide_woe_damage making even "miss" attacks seem to connect.
- Cleaned up pc_getzeny to not require doubles.
- When readjusting the fame-list, the last entry's id is also reset (may fix characters appearing more than once on it?)
- Some sign/unsigned comparison warning fixes.
- Some 'may be used unitialized' warning fixes.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8273 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-14 14:54:14 +00:00
Playtester
fd8b27f8ce Fixed 2006 headgears npc giving you Lion Mask rather than Lion Masquerade
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8270 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-14 12:16:21 +00:00