2386 Commits

Author SHA1 Message Date
Vicious
c16645f3d3 Homun info window to display crit value
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8993 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-14 17:24:52 +00:00
skotlex
92ec28e39c - Sight Blaster will not end after hitting 1 enemy if there's several enemies within range, it will first knock them all back, and then end (as reported by AuronX)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8983 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-13 20:16:23 +00:00
skotlex
a2be20df3d - Base attack for non players is now calculated as str + [str/10]^2 (it does not has +dex/5+luk/5 which players do have)
- Fixed the char-sql server trying to read the gms off a "gm_db" config setting stead of "login_db"


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8981 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-13 18:50:55 +00:00
skotlex
af7c7912a6 - Corrected Throw Arrow/Musical Strike's damage formula
- Altered Trick Dead. It doesn't prevents skills from being casted on you now, but damage-based skills will do no damage.
- Made the battle_config.attack_attr_none apply to pets when using the "fixed damage" pet skill scripts.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8978 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-13 15:27:41 +00:00
skotlex
cc00ad7c09 - made @killmonster make the mobs drop items again.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8976 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-12 20:34:50 +00:00
skotlex
8719acd1c1 - Added a temporary message when Angel of the Sun, Moon and Stars trigger so you know it triggered.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8974 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-12 14:14:39 +00:00
skotlex
ffc5a83ea9 - Corrected Caprice cast info. No cast time, delay time equal to the bolt spells.
- When slaves_inherit_speed is set (which is also the default), homun will have the same speed of their master when spawned.
- When using Hatred and you already have a hate target, your current hate target is displayed now.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8972 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-12 13:57:01 +00:00
skotlex
a72bc02e69 - Removed login-sql connection variables from the map-server (the hell, these aren't used at all!)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8969 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-11 20:13:44 +00:00
skotlex
97e1989395 - Removed useless inter_athena settings (they were doing absolutely nothing): read_gm_interval, gm_db, gm_db_level, gm_db_account_id, use_new_sql_db
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8968 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-11 20:05:55 +00:00
skotlex
ddc6b5e07b - Cleaned up unitattack, unittalk and unitdeadsit
- Updated status_get_name to take into account fakename, also cleaned it up.
- Cleaned up the char-server code when the last point of a player is not found. First it'll check if there's any mapserver online, and then, if there is, it'll look for the major cities. If this fails, then the player will be told server is closed instead of trying to send him to a "random map".


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8967 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-11 19:49:55 +00:00
skotlex
02e41c0e3a - Corrected the mob damagelog structure so that you can't exploit it by switching characters.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8963 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-11 13:54:42 +00:00
skotlex
f91836f32c - Fixed crash when char-server sends to a "random" map-server online on connect.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8960 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-10 21:30:59 +00:00
skotlex
231c36a9c7 - Should have fixed being petrified not reducing your defense and increaseing your mdef.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8958 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-10 16:44:59 +00:00
skotlex
13dc720b21 - sc_cast_cancel is now a type 4 setting.
- Fixed SC_NOCHAT printing the "skills are now available" message twice on natural expiration.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8953 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-09 18:55:43 +00:00
skotlex
30888904c1 - Removed gm_all_skill_add_abra which was doing nothing anyway.
- Updated Land Protector to block absolutely every land-based skills with the exception of Encores/Dances.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8948 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-06 18:28:03 +00:00
skotlex
0a23841806 - Disabling status abnormalities will now reset a mob's target.
- Mob morphing also resets their target now.
- Monk combos no longer can ignore skill delay (delay skill for all their combo-related skills is ASPD)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8945 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-06 15:53:40 +00:00
skotlex
b32fa6c1cb - Now you can trade while in a chatroom.
- Fixed homun-txt reading when the file has DOS line-type delimiters (\r\n)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8944 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-06 13:28:36 +00:00
skotlex
245db024cd - skill_blown will now trigger on-touch npcs on the landing tile.
- Max trade distance has been reduced from 5 to 2.
- Undisguising will now resend the cart-contents.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8940 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-05 18:10:54 +00:00
skotlex
0db4ee6126 - Added function npc_unload_duplicates(), it unloads all npcs that are a duplicate of the passed one. For use with @unloadnpc to prevent crashes when you unload the npc that has duplicates.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8939 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-05 14:37:06 +00:00
skotlex
0bae404bb9 - Bowling bash now always hits twice regardless of situation.
- Added an underflow check to prevent sending to the client negative mdef2 value (for Frenzy'ed characters)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8934 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-04 21:05:44 +00:00
skotlex
68bac454a6 - Modified pc_jobchange so that it automatically removes peco/falcon/cart/homun if the new job you are changing to does not possess the required skill for them.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8932 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-04 15:20:50 +00:00
skotlex
7c8ec5366e - Reverted declaration of run_script to normal since it appears there's no longer any memory leaks related to it.
- Returned the MAX_PC_BONUS value to 10.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8928 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-03 16:19:14 +00:00
skotlex
96d77e1cc8 - Fixed a possible crash with @reloadmobdb due to pet loot timers.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8926 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-03 14:17:51 +00:00
skotlex
782daffa9e - Fixed a possible crash and a memory leak on the login-SQL server when parsing unban requests.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8924 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-03 14:03:40 +00:00
skotlex
746aae171c - Renamed setting delay_dependon_dex to delay_dependon_agi, the delay of skills is reduced now (when enabled) by AGI instead of DEX, which makes a lot more sense than DEX.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8923 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-03 13:54:51 +00:00
skotlex
946a0d9d89 - Modified item-granded status resistance reduction to behave as explained by Vicious (Ragnarok Monthly magazine)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8921 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-02 21:36:51 +00:00
skotlex
e6ceed4220 - Added the opt3 values to Eske
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8920 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-02 16:42:04 +00:00
skotlex
94f10d7d39 - Fixed the txt->sql converter only saving the very first character permanent variable.
- Fixed the txt->sql converter saving account-wide variables as character-wide ones.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8917 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-02 15:04:14 +00:00
skotlex
55cf6d9d0f - Renamed nopenalty mapflag to noexppenalty. Using nopenalty will turn on/off both noexppenalty and nozenypenalty now.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8915 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-02 14:19:56 +00:00
skotlex
1c244c459e - Removed the speed adjustment per level of Increase/Decrease Agility
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8913 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-01 18:50:24 +00:00
Lupus
ba7f482666 homun skill exploit
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8911 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-01 16:54:57 +00:00
skotlex
42375e1896 - Rewrote the txt->sql converter. It now links directly to the char server files so that it should get auto-updated with any code changes in the later.
- The converter will now also convert: account-wide variables, parties, guilds, guild storage and guild castles. At this point the only two things not converted are login-server-wide account variables (##, they belong to the login converter) and homunculus (the SQL save function is messy and doesn't lends itself to be integrated with the converter the way all the other functions are).
- Modified the char servers so they are compatible with the converter, the define TXT_SQL_CONVERT identifies sections unique to each char-server mode (this would had been a hella lot easier if both char servers where the same code-base instead of duplicated code <.<)
- Updated the Makefiles as per the new compiling requirements for the converter.
- misceffect2 will no longer cause the effect on top of the source object when it is the fake npc.
- Added check so that Frost Nova doesn't hides hitting animation on targets.
- Added the missing brackets around the trade logs condition check, thanks to Coltaro.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8908 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-30 21:54:01 +00:00
skotlex
1265438d58 - Spurt state will now trigger on Soul Linkers as well.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8902 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-29 18:34:09 +00:00
skotlex
db1a23187d - Changed some numbers for their respective constants in battle.c
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8901 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-29 16:17:00 +00:00
skotlex
a23e7c9802 - Added a check un unit_run when unit_walktoxy fails. Should fix running getting you stuck sometimes when running on diagonals near obstacles.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8900 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-29 13:57:41 +00:00
skotlex
f7a1d44c3e - Merged the necessary changes to make the script engine support negative constants (db/const.txt). Thanks to Rayce (from jA) for the code.
- Cleaned up the skill.c code to take into account when skill_unitsetting returns null (skill failed), fixes a possible crash with Wand of Hermode


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8891 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-28 13:26:40 +00:00
skotlex
32b53e9ba2 - Cleaned up status_get_party/guild_id, it should also fix a possible crash when invoking such a functio on a masterless pet.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8889 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-27 16:52:41 +00:00
skotlex
9eeaa9cb7e - Merged some splash changes from stable. Sharp-Shooting will now display a skill animation.
- The no_spawn_on_player setting will now also work for static mobs, but only if the setting is set to 100 or higher.
- Some small cleanups.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8887 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-27 15:07:55 +00:00
skotlex
962762114b - Yet again messed with the packet sent during a splash attack, but this time taking into account the packets that eA was using some many revisions ago. Tests are needed to see if Magnum Break/Grimtooth don't spam the skill animation anymore, and to see if GrandCross didn't break it's animation as well.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8877 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-26 19:35:29 +00:00
skotlex
faa1896447 - Added function skill_dance_switch which handles converting overlapping song/dances to dissonance/ugly dance. It should make the overlapping area now behave completely like the mentioned song/dances (taking into account interval and target type changes).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8876 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-26 18:53:55 +00:00
skotlex
c2794a9e1b - Updated battle_check_target so that non-offensive skills cannot be used on a homun except for the homun and it's master.
- Steal zeny won't work on treasure chests now.
- Small optimization in the dual-wielding check.
- Some cleaning in char_sql/itemdb.c


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8875 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-26 13:59:21 +00:00
skotlex
25e8e6c1ce - Added an ugly check so that Heal will display 0 when healing a berserked character (and it will again display full heal amount when healing a player who's at full life)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8869 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-25 21:40:02 +00:00
skotlex
54f5c903d5 - Disabled again client-self-muting since it's causing too much trouble.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8868 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-25 21:35:10 +00:00
skotlex
1bdee644f1 - Merged FlavioJS's script patch which should fix stuff like "mes ();" causing crashes.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8867 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-25 20:47:07 +00:00
skotlex
fc0f3b45bf - Fixed item group 35 (lottobox) in item_misc.txt
- Item group reading will now complain when a line doesn't has enough fields.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8865 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-25 20:03:58 +00:00
skotlex
7637480204 - Oops, fixed a pretty bad typo on the fix for #baselvup
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8863 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-25 15:20:42 +00:00
skotlex
7025584abe - Fixed #baselevelup adding instead of substracting status points when used with negative levels. Also made it reset your stats if there wasn't enough to substract from.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8861 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-25 15:17:12 +00:00
skotlex
2653525969 - Removed config setting allow_atcommand_when_mute as it's no longer used (see manner_system in misc.conf for it's replacement)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8860 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-25 15:08:26 +00:00
skotlex
45d40fd4d0 - Applied FlavioJS's suggestion of expanding WFIFOPOS to also take the direction. This had the side effect of fixing the direction missing from the mob spawn packet, which explains why all npcs face north when you are within sight while doing a @reloadscript.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8858 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-25 14:06:38 +00:00
skotlex
c9f213bc82 - Changed the order of packets in TK_HIGHJUMP, may fix the reports of getting stuck when jumping into a warp.
- Changed a bit the code of marionette control, where a redefined local variable may be the cause of mob-targetted Marionette Control stacking stats up.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8857 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-25 13:49:29 +00:00