summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2006-08-08- Fixed yet again AS_SPLASHER doing full damage on all characters. Now you ↵skotlex5-51/+52
can use the NK split damage value in the skill_db if you want damage divided by the amount of targets rather than by 2. - Fixed crash on the battle_drain functions. - Cleaned up HAMI_CASTLE, HLIF_AVOID, HAMI_DEFENCE so that it's usable by other types of objects other than Homunculus. - Cleaned up the Asura Strike code so that the SP/Spheres/States is not consumed when the skill fails due to Fog of Wall. - When a negative delay for a skill is specified, this delay is now added on top of the character's amotion rather than adelay - Modified main.sql to make the guild table allow NULL on the emblem data. - Added file conf-tmpl/Changelog.txt git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8185 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-08- Fixed the login-sql server replying to the change-sex packet with the ↵skotlex3-3/+5
wrong gender, causing the char-server to screw-up job-change updates. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8180 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-08- Cleaned up the apparent mess that is pc_skill. Hopefully it SHOULD fix as ↵skotlex1-12/+29
described on the docs now, this should also fix adopting not correctly giving the family-related skills. The flag value of skill should be: 0 to set the skill (if skill level is 0, this removes a learned skill), 1 grants the skill as an item bonus which is temporary, and 2 will add a skill bonus like 1, except the skill level adds up to whatever level already known of that skill. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8179 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-08- Changed define EQP_WEAPON to specify only the right-hand weapon, added ↵skotlex5-16/+15
define EQP_ARMS to specify both arm-slots. - Some minor code cleanups to take account for the above, fixed Strip shield/weapon removing both. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8177 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-07- Cleaned up the Asura code so that when the skill fails your ↵skotlex2-10/+35
SP/Spheres/Fury are all taken away always, as well as moving you next to the target (as long as the target still exists within a reachable path from your position) - SC_GUILDAURA is now removed on logout. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8175 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-07- Fixed Venom Splasher doing half-damage instead of full-damage to the ↵skotlex1-1/+1
"exploding" character. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8174 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-07- Hopefully fixed the party_even_share cast-overflow bug as reported by Adobe.skotlex2-5/+2
- Standarized the autosave interval setting to be always in seconds regardless of type. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8172 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-07- Removed the setting of blow-count to 0 when the target is a boss on the ↵skotlex2-13/+5
battle_calc_* functions, now skill_blown will fail when the source is different from the target and the target is a boss. - Some parenthesis cleanup before invoking battle_calc_base_damage, could be fixing the current issue with arrow attacks not adding the arrow damage. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8170 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-07- Fixed the map_search_freecell error which was making mobs fail to respawn.skotlex1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8169 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-07- Added in Lupus's suggestion of not making multi-slot headgears set all ↵skotlex1-10/+13
slot view-ids, which supposedly causes the client to re-draw the headgear multiple times on characters. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8168 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-07- Cleaned some of mpeg's updated work.skotlex5-58/+53
- Fixed HT_BLITZBEAT hitting neutral characters when it auto-triggers. - Simplified the Tatami Gaeshi code. - Fixed AS_SPLASHER doing full damage on everyone except targetted char instead of the other way around. - Fixed KAENSIN clearing out SUITON cells and viceversa. - The spawn area is now seen as range rather than absolute for mob spawn lines. This means that x,y,10,10 will spawn the mob on a 21x21 grid around the given x,y point. - Some clean up of the mob-spawn code. Now you can specify negative areas, so that a spawn location such as 100,150,0,-1 will spawn a mob always on x=100, but any Y value of the current map. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8165 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-07- Some code cleaning in status.cskotlex4-37/+14
- Reflected damage will now also have a chance of draining hp/sp. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8164 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-07- Adjusted the order in which option/sc change packets are sent to match Aegis'sskotlex2-6/+62
- Added script command getpartyleader through which you can retrieve various information of a party's leader. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8162 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-07mpeg's ninja workVicious5-131/+80
http://gpegon.free.fr/ea/ninja_08-07-06_mpeg.txt git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8160 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-07- Adjusted Battle_check_target so that alchemist summoned mobs are targetted ↵skotlex4-14/+33
by everyone as long as 1. The top-level master is a player and 2. the actual attacker is not a mob-type. - Added config force_random_spawn which overrides the spawn-files defined coordinates to make all mobs always spawn randomly on the map. - SC_SPEEDUP0 is no longer dispellable by SA_DISPEL git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8159 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-06Updated item_db.sql to latest.toms1-20/+17
Little fixes on homunc (hp/sp are now saved and init stats changed) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8154 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-05- Fixed a compile warning.skotlex2-1/+4
- Added a commented piece of code in clif_parse_LoadEndAck which will update your direction to wherever you were facing before warping. Should this be the default? Nearby people DO see you facing on the same direction before warping, it's only yourself that will always see you facing north on spawn. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8143 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-05- Updated @mobinfo to display slots in the drop information.skotlex1-7/+8
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8141 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-04- Fixed flag.elefix not being respected in battle_calc_misc_damage.skotlex1-9/+9
- Some code cleanups in battle_calc_damage. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8139 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-04- Changed function itemdb_group to itemdb_group_bonus, it now calculates the ↵skotlex5-32/+42
total group bonuses of a player for a given item. - Changed itemhealrate to itemgrouphealrate, added a structure itemhealrate to allow storing item-healing bonuses per item. - Modified bAddItemHealRate so it can receive both item-id and item-group values (since the first item-id is +500, there's no risk of mixing them up). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8136 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-04- Removed settings enemy_critical_rate, homun_critical_rate. Added settings ↵skotlex7-80/+64
enable_critical (defaults to specify only players), mob_critical_rate and critical_rate. The last applies to all non-mobs and non-players (battle/battle.conf) - Removed settings mob_npc_warp, mob_warpportal. Replaced with setting mob_warp which specifies which types of warp can a mob step into (battle/monster.conf) - Updated status_calc_misc so that it also handles the BL_PC case, removed redundant info from status_calc_pc, and moving the SNovice Max Hp bonus to status_base_pc_maxhp git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8135 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-04- Some minor code cleanups.skotlex2-30/+8
- Cleaned up skill code for NJ_BAKUENRYU - Unified splash-damage packet display for NJ_HUUMA and other splash skills (like Brandish spear) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8134 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-04- Enabled Mastery damage on Soul Breaker again, moved adv katar mastery out ↵skotlex13-109/+60
of the mastery function so that it may apply to all skills except Soul Breaker. - Changed name of the setting log_pick to log_filter since that's what it does now. - Modified enable_logs so that instead of a 0/1 setting, you can specify which kind of events to log (so you can use a combination), see log_athena for the bitmask configuration. - Cleaned a bit the contents of log_athena.conf git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8129 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-04- Hide/Chasewalk will again stop screaming skill name (I guess displaying ↵skotlex2-3/+6
the skill animation wasn't such a good idea afterall) - Soul Breaker will no longer receive Mastery damage. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8126 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-04Fixed warning:'type' might be used uninitialized in this functiontoms1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8123 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-03- Added a check to skip the experience share of characters who are dead or ↵skotlex1-0/+3
on another map. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8117 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-03- Reverted the previous change, chasewalk has no icon, only the str-bonus ↵skotlex3-3/+4
has that fist icon now. - Allowed chase-walk to display a skill animation when using it. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8115 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-03- Readjusted the Chasewalk icon to be as it should be.skotlex3-3/+6
- GS_DESPERADO is now a short-range attack skill. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8114 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-03- Changed the Battle-Orders icon to be the Strength Up icon (for Chasewalk's ↵skotlex2-3/+4
str bonus). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8113 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-03- GAHH, I am sick tired of typing TBL_HOMUNCULUS/BL_HOMUNCULUS all over the ↵skotlex10-74/+80
place. The idea is that the TBL* versions are supposed to be easier to use than the standard structure definition, but using TBL_HOMUNCULUS as an alias to struct homun_data kinda beats the purpose! Renamed them all to TBL_HOM/BL_HOM. - Fixed using the right-hand weapon's size modifiers regardless of which weapon was being used. - Simplified the ignore-size check by making the Weapon Perfection check be done when specifying the flag, also moved the size-fix property of riding spear-knights to status_calc_pc. - Removed variable hd from status_calc_bl as it's not needed. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8112 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-03- Moved SI_CHASEWALK to 119 as concluded by LoneWolfskotlex1-1/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8110 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-03- Corrected clif.c sending the raw mdef2 value to the client instead of ↵skotlex1-2/+2
first substracting the "secret vit/2" bonus from it. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8109 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-03- Added a damage cap to CR_ACIDDEMONSTRATION of INT_MAX/2 to prevent ↵skotlex1-0/+4
overflows. It is not capped to INT_MAX because damage increasing skills would cause it to still over flow afterwards. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8107 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-03- Fixed NPC_CRITICALSLASH not being considered as a Critical hit by the code.skotlex1-0/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8105 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-03- Added RUDE_ATTACKED_COUNT so you can easily adjust how many rude-attacks ↵skotlex2-6/+10
should happen before a mob uses the rude-attacked skill. Value has been set to 2 for now. - Now when a mob changes target (to someone they can hit) their rude-attacked count won't be reset, but instead will be reduced by one. - SC_SPEEDUP0 can now stack with the other speed raising buffs. - Changed the inf2 value of SA_DISPEL so it can be casted on party/guild mates, but not yourself. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8104 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-03- Some adjustments so that the last-skill-used will be correctly cleared ↵skotlex1-3/+3
when your combo-time ends. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8101 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-03Fix a bug in atcommand_charspeedtoms1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8100 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-03Cooking fixDracoRPG1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8097 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-03- Cleaned up the last NJ update code.skotlex7-26/+72
- Added @ command `charspeed` - Fixed @jailfor using MAP_PRONTERA as jail instead of MAP_JAIL - Removed case for GS_SPREADATTACK on damage packets to see if the skill displays correctly now. - Corrected Deluge/Volcano/V. Gale overlaps so that the placing tiles are removed, NOT the ones who were already placed. - Made SC_SPEEDUP0 and SC_SPEEDUP1 use different icon IDs, to fix icon-confusion when both are enabled at a time. - Mob rude-attacked count is not reset now on picking a new char (gotta investigate this further) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8096 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-03Changed atoi to strtoul for guild-experience's fieldtoms1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8090 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-03Fixed a bug in int_storage.c, temp array doesn't have the good sizetoms1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8088 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-03- Modified yet again SC_SILENCE after iRO tests from Entwined on IRC. ↵skotlex1-4/+5
Silence now ONLY blocks skills from being used, it will not stop on-going casts. - Updated status_cast_cancel to also include silence (so the cast bar is cancelled if you are silenced during it) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8086 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-03- Updated the way SC_SILENCE works. From what I remember (from previous ↵skotlex1-3/+2
forum discussions) it: 1- Always blocks skills from being used. 2- Will only block a skill when the cast-bar ends IF the skill is targetted. If anyone wants to debate to get this changed, make an appropiate forum topic in the svn development area to discuss. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8083 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-03- Moved Full Buster blind penalty to skill_counter_additional_effectskotlex2-9/+9
- Added a dummy blind duration of 10 secs to FullBuster. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8082 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-02- Added a check in the walking code when triggering skills. ↵skotlex1-3/+8
NPC_SELFDESTRUCTION will no longer cancel walking, it will instead resend the walk packet, this effectively causes the mob to start walking (clientside) while the cast-bar is showing. - Updated the mob skills so that the marine sphere casts self-destruction with 3 second cast after it starts walking. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8079 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-02- Fixed a logic error on battle_get_master which was causing infinite ↵skotlex1-8/+8
loops... ~.~ git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8077 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-02Fixed homunculus error messagetoms1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8073 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-02- Rewrote pc_payzeny to not use doubles, it may more accurately prevent ↵skotlex2-7/+9
charging a player more zeny than they can withhold. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8072 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-02- Fixed failing to create Deadly Poison Bottles damaging 50% of your max ↵skotlex2-3/+3
life instead of 25% - Added the missing status-change flags to SC_FREEZE to signal it should modify def and magic def git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8070 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-02Little add on NJ_HUUMAtoms1-0/+9
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8069 54d463be-8e91-2dee-dedb-b68131a5f0ec