2386 Commits

Author SHA1 Message Date
skotlex
90764dcab4 - Fog of Wall won't affect the caster now in any way.
- Added a missing status_calc_mob on mob_spawn_guardian_sub
- Added clif_fixpos packets before attacking for the first time to clear any position sync issues with the client.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6985 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-05 18:35:41 +00:00
skotlex
166265be07 - Fixed skill_unitsetting using layout->count for the for instead of group->count
- Added SC_INCDEXRATE/SC_INCAGIRATE. NPC_POWERUP/NPC_AGIUP now correctly increase dex/agi by 40% per level.
- Fixed char-sql server not deleting character variables


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6984 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-05 17:59:28 +00:00
skotlex
87f9a3668b - Corrected cloaking not ending on attack if you are near a wall.
- Moved define cap_value to map.h as it's quite handy.
- Updated pc_bonus to use cap_value on all status_data modifiers to prevent overflows/underflows.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6979 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-05 15:05:49 +00:00
shadow
966c0e57c0 Fixed @mi/@mobinfo not showing the name collumns correcly
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6974 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-05 08:56:26 +00:00
MasterOfMuppets
300dfd7070 Solved the bug that made firewalls only castable a few times until you relogged. Thanks to Euph for the fix.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6959 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-03 18:25:10 +00:00
skotlex
e62f6cc8f9 - Added variable other_mapserver_count to chrif.c which holds total count of connected map-servers. By using this we prevent sending unnecessary packets to the char-server when there's no more map-servers connected.
- Affected packets are whispers, announces, party messages, guild messages.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6955 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-03 15:48:46 +00:00
skotlex
d75974f962 - Fixed a bug in unit_can_reach_bl which breaks path seeking when the target is near obstacles.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6950 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-02 23:36:13 +00:00
MasterOfMuppets
f4348ee1f4 Updated offensive use of Sanctuary to function like on the official servers.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6946 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-02 19:46:54 +00:00
MasterOfMuppets
902848d1b5 Changed the interval between waterballs from 150 to 250 milliseconds.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6944 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-02 18:51:08 +00:00
skotlex
dc6dd9b533 - Corrected clif_parse_takeitem to ALWAYS return a NAK packet when it fails
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6943 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-02 18:24:29 +00:00
MasterOfMuppets
9acadb7b13 Removed the walk delay from firewall and changed its knockback to 1 tile to make it act more like in the official servers.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6941 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-02 18:14:28 +00:00
skotlex
00082797ae - Some cleaning of the mob slave ai.
- Moved MOB_SLAVEDISTANCE to mob.h
- NPC_CALLSLAVES now uses the slave-distance previously mentioned.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6940 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-02 17:01:44 +00:00
skotlex
cb8cc2d8a7 - Moved setting a mob's level from mob_spawn to status_calc_mob, resetting their level on death has also been removed (as it is handled now on spawn)
- Fixed a bug in status_revive
- Updated Holy Cross, Investigate and Finger Offensive to be usable by all weapons.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6938 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-02 16:27:21 +00:00
skotlex
683b150179 - Corrected Brandish Spear to work on levels above 10.
- Updated Two-HandQuicken, One-HandQuicken to give 30 +2*lv% aspd-rate for skill levels above 10 (meant for boss casted skills)
- Fixed Spear-Quicken messing with the calc_flag


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6936 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-02 16:06:37 +00:00
skotlex
67e11cd25c - Fixed Freeze/Stone/Benedictio not changing your elemental LEVEL to 1.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6931 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-02 13:42:47 +00:00
skotlex
a13c1e1179 - Uncommented the npc_debug_warps code.. oops.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6930 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-02 13:22:58 +00:00
LuzZza
e0ed8401c4 Typo fix.
Added VC6 project files.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6929 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-02 08:32:19 +00:00
Lance
f86847888e git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6927 54d463be-8e91-2dee-dedb-b68131a5f0ec 2006-06-02 03:38:56 +00:00
skotlex
e06f6f83cd - Corrected some signed/unsigned comparisons corrections which were incorrect.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6926 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-02 03:04:42 +00:00
skotlex
86514f550b - Altered status_calc_pc so that equipment scripts are ran before card-scripts.
- Fixed pc_bonus to not underflow/overflow when adjusting def/mdef.
- These two together, should fix Tao Gunka Card.
- npc_debug_warps() will now be invoked if warp_point_debug is set.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6925 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-02 02:51:34 +00:00
Lance
2e4166cbfc [Fixed]
- Yet another compilation warning. 

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6924 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-02 02:23:56 +00:00
skotlex
a06f5ed145 - Updated item_db.sql/mob_db.sql to current.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6922 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-02 00:54:21 +00:00
skotlex
26d39da060 - Fixed being unable to unequip stuff while the storage is open.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6920 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-01 23:19:18 +00:00
skotlex
1018c2c159 - Fixed NPC_SELFDESTRUCTION not showing nor dealing damage.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6919 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-01 23:12:43 +00:00
skotlex
da2ca423f9 - NPC_TRANSFORMATION/NPC_METAMORPHOSIS will now preserve the original mob without removing it when the skill level is greater than one.
- Added SC_DANCING declaration in the Status Change tables to signal it modifies Walk speed.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6918 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-01 21:35:44 +00:00
skotlex
03f8683f8c - Fixed pc_damage setting your canlog_tick even if the damage has no source (eg: poison, berserk)
- Berserk's aspd bonus now stacks with other aspd bonuses, and is unaffected by Quagmire/Forget-me-not.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6916 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-01 21:10:58 +00:00
skotlex
bbe820d3e3 - Corrected setting slaves_inherit_mode to not apply to morphosis skills.
- Added define OPTION_CART which holds the 5 cart option values.
- Corrected pc_setoption to invoke status_calc_pc when getting/removing the cart.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6914 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-01 19:21:04 +00:00
skotlex
0d344b6bb1 - Fixed @mobinfo displaying the wrong element.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6913 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-01 18:52:31 +00:00
skotlex
ceb02645f9 - Fixed Autoblitz taking into account target's luck rather than attacker's
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6910 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-01 17:44:41 +00:00
skotlex
ff4b163da3 - Fixed slaves warping endlessly to their master when the master-slave distance exceeds 30.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6909 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-01 15:03:48 +00:00
skotlex
ee005cf409 - SC_ORCISH will now be dispelled on logout (if debufF_on_logout is set)
- Removed attackrange/attackrange_ from TBL_PC, corrected clif.c using the incorrect range variable.
- You can now equip/unequip stuff while the storage is open.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6908 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-01 14:32:13 +00:00
skotlex
c3b4139505 - Fixed Soul Drain not really giving you SP
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6907 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-01 04:00:38 +00:00
Lance
b3bf8b2464 [Fixed]:
- Suppressed compilation warning in chrif.c 

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6906 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-01 02:59:03 +00:00
Lance
8686c24f90 [Fixed]:
- Guys can't go across map-servers :( Thanks to Buuyo^

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6905 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-01 01:55:35 +00:00
Lance
26e1b07f72 [Fixed]:
- Restoration and saving of sd->npc_id must be done every time. 

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6904 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-01 00:50:22 +00:00
skotlex
459b2a672f - Some small cleanups on status_calc_pet
- Fixed one valgrind error report.
- Added back the Freeze/Petrify adjustments of -50%def and +25%mdef (when where these lost?)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6903 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-01 00:23:27 +00:00
skotlex
2c4bcef25a - Corrected the mob_ai&2 setting triggering rude-attacked due to can't walk delay.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6901 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-31 21:21:44 +00:00
skotlex
a6b8c38454 - Fixed compilation of char_sql/int_party.c -.-
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6899 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-31 20:41:31 +00:00
skotlex
ca917a0909 - Made the char_name_option char_athena.conf setting apply to parties and guilds as well. It cannot be applied to pets yet without adding a change-name-request interserver packet.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6897 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-31 20:37:39 +00:00
skotlex
0d281eea6d - Fixed compilation of char_sql/char.c
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6896 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-31 20:13:20 +00:00
skotlex
92255a237b - Moved the JOB_* defines from map.h to mmo.h, update char.c to use them.
- Added function char_read_fame_list for famelist reading. Invoked it on init, and made it be sent automatically to connecting map servers.
- Removed request to reload fame list when map server connects.
- Some cleaning of the fame-list reading code.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6895 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-31 20:08:40 +00:00
Lance
5b32c5d838 [Fixed]:
- Incorrect SQL syntax in login.c (missing collumn)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6892 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-31 15:53:45 +00:00
skotlex
053931237b - Some cleaning of the fame-update code, fixing a logic bug which made the ranking list fail to display the correct ranker names.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6891 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-31 15:07:37 +00:00
skotlex
d72c881051 - Removed typedef bool from socket.h and included cbasetypes.c instead.
- Cleaned up and corrected the calculation of hit/flee/cri/lucky dodge in status_calc_bl.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6890 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-31 14:06:22 +00:00
skotlex
79fb721152 - Corrected a null_po in pet_equip when trying to equip stuff without a pet.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6886 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-31 12:12:12 +00:00
Lance
9a5c473607 * [Fixed]:
- nullpo in pet.c caused by equipping without checking if the pet is available.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6882 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-31 07:55:58 +00:00
Lance
1ef042328a Removed debug messages (oops)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6881 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-31 07:29:51 +00:00
Lance
7cebf95264 [Fixed]:
- Latest client support completed!

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6880 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-31 07:26:06 +00:00
Lance
428c7271fd [Moved]:
fake_npc from map.h to npc.h

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6879 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-31 05:40:08 +00:00
Lance
e01880f4e8 [Fixed]:
- Compile warnings/errors

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6878 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-31 05:37:45 +00:00