2386 Commits

Author SHA1 Message Date
skotlex
99f03f87cc - Fixed HVAN_EXPLOSION (What did I fixed? either it doing no damage, or it giving no exp to the caster, whichever bug was there)
- Frost Nova won't display a nodamage skill packet (still need to sort out a way to fix the splash damaged packets)
- Some cleaning on the timeout code for traps.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8453 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-23 16:12:25 +00:00
toms
cff4864a78 - Fixed a possible SIGSEGV on buildin_maprespawnguildid if the map is unknown
- Added debug on "Inifity loop" to know which script is making this loop


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8451 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-23 13:29:05 +00:00
skotlex
cd5cecdf0f - Adjusted skill_attack_area so that skill_area_temp[1] holds the ID of the target, this way the skill animation will correctly display for the targetted mob, and not the others who get caught in the splash area.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8447 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-23 00:57:21 +00:00
skotlex
98d0cb73fd - Fixed a crash on the mobspawn script command.
- Made SC_FLEET increase batk as well as watk.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8444 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-22 21:26:17 +00:00
toms
fb6029a221 Fixed gcc warning
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8443 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-22 20:26:50 +00:00
toms
da4d239d1f Fixed AM_REST not closing the homunc status window
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8442 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-22 20:10:03 +00:00
toms
34e28b6b16 - Fixed SC_NEN according to Mpeg
- Added a ShowStatus("Terminating...\n") on login-server_sql


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8441 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-22 19:30:27 +00:00
skotlex
c026d4bcac - Some corrections to make Tatami Gaeshi work correctly.
- Fixed SBR44 doing 100% more damage than it should.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8437 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-22 18:39:52 +00:00
skotlex
8a8ed83b63 - Some more work on the splash skill code. Now splash-damaged enemies should show no animation at all, just the damage-number, while only the targetted character should still display the full skill animation.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8436 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-22 17:21:42 +00:00
skotlex
2cf8c82bc7 - Modified the homun-txt file-save format to separate the name from the rest of fields with tabs (like character saving does), this may fix homun save/loading when using non-latin characters on the name, but be warned that it also means the previous homun-data files are lost! (unless you replace the comma before the start of a name with a tab)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8432 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-22 16:05:53 +00:00
skotlex
9f8cee903c - updated (more or less) the sql-files/item_db2.sql file.
- Some insignificant cleanups.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8429 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-22 14:54:29 +00:00
skotlex
d359756066 - getnameditem will now also work on stackable items
- Corrected battle_calc_weapon_attack so that all skills ignore your left-hand weapon, and that the Katar's double-attack damage bonus for the offhand damage applies ONLY on normal attacks.
- Fixed Resurrect Homunculus's % to 20*lv%


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8426 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-22 14:09:01 +00:00
Lupus
6d6d0f4000 more typos
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8422 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-22 11:35:38 +00:00
Lupus
337a5bcaca field typo
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8421 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-22 11:31:54 +00:00
Lupus
796497fae5 added char deletion condition by BaseLevel
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8420 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-22 11:27:48 +00:00
skotlex
30bf9a2b13 - Some more cleaning up of the splash skill code. Now the passed hit value for the splash targetted mobs is 9 instead of 5, this allows multi-hitting splash skills to display the number of hits correctly.
- Also merged Blitz Beat to the rest of the splash code.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8415 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-22 03:30:07 +00:00
toms
a18ae6fb49 Fixed call homunc bug when the homunc was vapo and the master has change of map
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8414 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-21 21:57:56 +00:00
toms
cc6ddef2e4 Fixed SQL-Guild Creation, guild name was escaped 2 times
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8413 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-21 21:44:52 +00:00
skotlex
df20c4e1d2 - Some cleaning of the splash skills. Updated skill-attack to enable again passing of flag 0xF000 which signals that the skill level sent to the client should be -1 (no skill name shouted). Should (hopefully) clear/clean up a bunch of splash damage skill animation-related packets.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8412 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-21 21:35:44 +00:00
skotlex
8ce99cc52d - Homun saving won't cap hp/sp to max hp/sp since a homun can have higher hp/sp than the one stated in the db (due to skill bonuses or status changes)
- Increased splash range of HVAN_EXPLOSION to 4.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8411 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-21 19:53:03 +00:00
skotlex
2fa44057cb - Cleaned up some more the regen_data structure, so that skill/sitting-skill related data is optional (since only players have it).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8410 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-21 19:36:13 +00:00
toms
9788569dae Fixed AM_RESURRECTION, thanks to RockmanEXE for %HP values
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8409 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-21 19:33:51 +00:00
toms
6dfd77c8f5 Fixed HAMI_CASTLE, HAMI_DEFENCE & HLIF_AVOID
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8408 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-21 18:46:08 +00:00
skotlex
200813da7e - Adjusted Glittering's success rate to 20+10*lv%
- Corrected isequipped() so that cards will not be tagged as "used up" unless all the specified items were found.
- Fixed a confusion in skill_attack using the src instead of dsrc for some calls, which was causing some problems with the KAITE check from AoE spells.
- Fixed ASC_BREAKER's misc damage part not having the ignore-element flag set.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8406 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-21 17:55:19 +00:00
skotlex
03601f28fc - Added BL_HOM handling to battle_gettarget.
- Some cleaning in skill.c in regard to homun skills.
- Madness Canceller now stacks with other aspd bonuses, just like Berserk does.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8403 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-21 16:39:14 +00:00
skotlex
fd6e193e90 - Removed config setting "muting_players", and expanded the manner_system config to specify how having negative manner (mute) affects a player (see battle/misc.conf).
- Expanded the pk_mode setting from no/yes to 0/1/2. 1 is normal pk_mode, if 2 is used, it makes killing players give you a loss of 5 manner points.
- Fixed WS_WEAPONREFINE always failing when at less than job 50.
- Fixed a compilation warning in char-txt/int_homun.c


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8402 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-21 16:07:50 +00:00
skotlex
cb54955cc4 - Fixed the Autosave routine not working when there's only one player online.
- Disabled command @rain since the client no longer supports it anyway.
- Fixed delitem not checking for the first slot's card, also optimized it so that it doesn't checks on the other slots.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8399 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-21 14:05:24 +00:00
skotlex
05a17d8570 - Added a check during mob_db loading so that the six basic stats, max hp and max sp are never below 1, as this could cause crashes when using certain skills.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8393 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-20 21:57:54 +00:00
skotlex
68df921a84 - Gravitation now only blocks the caster from using potions.
- Corrected Madness Canceller not letting you walk while the effect lasts.
- Splitted yet again ASC_BREAKER into a two-part attack. This time the int-based damage is a MISC type attack, and gets reduced by skills as such.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8392 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-20 21:38:02 +00:00
toms
5dffc4b45e Fixed "int format, long unsigned int arg" warning
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8391 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-20 20:56:08 +00:00
toms
b1227ed363 Fixed a warning when using cap_value(x, 0, x) on an unsigned value
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8388 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-20 20:39:56 +00:00
toms
e67db33d16 - Added clif_skill_fail for homunc to skill_castend_id & skill_castend_pos ('skill has failed' will may be appear 2 times)
- Fixed homunc skill 8016 not considered as homunc skill


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8386 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-20 20:24:13 +00:00
skotlex
cb1a6f5bf0 - @useskill will now cause your homun to use the skill instead of you if the skill is a Homun skill and you have an active homunculus.
- Some cleanups...


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8383 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-20 20:01:07 +00:00
skotlex
4211b1533a - Reduced the Success Chance of GS_FLING to 10+10*lv% (Playtester told me that Vicious told him the chance was much lower like that)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8379 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-20 19:27:41 +00:00
toms
96c1fe1903 - Fixed some Homunc issues with HR servers (capping some values)
- Added @hominfo command to obtain real values (not capped ones)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8378 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-20 18:54:18 +00:00
toms
a2f9e1bd0a - Fixed @homlvup bug
- Fixed AM_REST & AM_RESU consumming SP if they fail
- Fixed homunc spawning bug

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8375 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-19 21:04:17 +00:00
skotlex
7a37455dbb - Fixed GS_GROUNDDRIFT
- Increased chance of GS_DESPERADO connecting to 20%


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8373 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-19 20:42:35 +00:00
skotlex
78296c878c - Fixed battle_calc_base_damage being called for the left hand even for 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://svn.code.sf.net/p/rathena/svn/trunk@8370 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-19 19:25:41 +00:00
skotlex
3a2a32f22b - Fixed job-mask 0x100000 in the item_db enabling Dancers/Bards to use the items (0x80000 should be for them and 0x100000 should be currently unused)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8368 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-19 18:58:45 +00:00
toms
f4beef8924 Fixed a possible sigsegv when deleting lif under Mental Change
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8367 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-19 18:08:35 +00:00
toms
07365afd80 Fixed HAMI_CASTLE
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8366 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-19 16:57:03 +00:00
toms
29d910ea6e - Updated NJ_BAKUENRYU skill tree
- Fixed HLIF_CHANGE skill


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8365 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-19 15:35:11 +00:00
toms
65e64be50a Updated HLIF_BRAIN skill
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8363 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-19 13:01:08 +00:00
toms
11a6e167d4 Fixed homunculus intimacy on feeding
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8362 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-19 12:24:32 +00:00
toms
066765b702 Added homunculus_friendly_rate battle config
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8361 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-19 11:32:41 +00:00
toms
e5b6eea02c Some compilation warnings fixed
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8360 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-19 10:38:14 +00:00
toms
8c79b21151 - Added skill's required item check on homunc skills
- Add Condensed Red Potion as a required item for HLIF_HEAL

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8359 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-19 09:45:11 +00:00
toms
656b72b31c Little code cleanup on last fix
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8356 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-18 21:42:53 +00:00
toms
ae81bd6663 - Fixed HLIF_HEAL healing the homunc instead of the master
- Fixed HLIF_AVOID not increasing walk speed of master

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8355 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-18 21:23:12 +00:00
skotlex
56cb3651d6 - Fixed the atk_rate (Turtle General Card) bonus not working on dual-wielders.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8354 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-18 21:15:06 +00:00