summaryrefslogtreecommitdiff
path: root/src/map
AgeCommit message (Collapse)AuthorFilesLines
2006-10-04- Modified pc_jobchange so that it automatically removes ↵skotlex1-5/+21
peco/falcon/cart/homun if the new job you are changing to does not possess the required skill for them. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8932 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-03- Reverted declaration of run_script to normal since it appears there's no ↵skotlex5-20/+14
longer any memory leaks related to it. - Returned the MAX_PC_BONUS value to 10. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8928 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-03- Fixed a possible crash with @reloadmobdb due to pet loot timers.skotlex1-1/+0
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8926 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-03- Renamed setting delay_dependon_dex to delay_dependon_agi, the delay of ↵skotlex4-11/+11
skills is reduced now (when enabled) by AGI instead of DEX, which makes a lot more sense than DEX. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8923 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-02- Modified item-granded status resistance reduction to behave as explained ↵skotlex2-9/+13
by Vicious (Ragnarok Monthly magazine) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8921 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-02- Added the opt3 values to Eskeskotlex1-5/+6
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8920 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-02- Fixed the txt->sql converter only saving the very first character ↵skotlex1-1/+1
permanent variable. - Fixed the txt->sql converter saving account-wide variables as character-wide ones. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8917 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-02- Renamed nopenalty mapflag to noexppenalty. Using nopenalty will turn ↵skotlex6-9/+16
on/off both noexppenalty and nozenypenalty now. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8915 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-01- Removed the speed adjustment per level of Increase/Decrease Agilityskotlex1-11/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8913 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-01homun skill exploitLupus1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8911 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-30- Rewrote the txt->sql converter. It now links directly to the char server ↵skotlex3-8/+10
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8908 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-29- Spurt state will now trigger on Soul Linkers as well.skotlex1-2/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8902 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-29- Changed some numbers for their respective constants in battle.cskotlex1-6/+6
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8901 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-29- Added a check un unit_run when unit_walktoxy fails. Should fix running ↵skotlex2-2/+16
getting you stuck sometimes when running on diagonals near obstacles. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8900 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-28- Merged the necessary changes to make the script engine support negative ↵skotlex2-14/+17
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8891 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-27- Cleaned up status_get_party/guild_id, it should also fix a possible crash ↵skotlex1-23/+39
when invoking such a functio on a masterless pet. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8889 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-27- Merged some splash changes from stable. Sharp-Shooting will now display a ↵skotlex3-8/+19
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8887 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-26- Yet again messed with the packet sent during a splash attack, but this ↵skotlex1-19/+7
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8877 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-26- Added function skill_dance_switch which handles converting overlapping ↵skotlex1-73/+89
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8876 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-26- Updated battle_check_target so that non-offensive skills cannot be used on ↵skotlex2-5/+8
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8875 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-25- Added an ugly check so that Heal will display 0 when healing a berserked ↵skotlex1-14/+16
character (and it will again display full heal amount when healing a player who's at full life) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8869 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-25- Disabled again client-self-muting since it's causing too much trouble.skotlex1-29/+8
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8868 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-25- Merged FlavioJS's script patch which should fix stuff like "mes ();" ↵skotlex1-1/+9
causing crashes. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8867 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-25- Fixed item group 35 (lottobox) in item_misc.txtskotlex1-1/+4
- Item group reading will now complain when a line doesn't has enough fields. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8865 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-25- Oops, fixed a pretty bad typo on the fix for #baselvupskotlex1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8863 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-25- Fixed #baselevelup adding instead of substracting status points when used ↵skotlex1-1/+3
with negative levels. Also made it reset your stats if there wasn't enough to substract from. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8861 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-25- Removed config setting allow_atcommand_when_mute as it's no longer used ↵skotlex4-6/+0
(see manner_system in misc.conf for it's replacement) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8860 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-25- Applied FlavioJS's suggestion of expanding WFIFOPOS to also take the ↵skotlex1-13/+9
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8858 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-25- Changed the order of packets in TK_HIGHJUMP, may fix the reports of ↵skotlex2-16/+16
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8857 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-24- When the code auto-guesses that a skill should require ammo, it will ↵skotlex1-1/+1
accept any type of ammo for using it instead of only arrows. Fixes Magnum Break usage on Gunslingers. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8852 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-22- Fixed a bug on "select" when skipping empty entries when the selected ↵skotlex1-1/+1
entry is the last. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8839 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-21- Removed the unrecognized class error messages from pc_mapid2jobid and ↵skotlex1-4/+0
pc_jobid2mapid since these can now trigger normally through the use of the script functions roclass and eaclass. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8833 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-20- A mob's HP is set temporarily to 0 before invoking it's on-death script, ↵skotlex2-14/+22
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8829 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-20- Cleaned up some more party_sub_count, so that idle_no_share will also ↵skotlex1-4/+5
disable people in a chat or vending from counting towards the total. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8827 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-20- Fixed party_sub_count (TK_POWER) failing when the idle_no_share setting ↵skotlex2-3/+9
was disabled. - Enabled Star Gladiators and Soul Linkers to do /doridori git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8824 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-20- Fixed nocommand mapflag causing the "you can't use commands on this map" ↵skotlex2-18/+22
message to trigger one very single chat, instead of only for actual @/# command invocation. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8817 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-19- Added support for skipping empty string menu entries for the select() ↵skotlex1-1/+6
command (just as `menu` has it already) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8816 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-19- Corrected undisguise not working if you don't pass any parameters to it ↵skotlex1-1/+1
(which is how it should be) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8814 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-19- Fixed pc_set_hate_mob letting you place mobs on any of the three positions ↵skotlex1-0/+2
regardless of size :/ git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8813 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-19- Made the report_Src function also report name of non-bl objects.skotlex7-36/+19
- 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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8812 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-19- Simplified the code for @storageskotlex2-12/+24
- 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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8810 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-19- Fixed Spider Web fire damage bonus.skotlex2-13/+12
- 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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8801 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-18- High-Jump is usable everywhere now, except that on maps where it ↵skotlex3-18/+25
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8797 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-18- Moved the equipment/card resistances to status ailments outside of ↵skotlex2-12/+15
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8795 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-18- Modified the Asura code (again), hopefully movement sprite issues are ↵skotlex2-5/+23
fixed now git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8793 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-18- Reloading scripts will no longer eliminate mobs with no respawn data. ↵skotlex3-15/+13
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8792 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-18- Reenabled client requesting to self mute, as the whole knockback packet ↵skotlex1-4/+2
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8787 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-17- Fixed NPC_INVISIBLE's cloak ending after attacking once.skotlex4-13/+10
- 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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8782 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-16- Moved some speed adjustments in status_calc_pc to where they belong.skotlex1-8/+8
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8781 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-16- Added monster_ai&256. When set, a monster will pick a random starting ↵skotlex1-2/+2
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8778 54d463be-8e91-2dee-dedb-b68131a5f0ec