356 Commits

Author SHA1 Message Date
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
3c5c104561 - Modified the login SQL server so that case insensitive lookups use "where name = BINARY 'name'" instead of "where BINARY name = 'name'", since this way the name index should be used, and performance will no longer be heavily affected.
- Modified main.sql to add 4 missing indexes (thanks to ErkDog): char_id on the tables memo/friends, and online/name on the char table. Added upgrade_svn8728.sql to add these indexes to already existing tables.
- Changed back the default of case-sensitive to ON since it shouldn't be such a bad performance hog now.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8728 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-13 01:07:45 +00:00
skotlex
5af063b223 - Updated convert_engine.sql to use TYPE instead of ENGINE to be compatible with Mysql 4 installations.
- case_sensitive is now off by default due to performance issues.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8726 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-12 21:18:09 +00:00
skotlex
4ab82dd28b - Corrected name of config settings pc_luk_status_def, mob_luk_status_def
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8712 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-12 04:26:21 +00:00
skotlex
e5aacfe978 - CG_MOONLIT is no longer castable in WoE grounds.
- Changed the default of enable_baseatk to 9 (player + homun)
- Changed the default of enable_perfect_flee to 1 (players only)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8708 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-11 20:59:12 +00:00
skotlex
4cd82897d0 - Added a comment explaining what a comment is to login/char/map config files, as well as the main script config file.
- Modified SG_FEEL so that it works the same way that in Aegis (packet-wise)
- Added a comment to explain how to "remove" a string variable from the msg_athena entries.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8707 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-11 16:20:40 +00:00
Lupus
f65ed87611 * Added back Guild Storage. Confirmed kRO feature
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8701 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-11 08:39:41 +00:00
Playtester
eea4e2fc70 Removed noteleport flags from Geffenia maps
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8684 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-09 09:10:21 +00:00
skotlex
50e0a52c9b - Removed sg_miracle_skill_duration, replaced it with sg_miracle_skill_min_duration and sg_miracle_skill_max_duration, to specify a range for the duration of the skill.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8679 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-08 17:56:10 +00:00
skotlex
845659a32d - Changed the default of sg_angel_skill_ratio to 10 based on recent information from Tharis.
- Cleaned up the doridori parse clif function.
- Moved doridori_counter to state.doridori
- Merged some of mpeg's work on NJ skills


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8665 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-07 20:24:41 +00:00
skotlex
a64e58d5eb - Removed the Warmth "stacking" code.
- Added back the effect of /doridori to skill-SP regen
- Implemented a rough version of Angel of the Sun/Moon/Stars, it has a low chance of triggering on doridori-boosted SP-regen events.
- Added sg_angel_skill_ratio to specify rate at which the Angel skill triggers.
- Added unit_cancel_combo which takes care of ending a combo time and resuming normal attack 'inmediately'
- Cleaned up some the SG_HATE code, you can't change hate targets anymore.
- Increased duration of Miracle of the Sun/Moon/Stars to one hour.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8664 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-07 17:40:46 +00:00
Vicious
3fd187d56a Changed gvg_short_attack_damage_rate to 80, as leaked X.2 [Vicious]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8662 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-07 15:49:27 +00:00
skotlex
3e62eb14f6 - Reverted back the default view/chase range of mobs to 100% since eA now uses square view areas, like Aegis.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8654 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-06 14:38:09 +00:00
skotlex
bea0a8c46e - Removed setting mob_show_hp, it's been replaced now by mob_show_info, which can be used to specify what kind of info should be displayed from a mob. Current options are two different formats for Hp display, and current level.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8644 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-05 20:58:27 +00:00
MasterOfMuppets
e028b91ab7 Added some Juperos maps to nosave.txt due to an upcoming update.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8602 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-03 11:30:27 +00:00
skotlex
9976069fdc - Added a missing break in battle_check_target
- Added config setting "partial_name_scan", which specifies whether @ given names should use a partial string lookup or absolute name lookup. Defaults to no (gm.conf)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8578 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-01 15:56:34 +00:00
skotlex
da0c3867d8 - Added setting attack_walk_delay which specifies whether a character should (or not) be able to move inmediately after starting a normal attack (battle.conf). Defaults to 0 since that's what Aegis uses.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8561 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-31 14:46:56 +00:00
skotlex
eac939f439 - Fixed @summon's delete timer being screwed up.
- Cleaned up a bit the summon script command.
- Fixed the clone script command's delete-timer being screwed up.
- Corrected battle config name max_walk_rate, it should be named max_walk_speed.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8559 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-31 14:18:37 +00:00
skotlex
dfac028631 - Added a message to @clearweather stating when climate changes will dispel.
- Corrected @hidenpc saying that it's command name was "@npcoff"
- Updated itemdb reading on the char-sql server so that it reads both item_db and item_db2 files (totally untested yet as I can't compile SQL here x.x)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8545 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-30 13:40:10 +00:00
skotlex
499e88f059 - Mobs will now always chase players using hard-path seeks.
- monster_ai&1 now only signals whether mobs should update their target cell while chasing more frequently (rather than being state-driven like Aegis)
- Changed the defaults of view_range_rate and chase_range_rate to 120 to aproximate better Aegis's view ranges (which are square areas and not circles)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8536 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-29 18:29:37 +00:00
MasterOfMuppets
618542aae5 Some preparations for the upcoming Izlude Arena.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8530 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-29 17:30:19 +00:00
MasterOfMuppets
44be227a53 Reverted the mapflag changes to Lighthalzen. Don't make changes without knowing how it should be!
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8485 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-26 01:05:48 +00:00
skotlex
f3687369e6 - script command "isrefine" will no longer return always false for equip positions above 6 (this has not been needed since the addition of the refine column to tbe item_db many months ago)
- Added NPC_CRITICALSLASH to the list of skills that display as a normal attack.
- Changed the default of clear_skills_on_death to 0


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8473 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-24 19:25:16 +00:00
skotlex
dbedc092e8 - Added setting clear_skills_on_warp to specify when a character's land-based skills are deleted when the caster changes maps. Defaults to all types.
- Should have fixed Brandish Spear not passing the flag to skill_attack, causing it to do miserable damage.
- Warp Portal will no longer be removed when caster steps through it (this is left to the new clear_skills_on_warp setting)
- Cleaned up status_percent_change to switch equations when the target has high hp to prevent overflows, also it will directly take hp/maxhp when a rate of 100 or higher is passed to prevent calculations.
- Traps and Land Elemental fields are no longer automatically removed on map change (handled now by clear_skills_on_warp)
- traps_setting &2 no longer does anything (handled now by blah blah)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8469 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-24 14:49:16 +00:00
Lupus
70e170f745 move Bio ethic to skill quests, fixed bio ethic (let Baby alc+creators learn the skill, too). updated lighthalzen added mapflags. fixed treasure spawn formula
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8463 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-24 04:47:51 +00:00
skotlex
2cf8c82bc7 - Modified the homun-txt file-save format to separate the name from the rest of fields with tabs (like character saving does), this may fix homun save/loading when using non-latin characters on the name, but be warned that it also means the previous homun-data files are lost! (unless you replace the comma before the start of a name with a tab)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8432 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-22 16:05:53 +00:00
Lupus
796497fae5 added char deletion condition by BaseLevel
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8420 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-22 11:27:48 +00:00
toms
ade0103541 Moved homunc battle conf from misc.conf to homunc.conf
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8405 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-21 17:38:53 +00:00
skotlex
fd6e193e90 - Removed config setting "muting_players", and expanded the manner_system config to specify how having negative manner (mute) affects a player (see battle/misc.conf).
- Expanded the pk_mode setting from no/yes to 0/1/2. 1 is normal pk_mode, if 2 is used, it makes killing players give you a loss of 5 manner points.
- Fixed WS_WEAPONREFINE always failing when at less than job 50.
- Fixed a compilation warning in char-txt/int_homun.c


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8402 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-21 16:07:50 +00:00
toms
066765b702 Added homunculus_friendly_rate battle config
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8361 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-19 11:32:41 +00:00
skotlex
91b9fed6e3 - Made HLIF_HEAL a self skill that auto-selects target to caster's master.
- Implemented SC_BLOODLUST and SC_CHANGE, cleaned up HLIF_CHANGE
- Applied a correction to HVAN_EXPLOSION
- Fixed Homun ASPD calculation being able to underflow and give you min speed.
- Added monster_ai&128 to make aggressive mobs ignore that behaviour of always picking Homun targets above player targets regardless of who is closer.
- Fixed homun info packet being unable to display HP/SP correctly once the values are above 32k.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8349 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-18 16:43:20 +00:00
skotlex
64b38ba4b7 - Added guild_aura (skill.conf) setting so you can specify when it works and if it works on the guild-master itself. Defaults to working all the time on everyone except GM.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8342 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-18 14:26:26 +00:00
skotlex
7cd73fc68b - Updated mob_ai so that mobs will use their rude-attacked skill when they can't reach their current target.
- Fixed the default txt config making pets be saved to the homun file instead of to the pet file.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8316 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-16 14:37:00 +00:00
skotlex
c16d90c8a3 - Some cleanup of int_homun.c
- Added homun saving/loading support to char-TXT. Note that this is completely untested, so it may be as good as broken.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8299 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-15 19:44:22 +00:00
skotlex
9c6d56be63 - Asura Strike now moves you to the target on fail always (unless the target does not exists or is in another map or there's a obstacle on the way)
- Corrected skill_attack_area hitting dead characters on it's splash range.
- Swapped the values for OPTION_XMAS and OPTION_FLYING. This should enable SG to show the fly animation again, even if sometimes others will see him as Santa. As for xmas cloth, it shouldn't make much of a difference since the view class is changed to christmas anyway.
- Moved the AM_CALLHOMUN code from castend_id to castend_pos.
- Made AM_CALLHOMUN and AM_RESURRECTHOMUN be like the wedding skills, where they automatically pick a spot around you.
- Cleaned up some the AM_RESURRECTHOMUN code. Hopefully it works now.
- Cleaned up some the hom evolution code.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8292 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-15 15:26:51 +00:00
skotlex
c182e64c0d - Removed support for negative autosave intervals, instead added a minsave_interval setting which specifies which is the minimum time between character saves. Default to 100ms (map_athena.conf).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8280 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-14 20:14:58 +00:00
skotlex
41f2f3ca40 - Increased Run's walk speed bonus to 25->50%
- Modified emergency_call setting to allow for more specific configuration (woe/non-woe, gvg-grounds/non-gvg-grounds, disable from nowarpto maps), see skill.conf for details.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8275 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-14 16:30:14 +00:00
skotlex
1d2c4f8950 - Removed @itemcheck as it was totally pointless.
- Corrected states killer/killable being easily dispellable.
- Fixed the totally wrong text messages being used for @killer/@killable related atcommands, added appropiate entries to msg_athena
- Magic and Misc attacks will now get type "flee" when they do less than 1 damage, this blocks them from causing additional status effects when they are blocked.
- Cleaned up a bit the Basilica code, it should now properly end when you walk.
- Added an unnecessary qty check when inserting cards :P
- Fixed some logs not working when you enabled all logs.
- Corrected unmute being a level 60 command by default (should be 80)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8256 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-13 06:14:27 +00:00
skotlex
2c74fc0254 - Should have fixed the login-sql crash when passed user-name's length is beyond the limit.
- Removed setting mob_ghostring_fix
- Changed setting attack_attr_none to affect all neutral-element attacks. Basicly, this setting is now used to determine who can hit for full damage always when using neutral-attacks (defaults to non-players)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8237 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-10 19:06:13 +00:00
skotlex
3fc01d5169 - Trade requests will now fail when either character is unable to act (character in storage, vending, interacting with an npc, petrified, etc)
- Change the default of attack_attr_none to all classes except players. This means that pet/mobs/homun will always do normal attacks with no-element modifiers (but elemental reduction cards still apply)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8207 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-09 14:42:08 +00:00
skotlex
b62481ed5b - Removed config settings display_delay_skill_fail and display_snatcher_skill_fail, replaced them with display_skill_fail, which can be used to determine whether you hide ALL skill-failed messages, those from delay, those from Snatcher or those from Envenom (battle/skill.conf)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8186 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-08 15:33:18 +00:00
skotlex
ee59874725 - Fixed yet again AS_SPLASHER doing full damage on all characters. Now you 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://svn.code.sf.net/p/rathena/svn/trunk@8185 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-08 15:07:29 +00:00
skotlex
527a7ac223 - Hopefully fixed the party_even_share cast-overflow bug as reported by Adobe.
- Standarized the autosave interval setting to be always in seconds regardless of type.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8172 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-07 19:48:27 +00:00
skotlex
8fa60b9249 - Adjusted Battle_check_target so that alchemist summoned mobs are targetted 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://svn.code.sf.net/p/rathena/svn/trunk@8159 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-07 14:38:23 +00:00
skotlex
5ef4f71588 - Removed settings enemy_critical_rate, homun_critical_rate. Added settings 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://svn.code.sf.net/p/rathena/svn/trunk@8135 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-04 19:30:15 +00:00
skotlex
8c98388bc5 - Enabled Mastery damage on Soul Breaker again, moved adv katar mastery out 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://svn.code.sf.net/p/rathena/svn/trunk@8129 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-04 16:38:54 +00:00
skotlex
aebca964db - Modified yet again SC_SILENCE after iRO tests from Entwined on IRC. 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://svn.code.sf.net/p/rathena/svn/trunk@8086 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-03 01:50:40 +00:00
toms
c68d6a5717 Fixed homunculus error message
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8073 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-02 21:34:01 +00:00
Playtester
144eaf0a1a Now you can teleport in Thanatos Boss room, but you can't respawn there
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8063 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-02 17:45:33 +00:00
skotlex
56c9df875c - Cleaned up some more the SC_JAILED code
- merged in atcommands jailfor, jailtime, charjailtime. Thanks to Meruru and Coltaro for the code.
- Cleaned the code of atcommnds jail and unjail
- Be warned that the code MAY contain bugs as I adjusted it to save the character's position before jailing, allowing the automatic unjailing to warp you back to the exact spot you were at before being jailed.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8038 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-01 17:59:34 +00:00