summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2006-10-28- Fixed mob-skill event "skillused" not triggering at all.skotlex4-6/+5
- Summoned mobs will only be removed from a map if their master is also removed (dynamic mobs) - Minor cleanups git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9088 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-27modified src/map/npc.cLance1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9085 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-27* Experimental tweak to npc_parse_function - Overwrite existing functions.Lance1-4/+11
modified Changelog-Trunk.txt modified src/map/npc.c git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9084 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-25- Cleaned up some more the event dequeue code, it will no longer clear out ↵skotlex4-44/+24
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9073 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-25- Some cleaning of the pc_eventtimer and pc enqueue code, it should fix some ↵skotlex3-27/+22
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9072 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-25- Fixed "skill_sp_override_grffile: yes" causing crashes when parsing ↵skotlex1-1/+7
Homuncuus/Guild skills. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9069 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-25- Made the exp bonus settings be adjustable:skotlex6-26/+54
- 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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9067 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-25- MG_STONECURSE and NPC_PETRIFYATTACK now use time1 to specify the ↵skotlex3-4/+11
"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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9066 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-25final clone maps -> original maps change. also fixed novice grounds map in ↵Lupus3-4/+4
char.c. fixed socked_enchant npc git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9064 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-24- Removed again your mdef reducing "petrifying" time as apparently it can't ↵skotlex2-9/+1
be reduced by mdef. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9059 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-24- Cleaned up the "show_steal_in_party" setting so it only takes effect when ↵skotlex3-64/+48
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9057 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-23- char_family now returns the char_id of the children when previously it ↵skotlex4-29/+39
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9049 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-23- Double Casting will no longer fail when used.skotlex1-10/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9048 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-23- Modified SC_STONE so that the duration of the "petrifying" time is 5 secs ↵skotlex1-0/+9
reduced by your natural resistance to petrify (which is mdef%) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9047 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-23- Removed useless variable in char-txt from-str char loading.skotlex1-13/+13
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9046 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-23- Modified the meaning of the third column in the skill_require_db. Instead ↵skotlex1-2/+6
of MaxHP, this is now called MaxHPTrigger. This column (which was previously unused by all skills) signals the limit HP% that you can have to be able to use the skill. For example, setting it to 20 means the skill is unusable if you have more than 20% life (not that this is merely a threshold setting, it won't actually substract HP when used!) - Adjusted LK_BERSERK so you can only use it when you have 20% or less life. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9045 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-23- Removed NJ_TOBIDOUGU adding damage to W_HUUMA weapons which somehow got ↵skotlex5-8/+7
readded. - When nonplayers use Cloaking, it will be forced to level 10 since mobs shouldn't have movement/attack restrictions while walking cloaked. - Should fix a warning in int_homun.c git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9043 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-21clif_fixpos -> clif_slide in HAMI_CASTLE codeblackhole891-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9039 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-21- Some minor cleanupsskotlex2-25/+20
- Fixed the Homunc not spawning next to you after receiving it's data from the char-server. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9035 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-20- Fixed Charge Atk being able to go through chasm/pits.skotlex16-490/+338
- Moved the homunculus DB information from the player structure to the homun structure. Modified the homunculus creation packets to hold this information during creation, also, all initial values are handled by the map-server, the char server only assigns it a homun ID. - Removed target_id/attacked_id from homun_data as it wasn't really used. - Codes cleanup (removing of commented code mostly) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9031 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-20- Added config setting "summon_flora_setting", which it you can decide now ↵skotlex5-11/+26
two things: a. Whether or not players can harm your floras outside versus grounds, and b. Whether or not you can summon out and mix different types of plants at the same time. - Likely fixed pc_steal_item always failing to steal (it was attempting to steal random item IDs...) - Cleaned up a bit the mob on-death event so that when the killer is a homunculus, it's master will be taken. Also, the variable killerrid will be set before running the script to specify who delivered the final blow. If the killerrid matches with the script attached player, you can be sure your player did the final blow to the mob, otherwise, the attached player is who did the most damage to the mob. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9026 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-19- Cleaned up the log.c file.skotlex11-153/+190
- Splitted log_pick into log_pick_pc and log_pick_mob to avoid ugly type-casting. - Fixed log_chat not recording anything if the server is compiled in SQL mode and sql_logs is turned off (it should then record to a plain txt file) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9017 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-19- Corrected a compilation error.skotlex3-12/+15
- Fixed SG_FRIEND, it should be triggering when Monks do Combo Finish (not triple blows), and the trigger rate increase should be based on your known level of SG_FRIEND, NOT TK_COUNTER. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9013 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-19- Added the Monk combos to skill_castnodex so their delay is not decreased ↵skotlex3-78/+72
by skills. - Added the actual skill delay of 1000ms to Triple Attack and Chain combo in skill_cast_db. Added Combo Finish and TigerFist as well with a delay of 700ms. - Phantasmic arrow now knockbacks even if it misses. - Adjusted the way Monk combo times work. The combo time is now always 300ms (adjusted by combo_delay_rate) which takes effect inmediately AFTER your current skill's canact-delay (which is why the particular skill delays were moved to skillcast_db) - Modified skill_delayfix so it performs the can-act reduction from agi/dex for combos there. - Modified pc_steal_item so that it behaves more closely to the way it does on Aegis. - Commented out the monster_noteleport mapflag from the guild castles as this is the Aegis behaviour git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9012 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-18- Added a overflow check when calculating party exp share.skotlex1-0/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9010 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-16- Adjusted UTSUSEMI/BUNSINJYUTSU so that they block range/melee weapon ↵skotlex2-3/+4
attacks and only melee misc attacks. This isn't 100% correct, but it's a better approximation to the way these skills behave. - Corrected issen's range to 5, as per the login packet information. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9001 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-16- Emergency call &16 (disable skill from nowarpto maps) will now NOT block ↵skotlex1-1/+1
Emergency Call if that map is also a gvg-castle map. Makes it safe to turn on this option to prevent usage from special maps (like Lhz3) without crippling the skill during WoE. - Added &16 to the default of the emergency_call setting. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9000 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-16- Applied most of Mpeg's work on Ninja Skills. For information see: ↵skotlex3-82/+76
http://gpegon.free.fr/ea/ninja_10-15-06_mpeg.txt git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8999 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-16- When reinvoking a combo-time, the previous combo time will be terminated.skotlex3-4/+6
- Fixed Esma-state not ending after casting it. - Fixed @hominfo displaying intimacy on a 1/10k scale. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8997 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-14Homun info window to display crit valueVicious1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8993 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-13- Sight Blaster will not end after hitting 1 enemy if there's several ↵skotlex1-7/+5
enemies within range, it will first knock them all back, and then end (as reported by AuronX) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8983 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-13- Base attack for non players is now calculated as str + [str/10]^2 (it does ↵skotlex2-14/+21
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8981 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-13- Corrected Throw Arrow/Musical Strike's damage formulaskotlex3-17/+19
- 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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8978 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-12- made @killmonster make the mobs drop items again.skotlex1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8976 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-12- Added a temporary message when Angel of the Sun, Moon and Stars trigger so ↵skotlex1-0/+1
you know it triggered. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8974 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-12- Corrected Caprice cast info. No cast time, delay time equal to the bolt ↵skotlex2-10/+19
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8972 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-11- Removed login-sql connection variables from the map-server (the hell, ↵skotlex2-35/+0
these aren't used at all!) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8969 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-11- Removed useless inter_athena settings (they were doing absolutely ↵skotlex2-20/+0
nothing): read_gm_interval, gm_db, gm_db_level, gm_db_account_id, use_new_sql_db git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8968 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-11- Cleaned up unitattack, unittalk and unitdeadsitskotlex5-123/+77
- 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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8967 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-11- Corrected the mob damagelog structure so that you can't exploit it by ↵skotlex2-50/+37
switching characters. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8963 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-10- Fixed crash when char-server sends to a "random" map-server online on connect.skotlex1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8960 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-10- Should have fixed being petrified not reducing your defense and ↵skotlex2-8/+5
increaseing your mdef. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8958 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-09- sc_cast_cancel is now a type 4 setting.skotlex2-10/+8
- Fixed SC_NOCHAT printing the "skills are now available" message twice on natural expiration. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8953 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-06- Removed gm_all_skill_add_abra which was doing nothing anyway.skotlex3-4/+6
- Updated Land Protector to block absolutely every land-based skills with the exception of Encores/Dances. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8948 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-06- Disabling status abnormalities will now reset a mob's target.skotlex2-9/+7
- 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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8945 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-06- Now you can trade while in a chatroom.skotlex2-4/+4
- Fixed homun-txt reading when the file has DOS line-type delimiters (\r\n) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8944 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-05- skill_blown will now trigger on-touch npcs on the landing tile.skotlex3-5/+16
- Max trade distance has been reduced from 5 to 2. - Undisguising will now resend the cart-contents. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8940 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-05- Added function npc_unload_duplicates(), it unloads all npcs that are a ↵skotlex3-0/+23
duplicate of the passed one. For use with @unloadnpc to prevent crashes when you unload the npc that has duplicates. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8939 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-04- Bowling bash now always hits twice regardless of situation.skotlex3-12/+16
- Added an underflow check to prevent sending to the client negative mdef2 value (for Frenzy'ed characters) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8934 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-04- Modified pc_jobchange so that it automatically removes ↵skotlex2-6/+22
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