374 Commits

Author SHA1 Message Date
skotlex
b8d25efdf3 - Added the Monk combos to skill_castnodex so their delay is not decreased 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://svn.code.sf.net/p/rathena/svn/trunk@9012 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-19 16:21:09 +00:00
skotlex
aff9db38f1 - Added monster_noteleport mapflag to the guild castles maps to prevent "avoiding MVPs" by forcing them to teleport from rude-attacks.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9006 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-18 16:11:25 +00:00
skotlex
9860974ef6 - Emergency call &16 (disable skill from nowarpto maps) will now NOT block 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://svn.code.sf.net/p/rathena/svn/trunk@9000 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-16 19:16:16 +00:00
Playtester
bd9d16893f Added Homunculus atcommands
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8975 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-12 19:12:04 +00:00
skotlex
97e1989395 - Removed useless inter_athena settings (they were doing absolutely nothing): read_gm_interval, gm_db, gm_db_level, gm_db_account_id, use_new_sql_db
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8968 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-11 20:05:55 +00:00
skotlex
13dc720b21 - sc_cast_cancel is now a type 4 setting.
- Fixed SC_NOCHAT printing the "skills are now available" message twice on natural expiration.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8953 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-09 18:55:43 +00:00
skotlex
30888904c1 - Removed gm_all_skill_add_abra which was doing nothing anyway.
- Updated Land Protector to block absolutely every land-based skills with the exception of Encores/Dances.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8948 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-06 18:28:03 +00:00
skotlex
746aae171c - Renamed setting delay_dependon_dex to delay_dependon_agi, the delay of skills is reduced now (when enabled) by AGI instead of DEX, which makes a lot more sense than DEX.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8923 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-03 13:54:51 +00:00
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
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
Lupus
8cf402bcf2 added showmobs from STABLE, typo fix
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8822 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-20 09:45:55 +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
da13939d47 - Merged Meruru's update to socket.c, which includes a rewritten parse function, which should hopefully be more efficient than the previous code.
- The new code includes support for two config settings (packet_athena.txt): frame_size, which can be used to alter the logic packet-size allowed by the code, and mode_neg, which when set to yes, sets TCP_NODELAY on all connections (defaults to yes).


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8799 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-18 22:28:07 +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
98466dbf0e - Forgot to add mob_ai&256 info to the conf changelog.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8780 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-16 23:43:27 +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
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
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