1946 Commits

Author SHA1 Message Date
skotlex
16a63fb07d - Fixed firewall counter going down by 2 each hit rather than 1.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7015 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-06 19:54:28 +00:00
skotlex
9960e99f06 - Fixed Soul Burn not zapping away all SP.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7012 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-06 19:31:16 +00:00
skotlex
38aacdd553 - The monsters can level up setting will not take effect when the mob's level is LESS than their db counter-part (should prevent under-leveling causing underflows and semi-immortal mobs)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7005 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-06 16:12:44 +00:00
skotlex
4f89660d1a - cleaned up status_check_skilluse some to use status_data variables.
- Fixed mvp-exp calculations being messed up with more than one attacker.
- Changed the mob exp race bonus so that each player gets their own bonus, rather than the killer's bonus applying to everyone.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7003 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-06 14:16:22 +00:00
Lance
a8c05f7b22 Forgot something
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7002 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-06 03:24:40 +00:00
Lance
1a63e4205f * [Fixed]:
- Allocation of event_list in guild_npc_request_info to aCalloc so memcpy(ev->name,event,strlen(event)) will have a null terminator.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7001 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-06 03:21:32 +00:00
skotlex
7847189eae - Fixed a crash when using SL_SMA and the "combo" ain't ready.
- Hopefully fixed changing a mob's class causing them to get all sort of stat bonuses due to the mobs-level-up setting.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6994 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-05 23:01:06 +00:00
skotlex
0c12ec4df6 - Removed a few useless lines.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6991 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-05 21:33:35 +00:00
skotlex
29e811b743 - Fixed a pair of signed/unsigned mismatch comparison warnings in pc_bonus. Thanks to Nuisance for complaining.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6987 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-05 19:48:02 +00:00
skotlex
5ec0f300c2 - Cleaned up code for SC_MINDBREAKER.
- Changed hit, flee, cri, flee2, def2 and mdef2 to signed short, def, mdef to signed char to correctly account for cards with penalties in said stats.
- Added cap_value checks in all of the status_calc_* return paths to make sure no stat is invalid.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6986 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-05 19:17:44 +00:00
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