3316 Commits

Author SHA1 Message Date
skotlex
397c8f5c0e - Adjusted Don't Forget Me, Defender, Longing to use all val entries, and to hold the speed adjustment value rather than speed penalty (eg: 125 instead of 25).
- Cleaned up status_calc_speed so that speed penalties are correctly handled (eg: 25% penalty is speed*100/125, not +speed*25/100). Thanks to Euph for pointing it out and Belle for the speed mechanics.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7046 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-08 14:21:50 +00:00
Lance
530767d5e1 git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7045 54d463be-8e91-2dee-dedb-b68131a5f0ec 2006-06-08 13:49:31 +00:00
musashiden
79337fbdc3 -Fixed some typos and updated Lighthalzen Guides. [Musashiden]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7044 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-08 03:50:43 +00:00
skotlex
f69a49a292 - Fixed Sense using mdef instead of mdef2
- Fixed item-skills not showing up on login.
- Cleaned up clif_parseLoadEndAck, by testing which packets are required only on first-login and which ones are required on all map-changes. Skill-tree, Exp, Skill Points and most of the basic status are no longer sent on map-change (items, carts, zeny still need to be sent one very map-change).


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7042 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-08 00:21:13 +00:00
skotlex
a5ae39dd6c - Fixed the mob state not being set to Berserk/Angry correctly after the mob reaches the target's location.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7040 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-07 22:53:06 +00:00
skotlex
b6a5dc4547 - Added config setting mob_npc_warp, when set to yes, enables mobs to be warped between maps when stepping on a npc-warp.
- Added monster_ai setting &64, when enabled makes a mob run to any nearby npc-warp when their current target has switched maps.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7039 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-07 20:15:23 +00:00
skotlex
d7a3b4d7e4 - Added pc_calcexp to calculate individual exp bonuses acquired from exp's source (race bonus cards, SG Exp skills, pk-mode higher level exp)
- pc_gain_exp now also receives the source of the exp, when said source exists, bonuses are applicated as needed.
- Added status_kill when capturing a mob, should take care of the mob not respawning after caputed.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7037 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-07 18:57:21 +00:00
skotlex
0ce7ab026f - Fixed item info not displaying the found item id... ~.~
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7036 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-07 15:41:40 +00:00
skotlex
f3b27cf90d - Fixed item info not displaying the weight value properly.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7035 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-07 15:37:35 +00:00
skotlex
17d6fd86cc - Adjusted status resistances and durations taking as base Viccious's info from the kro guidebook.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7034 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-07 15:27:31 +00:00
skotlex
200032c28b - Moved souldrain code from skill_counter_additional_effect to mob_dead. It should display the skill animation correctly now.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7033 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-07 14:52:59 +00:00
skotlex
d9e0f46dc7 - Adjusted several sc rate/time reductions as pointed out by Playtester.
- Luk now plays a luk/10 reduction role rather than a luk/3 one.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7032 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-07 14:35:24 +00:00
skotlex
d3ffb31cc4 - Removed char_nick2id from char-sql server as it's no longer needed.
- Fixed quitting the map server not properly saving the storage before deleting it.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7030 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-07 13:19:12 +00:00
Playtester
936830ab46 Stormy Knight card now freezes when attack rather then when hit
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7029 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-07 13:12:53 +00:00
Lupus
08b2f67d8a added functions to completely save/load of quest skills
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7028 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-07 10:23:30 +00:00
skotlex
b8ebd2882b - Solved an ambiguous if in mob_dead.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7026 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-07 03:36:01 +00:00
skotlex
11ecdf7283 - Cleaned status_get_sc_tick/status_get_sc_def to use the status_data function.
- SC_STOP's chance and duration can't be reduced anymore.
- Storm Gust no longer has a 100% chance to freeze by passing mdef, now it has a 300% base chance reduced by mdef and the like as explained out by Tharis.
- Frost Diver/Frost Nova's base freezing chance is no longer affected by target's int.
- Lots of indentation fixes in login_sql/login.c to make it match with stable's layout.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7025 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-07 03:18:22 +00:00
Lance
dc71d18c29 * [Improved]:
- mob_dead not to remove script controlled monsters with player sprites. (can be removed later using removemob command, it can be resurrected too :D)
* [Added]:
- buildin_mobdeadsit :D 

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7024 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-07 02:51:50 +00:00
Lance
f5b5288a32 * [Fixed]:
- temp++ gets issued before if(mvp_damage<(unsigned int)md->dmglog[i].dmg) in mob_damage. Thanks to seahorsix.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7023 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-07 02:03:22 +00:00
Lance
b24a75bdba * [Fixed]:
- Corrected login-server SQL to use *((ulong *)p) instead of (ulong)p 

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7022 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-07 01:51:04 +00:00
Lance
a6f2c2e5ed * [Optimized]:
- list and size not being initialized (size get intialized in default: switch case) Eliminated default case and initialized list and size at the beginning. 

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7021 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-07 01:26:17 +00:00
evera
6cac049eb7 Kafras
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7020 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-06 23:59:16 +00:00
musashiden
cb771e12d8 git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7019 54d463be-8e91-2dee-dedb-b68131a5f0ec 2006-06-06 22:50:58 +00:00
skotlex
8cd413cc34 - Hopefully fixed for sure mobs getting extra stats when changing-class due to the mobs level up setting.
- Removed a piece of code that should no longer be needed due to the combo-skill setting
- Added a status_check_skilluse call in Sightblaster to prevent it from hitting hidden/cloaked/act-dead/etc players.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7018 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-06 22:21:15 +00:00
skotlex
5e249646fc - Some cleaning of mob_damage, added a default case when attacked to retaliate to whatever attacked the mob.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7017 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-06 21:05:10 +00:00
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
Playtester
26f9bbb8ff Small spawn amount fix in Thanatos
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7013 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-06 19:47:44 +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
Playtester
31e5d08931 * Fixed Owl Duke not having boss mode
* Fixed Osiris's slaves

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7010 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-06 19:03:33 +00:00
Playtester
f7d4f1ec4c Hopefully fixed all the Unbreakable bonuses
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7009 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-06 18:20:13 +00:00
Playtester
cdaca25d83 Fixed Valkyrie skills and Magnum Break of all mobs
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7008 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-06 17:56:21 +00:00
MasterOfMuppets
db029f5c9b Implemented the Shinokas quest, thanks to Dj-Yhn for scripting it.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7007 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-06 17:14:12 +00:00
Playtester
916d0098f8 Sunflower Hairpin now can't be refined anymore
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7006 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-06 16:49:55 +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
Playtester
cc72284a96 Added Rachel interior warps thanks to Celestria
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7004 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-06 16:02:33 +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
MasterOfMuppets
37f20b6b0a Implemented some more Louyang npcs, thanks to Prometheus for them.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7000 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-06 00:43:14 +00:00
MasterOfMuppets
4a337cdd2f Added some sign quest related item restrictions.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6998 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-05 23:58:06 +00:00
MasterOfMuppets
b4e2622d3f Implemented an inn NPC in Einbroch.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6996 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-05 23:51:46 +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
MasterOfMuppets
f4d62aa1fa Fixed the item bonus of baseball cap.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6992 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-05 22:23:56 +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
Playtester
6efcf5a2f2 Fixed some typos in Lighthalzen
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6988 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-05 20:39:59 +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