4329 Commits

Author SHA1 Message Date
skotlex
186798af26 - Added a check to prevent adding negative damage to the total accumulated damage in mob_damage.
- Implemented the property where the first attacker get's double exp-share than the others. Due to the way exp calculation is done, this bonus will not apply when you use exp_calc_type 1 (damage/max_hp) instead of the default (damage/total-damage). For now this bonus is done after calculating who is the MVP character instead of before.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9107 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-31 15:08:07 +00:00
Lupus
21f49a933c gon_test,70,103,3 --> Added missing (.gat)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9105 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-31 04:42:13 +00:00
skotlex
d240f6078a - Updated the npc/other/marriage.txt wedding script with the most current version.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9103 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-30 23:09:01 +00:00
toms
8fb29cb951 Fixed a little bug in event enqueue code
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9102 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-30 21:30:02 +00:00
Playtester
81a1ad5244 Added some official X.4 drop rates
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9101 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-30 20:47:44 +00:00
skotlex
43db171cb5 - Corrected GS skill ranges using Aegis data. All their targetted skills have a base range of 9 T_T, and Dust (Choke) has a range of 2.
- Updated the code so mobs can use ChainAction as a targetted skill.
- Added GroundDrift effects for Wind (Stun) and Fire (knockback). The knockback value is unknown, so 3 is used for now.
- Cleaned up some more the steal code, now you can't steal the last slot regardless of skill level used.
- Added consideration of Chain Action when cloning GunSlingers.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9100 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-30 20:31:28 +00:00
skotlex
f9bca76cd9 - Set the inf2 to encore skills of Wand of Hermode
- Modified battle_calc_return_damage to take the skill id as well, now magic damage return will not work on skills tagged as ground or self targetted.
- Fixed Gank not working at all with the default max steal tries setting.
- Soul Drain won't work with skills tagged as self-targetted.
- Improved the Suiton code so that the walk/agi penalty only applies to enemies of whoever casted the skill.
- Moved the initial status_calc_pc call to when you finish loading the map, should fix equipment scripts which are based on character variables not working.
- Some cleanup of the clif_parse_LoadEndAck function.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9099 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-30 17:53:18 +00:00
Lupus
f7442ef2b3 Fixed getcharid according to samples and docs
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9098 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-30 12:28:23 +00:00
Lupus
177d603941 added official 1st class quests
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9097 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-30 09:39:29 +00:00
Playtester
6460515382 Official NJ/GS exp chart for level 1-48
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9096 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-29 19:57:49 +00:00
Playtester
e70c1f9ab3 Added Shinobi Sash to Shinobi drops
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9094 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-29 15:55:03 +00:00
Playtester
c824662979 svn hates me today
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9093 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-29 13:12:15 +00:00
Playtester
984d9ae377 git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9092 54d463be-8e91-2dee-dedb-b68131a5f0ec 2006-10-29 13:09:28 +00:00
Playtester
d4b30e927a git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9091 54d463be-8e91-2dee-dedb-b68131a5f0ec 2006-10-29 13:08:32 +00:00
Vicious
4569b7ad49 Updated some DB.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9090 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-29 07:46:51 +00:00
skotlex
d6711d07b9 - Fixed mob-skill event "skillused" not triggering at all.
- Summoned mobs will only be removed from a map if their master is also removed (dynamic mobs)
- Minor cleanups


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9088 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-28 03:55:01 +00:00
Playtester
dd7cb86e30 Made Thief Clothes and Ninja Suit being equippable by Ninja
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9087 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-27 20:47:20 +00:00
Playtester
2dba1b3c55 More Odin/Kiel fixes
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9086 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-27 10:24:11 +00:00
Lance
503bc35109 modified src/map/npc.c
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9085 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-27 05:36:46 +00:00
Lance
bdca3b4cc2 * Experimental tweak to npc_parse_function - Overwrite existing functions.
modified   Changelog-Trunk.txt
modified   src/map/npc.c


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9084 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-27 05:33:08 +00:00
Lupus
e4508dae63 merged recent changes of job quests, cities, kafras, novice guild warps + official treasure chest spawns
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9083 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-27 03:47:12 +00:00
Playtester
ff9d10bc92 Updated sql files
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9081 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-26 20:39:17 +00:00
Lupus
caca2976df fixed missing tabs, extra params. thanks to irmin i CAHTEXHuK. fixed warp coord of DTS warper. added missing next; to priest
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9078 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-26 18:14:09 +00:00
Lupus
9e4ba17a6d added missing line
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9076 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-26 11:00:15 +00:00
Playtester
e09c471f50 Fixed Constant's explode not working as it should
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9075 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-26 09:23:47 +00:00
Lupus
f5d4fd6aea added new TK job quest, added Rachel city NPC!, added louyang guide
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9074 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-26 05:38:39 +00:00
skotlex
3e29770cc9 - Cleaned up some more the event dequeue code, it will no longer clear out the npc_id if there's no events waiting to be executed (why does it clears the npc_id anyway?)
- Because of possible conflicts with this change and the on-login script, now the on-login script is executed when the player has finished loading into their start-up map rather than as soon as receiving the registry variables from the char-server.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9073 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-25 21:35:38 +00:00
skotlex
c4932353bf - Some cleaning of the pc_eventtimer and pc enqueue code, it should fix some memory leaks when the event counter does not matches with the actual number of queued timers during logout.
- Minor typos, corrections, etc.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9072 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-25 20:55:19 +00:00
Playtester
c91de6309d More Kiel Mob updates
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9071 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-25 19:39:57 +00:00
Playtester
0c4e29c52b Changed order of Aliza drops to prevent steal exploit
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9070 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-25 18:31:16 +00:00
skotlex
7d2bc900c7 - Fixed "skill_sp_override_grffile: yes" causing crashes when parsing Homuncuus/Guild skills.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9069 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-25 16:15:28 +00:00
skotlex
71601f58b3 - Made the exp bonus settings be adjustable:
- exp_bonus_attacker: Indicates how much additional exp a mob gives per additional attacker (eg: 10 -> +10%*attacker)
- exp_bonus_max_attacker: Indicates at which number of attackers the bonus is capped (eg: 5 -> 5 attackers, so a mob yield the same exp whether 5 or 10 people attack it)
- Changed the way the party_even_share_bonus setting works. It now uses a simple linear bonus increase (eg: 10 -> +10%*party member)
- The defaults are as explained by Tharis: +25%/attacker, capped at 12 attackers, no party bonus.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9067 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-25 14:44:14 +00:00
skotlex
274bcb4fa0 - MG_STONECURSE and NPC_PETRIFYATTACK now use time1 to specify the "petrifying time". This value has been set to 5 seconds.
- Now when SC_STONE is triggered from status-change cards, it's petrifying duration will be passed as 0, causing the minimum (1 sec) to be used.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9066 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-25 13:34:43 +00:00
Playtester
a196278e08 Fixed view ids of some headgears
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9065 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-25 09:44:14 +00:00
Lupus
27fbde260e final clone maps -> original maps change. also fixed novice grounds map in char.c. fixed socked_enchant npc
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9064 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-25 05:26:11 +00:00
Playtester
0ca7a68aa7 Kiel Mob updates
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9063 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-24 21:37:47 +00:00
Playtester
a5185eeba3 Spawn updates for Einbroch Fields
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9062 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-24 19:34:11 +00:00
Lupus
d56e63a998 fixed pucca's typo
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9060 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-24 18:18:23 +00:00
skotlex
2b16b2d295 - Removed again your mdef reducing "petrifying" time as apparently it can't be reduced by mdef.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9059 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-24 18:13:51 +00:00
Vicious
47648ac285 Reverted lupus' map_index update
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9058 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-24 17:34:04 +00:00
skotlex
14fd5f1b63 - Cleaned up the "show_steal_in_party" setting so it only takes effect when the item was successfully stolen (there was no point in telling you the item couldn't be stolen due to being overweight)
- Cleaned up the pc_steal_item implementation (again). It now uses a more random, simple approach in each steal attempt.
- Changed the way the skill_steal_max_tries work. Now it actually MEANS the max number of steal tries, use 0 to disable (unlimited tries).
- Changed the default of skill_steal_max_tries to 0 as there's no proof anywhere that there should be such a limit.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9057 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-24 16:34:51 +00:00
skotlex
d182470892 - Corrected the skill_castnodex file speaking about dex reducing delay when now it's agi the one that can reduce it.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9055 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-24 15:17:57 +00:00
Lupus
ae0850ea19 fixed map index
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9054 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-24 13:01:57 +00:00
Lupus
83b3460e60 few typos fix
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9053 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-24 11:39:06 +00:00
Lupus
24a1453543 removed unused map locations. freed some RAM, fixed Novice Grounds, JobQ warps
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9052 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-24 10:12:06 +00:00
skotlex
182e56b1d7 - Added a bunch of important indexes when dealing with the log tables. Added upgrade_svn9050.sql for this purpose.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9051 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-23 18:54:28 +00:00
Lupus
997bb3ebf9 added official Gonryn Power Arena
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9050 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-23 18:53:48 +00:00
skotlex
70f2fde6ac - char_family now returns the char_id of the children when previously it would return true.
- Expanded the family check to work as it should, exp-share-range is respected, and the child is not considered for it (thanks to TheUltraMage for the investigation)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9049 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-23 18:21:49 +00:00
skotlex
8b37134bc7 - Double Casting will no longer fail when used.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9048 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-23 17:55:42 +00:00
skotlex
d80ed485d0 - Modified SC_STONE so that the duration of the "petrifying" time is 5 secs reduced by your natural resistance to petrify (which is mdef%)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9047 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-23 17:11:02 +00:00