2100 Commits

Author SHA1 Message Date
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
skotlex
2c685ecbf4 - When the code auto-guesses that a skill should require ammo, it will accept any type of ammo for using it instead of only arrows. Fixes Magnum Break usage on Gunslingers.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8852 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-24 19:28:58 +00:00
skotlex
3218162748 - Fixed a bug on "select" when skipping empty entries when the selected entry is the last.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8839 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-22 01:02:46 +00:00
skotlex
c105112227 - Removed the unrecognized class error messages from pc_mapid2jobid and pc_jobid2mapid since these can now trigger normally through the use of the script functions roclass and eaclass.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8833 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-21 14:26:54 +00:00
skotlex
a4f893ed15 - A mob's HP is set temporarily to 0 before invoking it's on-death script, prevents said scripts being able to "rekill" the mob indefinitely (if stuff like killmonster is used within)
- Some small cleanups in chat.c


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8829 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-20 16:03:58 +00:00
skotlex
186f349ed7 - Cleaned up some more party_sub_count, so that idle_no_share will also disable people in a chat or vending from counting towards the total.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8827 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-20 14:30:06 +00:00
skotlex
361b384e12 - Fixed party_sub_count (TK_POWER) failing when the idle_no_share setting was disabled.
- Enabled Star Gladiators and Soul Linkers to do /doridori


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8824 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-20 13:48:51 +00:00
skotlex
7c23227861 - Fixed nocommand mapflag causing the "you can't use commands on this map" message to trigger one very single chat, instead of only for actual @/# command invocation.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8817 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-20 00:16:34 +00:00
skotlex
2beeeee85c - Added support for skipping empty string menu entries for the select() command (just as menu has it already)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8816 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-19 23:06:42 +00:00
skotlex
c86c748d9d - Corrected undisguise not working if you don't pass any parameters to it (which is how it should be)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8814 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-19 19:06:19 +00:00
skotlex
370ab1a2da - Fixed pc_set_hate_mob letting you place mobs on any of the three positions regardless of size :/
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8813 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-19 19:02:46 +00:00
skotlex
6630ebff98 - Made the report_Src function also report name of non-bl objects.
- The double continuation error will now display both scripts that triggered it.
- Loading the storage from the char-server will fail if player is already tagged in final save state.
- Removed setting ban_spoof_namer, sending invalid global-talk packets will now just kick the player out of the server.
- Added BL_NPC support to status_get_name


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8812 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-19 17:23:22 +00:00
skotlex
97eb6c01f9 - Simplified the code for @storage
- Added echoing messages back to self when using @/# commands on whispers and party/guild messages, to prevent the client from muting yourself.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8810 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-19 14:07:32 +00:00
skotlex
df7e54c3df - Fixed Spider Web fire damage bonus.
- Made Global chat always reply back to you even on @/# commands, this prevents the client from muting yourself due to "hack". However, this same fix isn't easily applicable to @ commands invoked from whispers or party/guild messages, those are still pending.
- Some fixes in socket.c


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8801 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-19 02:58:40 +00:00
skotlex
0cedd1e5f4 - High-Jump is usable everywhere now, except that on maps where it previously failed, now will just make you jump in place.
- Fixed TK_RUN as per packets provided by AuronX.
- Corrected Ki Explosion to have range 1 and to take your weapon's element.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8797 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-18 18:36:36 +00:00
skotlex
0c181dc424 - Moved the equipment/card resistances to status ailments outside of status_get_sc_def, so that they are applied only to rate, not duration.
- Due to this, the max sc resistance settings (battle/status.conf) no longer apply to equipment/card-granted resistances.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8795 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-18 15:36:00 +00:00
skotlex
aa84d16456 - Modified the Asura code (again), hopefully movement sprite issues are fixed now
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8793 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-18 15:09:30 +00:00
skotlex
ee19937202 - Reloading scripts will no longer eliminate mobs with no respawn data. Watch out for duplicating Treasure Boxes?
- Some cleaning of npc_final
- Made speed_add_rate a linearly stacking increase.
- Corrected a possible overflow when using show_mob_info to display the mob's up as a percent.
- Corrected the documentation for checkoption/checkoption1/checkoption2


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8792 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-18 14:43:04 +00:00
skotlex
81530c4ef9 - Reenabled client requesting to self mute, as the whole knockback packet issues of the past which were causing players to mute themselves when being knockback is no longer there.
- Changed NPC_CHANGEUNDEAD from a self skill to a targetted skill. Changed it's duration to 30 secs.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8787 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-18 00:35:25 +00:00
skotlex
401920c1d8 - Fixed NPC_INVISIBLE's cloak ending after attacking once.
- Fixed SG_FUSION being castable without Soul Link state.
- Moved the item-use restriction SC checks from clif.c to pc_use_item, fixed Gravitation blocking potion usage on it's area of effect.
- Sphere Marines and Summoned Flora are now inmune to class-changing.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8782 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-17 07:38:10 +00:00
skotlex
c61da328ed - Moved some speed adjustments in status_calc_pc to where they belong.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8781 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-16 23:50:00 +00:00
skotlex
fd7c6a36a2 - Added monster_ai&256. When set, a monster will pick a random starting position to begin checking versus it's skills, otherwise, it will always begin checking from the beginning.
- Added NPC_CHANGEUNDEAD to the skill_cast_db, fixes it apparently doing "nothing".


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8778 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-16 23:41:07 +00:00
skotlex
e31d762f33 - Fixed the status change duration reduction equation was was totally wrong, thanks to k3dt
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8776 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-16 20:18:35 +00:00
skotlex
3d19bd2c4e - Now mobs won't do a distance check to lose their target on every ai iteration, but only when they finish walking (unless you set monster_ai&1)
- The chase distance before a mob gives up following a player has been increased from view-size (range2) to min-chase (range3).


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8773 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-15 21:33:36 +00:00
skotlex
7ad8d4effa - Reverted the Summon Flora change where all plants were being summoned in one go.
- Removed some redundant code.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8772 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-15 19:48:00 +00:00
skotlex
6b77c081e9 - Moved the weapon repair effect to where it belongs (after successfully repairing an item)
- Added atcommand.conf entries for @adjgmlvl and @adjcmdlvl


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8770 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-15 17:28:17 +00:00
skotlex
abec02f1fe - Added config setting "friend_auto_add" (battle/player.conf), if set, when you accept someone as your friend, both characters will show up on each other's friend list.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8769 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-15 16:40:01 +00:00
skotlex
b3d74eb0ad - Changed Extremity Fist's code to make you actually walk past your target, which displays a much more correct "animation" for the skill. Thanks to HiddenDragon for the information and code.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8765 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-15 01:57:23 +00:00
skotlex
ae631dda54 - Updated the item_db search functions so that when returning the dummy-item, it first updates the nameid to match the requested one, this prevents pc_additem later on giving you an item with ID 500 instead of the ID requested.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8764 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-15 01:02:20 +00:00
skotlex
25b73f7772 - Added a clif_skill_nodamage packet when using Repair Weapon, just to see what happens.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8762 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-14 21:10:54 +00:00
skotlex
570b52caff - Fixed the can-act delay never being checked when requesting to use Homunculus Skills. O.O
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8758 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-14 17:02:39 +00:00
skotlex
4eabecd228 - Fixed warmth skills draining SP of the target, not the caster.
- If val3 for a combo is set, then the combo will no longer delay attack/movement.
- When TK_DODGE triggers, it will no longer delay your attack or movement.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8757 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-14 16:50:12 +00:00
skotlex
1b4521aff2 - Estimation /Sense/ whatever will no longer hide the vit bonus to mdef2, as reported by Playtester.
- Updated Summon Flora to summon the max number of possible plants on one cast. It will consume as many bottles as monsters summoned. Also cleaned up the function to be usable by non players.
- Added function status_get_name


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8756 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-14 16:34:06 +00:00
skotlex
c9f9218a2b - Shadow Jump no longer goes over walls.
- Insignificant cleanups.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8751 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-14 15:39:24 +00:00
skotlex
d16c9da400 - Corrected Smokie's pet script to use petskillbonus instead of "bonus"
- Added constant map_flag_gvg2 which tags gvg maps independently of whether woe is on or off.
- battle_calc_gvg_damage will be invoked in gvg maps regardless of woe time.
- NPC_MENTALBREAKER now zaps matk*lv SP based on observations by Tharis.
- md->class_ will be changed on mob-class-change to fix all class-change related bugs. On respawn, the spawn data will be used to revert to the original class. 
- Improved the pet skillbonus timer for "eternal bonuses" cases where the bonus delay is 0.
- Adjusted gvg long damage rate to 80%, magic damage rate to 60%


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8748 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-14 13:46:14 +00:00
skotlex
955a3c310b - SC_CHANGE cannot override itself anymore. This fixes being able to "recast" the skill while it's still active to lengthen the duration AND rehealing the target.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8737 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-13 18:57:25 +00:00
skotlex
66869ed12a - Changed a bit the dnsbl lookup in the login servers to make it faster.
- Moved the pc rate modifiers from items (hp/sp/matk/hit/flee/cri/flee2/def2/mdef2/def/def2/speed) from status_calc_bl_sub_pc to status_calc_pc, as it simplifies code vastly, and also fixes Osiris card not applying to said bonuses.
- Fixed pc_damage_delay_rate not working, thanks to Orn.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8736 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-13 18:51:07 +00:00
skotlex
84f86fa96e - Modified the nocommand mapflag so you can specify the GM range that is blocked from using commands (eg: "prontera.gat mapflag nocommand 40" disables commands to characters in the GM range 0~39)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8733 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-13 16:11:22 +00:00