97 Commits

Author SHA1 Message Date
Inkfish
1d90917604 * Implemented script command "areamobuseskill" and skill NPC_INVINCIBLE and NPC_INVINCIBLEOFF. (topic:217330)
* Using items no longer cancels invincibility(but using target and ground skills through items does). (bugreport:3259)
* Fixed Butterfly Wings not working during GVG. (bugreport:3264)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13897 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-19 13:26:50 +00:00
Inkfish
4a786aef74 Fixed bHPGainValue and bSPGainValue worked on all types of attacks and was only activated on mob's death.(bugreport:3193) [Inkfish]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13863 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-08 13:47:32 +00:00
Inkfish
5f16111215 * Added a configuration for whether damage of EarthQuake with single target can be reflected.
* Fixed Wizard Spirit can block reflected magical damage other than Kaite's.(bugreport:3161)
* Fixed Kaite works against bosses.(follow up to r13857)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13860 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-08 12:30:42 +00:00
Inkfish
f090bdbdbc * Added a new battle flag for telling which skills can have bHealPower effect.
* Added documentation for bHealPower.
* Fixed some behaviors for healing skills, (thanks to L0ne_W0lf)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13821 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-29 14:25:14 +00:00
Inkfish
1a70b702c8 * More logical modifications on skill_additional_effect thing. Thanks to ultramage.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13771 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-14 16:15:17 +00:00
skotlex
3db650ec38 - Corrected the attack_attr_none setting to behave as it should: for those whom it is set, their "innate" attack element is "not elemental", meaning it deals 100% against all elements (rather than making only NEUTRAL attacks become not elemental).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13676 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-16 19:36:16 +00:00
ultramage
66f7ed7239 Inverted the way monster_ai 0x200 works, default is 0 again (followup to r13667).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13668 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-11 17:06:24 +00:00
L0ne_W0lf
79907d22b4 Default value for monster_ai is now 0x200.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13667 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-10 20:36:13 +00:00
ultramage
945ba4b5b5 Added missing pet_equip_min_friendly config option (followup to r13491).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13645 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-31 12:59:28 +00:00
zephyrus
5ddd4d08fe - Implementing official battleground "emblem" crossed swords icon.
- Removing the custom guild packets from Battleground as they are not needed anymore.
- Scripts updated.
- In this way, you get "battle cursor" over your same team, but that's how official does.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13635 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-29 16:49:52 +00:00
Sara
0073a977c0 Some more fixes to my buggy commit -.-;
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13621 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-24 10:07:56 +00:00
Sara
ec71074b97 git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13620 54d463be-8e91-2dee-dedb-b68131a5f0ec 2009-03-24 09:20:12 +00:00
Sara
b3860fdc01 * Added support for new status change packet, uses new setting display_status_timers in client.conf.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13613 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-24 01:56:16 +00:00
ultramage
9c6c292775 Small edits to battleground code (bugreport:2816)
- removed bg_idle_announce setting (could be considered later)
- moved crystal protection code to battle_calc_bg_damage
- removed mob state 'inmunity' in favor of a script-based solution
- removed unneeded 'setmobdata' (fixes collision with mob controller)
- added svn:eol-style native for battleground code

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13565 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-04 17:26:07 +00:00
zephyrus
2511a7069f - Second Part of BattleGround Implementation.
* Still need to merge visual studio files and scripts.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13551 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-02-26 21:40:34 +00:00
L0ne_W0lf
9b5bfcf8c5 Changed guild_skill_relog_delay to yes. Relogging no longer resets delay on guild skills.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13494 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-26 05:00:15 +00:00
akrus
19334d3e8f * Updated: added info about latest packet_ver flag in client.conf (bugreport:2415) [akrus]
( wheee~ hope I'll have time now to commit several fixes, kisses to everyone in IRC :P )


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13352 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-11-04 12:56:55 +00:00
ultramage
5789db9356 Reverted exp_calc_type back to '0' since it's definitely closer to official behavior than mode '1'.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13268 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-07 17:57:40 +00:00
L0ne_W0lf
7536205e10 Damage count on rebirthed mobs is now reset. (Valaris)
Changed exp_calc_type to 1, as type 0 seems to be based off old rumour, and to compliment the update to mob_revive.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13264 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-06 20:17:26 +00:00
L0ne_W0lf
a22dbab8ac Modified homunculus auto-vapor setting to yes. (bugreport:2298)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13253 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-01 23:10:14 +00:00
zephyrus
5acebe170f - Starting Mercenary Skill implementation.
- MS_BASH Completed.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13189 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-09-03 13:32:38 +00:00
ultramage
efef65a62f Applied one missed conf setting rename (followup to r13077).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13080 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-15 11:08:21 +00:00
sketchyphoenix
61743c4dc6 * Removed gm_cant_party_max_lv. It now uses gm_cant_party_min_lv as the threshold. (bugreport:2051)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13077 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-15 00:11:16 +00:00
sketchyphoenix
f32ca3d261 * Added another GM trust config for party invitations (bugreport:2004)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13051 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-07 21:07:31 +00:00
ultramage
106b44c1e7 Merged the /loginmerge branch (topic:192754)
* the login server storage, ipban and logging systems have been abstracted and now provide a common interface; the rest has been merged into a single login server core (no more login/login_sql duplicity)
 * storage systems are now added via compiler options (WITH_SQL / WITH_TXT)
 * multiple storage engines can be compiled in at the same time, and the config option account.engine defines which one will be used.
 * due to MySQL autoincrement limitations, accounts with id '0' will not be supported; account IDs from this point on should start from '1'.
 * login_log() functions now again record IP addresses in dotted format, not as 4-byte integers (undo from r6868).
 * removed config options that defined column names in the login table
 * removed `memo` and `error message` columns from login db/savefile
 * moved `loginlog` table to the logs database
 * added sql files upgrade_svn12975.sql and upgrade_svn12975_log.sql
 * due to changes to the login table layout, I added an !optional! sql file (upgrade_svn12975_view.sql) that will provide a certain degree of backwards compatibility with existing software; read the instructions inside carefully!
 * moved third-party includes/libs to a separate directory
 * updated project files / makefiles

Changed the way GM levels are handled
 * removed conf/gm_account.txt
 * added the gm level column to the txt savefile (after 'email' column)
 * gm level information is now transferred along with account data
 
For open problems see bugreport:1889.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13000 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-26 20:45:57 +00:00
ultramage
03d91b511f Increased max. hairstyle number, 23 -> 25 (bugreport:1773)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12986 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-23 16:23:06 +00:00
L0ne_W0lf
cce663f625 * Homunculus will no longer auto-vaporize on master death.
- Added config option to allow for this to be turned on or off.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12912 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-04 20:44:33 +00:00
ultramage
37ddd1c503 Added Ai4rei's "gm can view all players' equips" feature (topic:186519).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12751 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-01 08:14:47 +00:00
L0ne_W0lf
712ec37880 Updated castle DB to be compliant with new WoE scripts.
Updated gvg_eliminate_time comment to reflect use in new Woe scripts.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12674 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-28 23:51:11 +00:00
ultramage
b7b80e5c97 Implemented config setting 'vending_over_max', to let people configure the behavior of vending items over the MAX_ZENY limit.
Default/official setting is 'yes', which makes players lose zeny that they cannot hold. Adjust as needed.
This re-adds the behavior from before r11344 (see topic:180568).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12614 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-18 08:12:55 +00:00
skotlex
d6eb67c6c4 - Modified attack_walk_delay so it behaves on a 'per-object' basis, and changed the default to 15 (all types).
- Modified battle_delay_damage so damage is not delayed more than one second for non-player attacks. 
- Modified party_member_added with a hack so that the clif functions will send the info of the new member since party_recv_info has not yet arrived.
- Updated clif_calc_delay so the type sent to the client is based on the number of hits of the skill (as Aegis packets reveal)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12332 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-09 20:11:14 +00:00
zephyrus
83deaf5e43 - Added battle/misc.conf auction settings.
- Fixed a typo in auction script.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12327 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-08 20:37:38 +00:00
skotlex
92960a166f - Added config settings mob_active_time and boss_active_time, what they do is specify a duration during which monsters will keep running their active AI after all players have left their vecinity. Their current defaults are set to 0 (disabled).
-  Script induced status changes can now be reduced by stats/cards (but only trigger rate is reduced, not duration)
- Battle delay timers will now check if the target player has the invincible timer active or not.
- Adjusted mob_ai_sub_hard to return a bool indicating whether the AI was executed or not.
- Adjusted clif_damage and clif_skill_damage to set the endure type value based on dmotion and damage, rather than hardchecking for SC_ENDURE.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12315 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-07 15:02:32 +00:00
ultramage
8e63c21d2e * Fixed Apple of Idun not checking for bard soul link (bugreport:1028)
* Fixed Advanced Adrenaline Rush not working barehanded (bugreport:1049)
 * Disabled idle_no_autoloot setting (bugreport:1051)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12248 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-27 14:48:50 +00:00
zephyrus
3868080ead - Added new settings for autotrade on battle/misc.conf (you can read descriptions there).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12243 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-26 22:14:05 +00:00
zephyrus
69ae4766ce - Added some new config settings: homunculus_autoloot, idle_no_autoloot, max_guild_alliance.
- Added a code to activate a Kill Steal protection and the required mapflags.
* (I will explain this later on forums).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12203 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-14 01:18:19 +00:00
skotlex
78e24d1e09 - Removed hom_setting&02 (ignore skill range) as this was fixed by Gravity some time ago.
- Moved pc_delinvincibletimer from unit_removemap to unit_free as the previous method has a logic glitch that could cause an on-place event to trigger after the on-left event. 


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12130 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-22 13:13:57 +00:00
skotlex
614c28dbf9 - Removed 'skill_steal_type' from skill.conf as said config no longer exists.
- Corrected @slaveclone/@clone behaving as @evilclone when you change the @ symbol.
- Modified SC_ARMOR_ELEMENT so it grants elemental resist as if it they were card granted bonuses.
- fixed a SA_DISPELL crash when casted on an object with no status changes.
- Adjusted the autospell code so that it does not relies on card_id == 0 for subtracting rates.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12041 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-10 13:10:13 +00:00
ultramage
560005b13e Removed battle_config.error_log as console_silent already handles this
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11751 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-17 20:51:25 +00:00
ultramage
804edb29f7 Fixed homunculus skills having unlimited range instead of being capped to view_distance+1 (for details see bugreport:376)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11723 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-12 11:19:24 +00:00
skotlex
788ccb51b6 - hom_setting&0x2 now disables skill range checks for homunculus. For the love of everything that is sinful, please unset this on your server.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11717 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-11 11:16:48 +00:00
zephyrus
bec0f75b57 - Added a new setting 'guild_skill_relog_delay' to activate the guild skills delay on Guild Master relog.
- The official setting is 'No', but this is an option for game masters.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11699 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-08 17:39:40 +00:00
skotlex
34b9b6f16e - Removed the config setting firewall_hits_on_undead setting, Firewall and kaensin now automatically calculate the number of hits they should do per iteration based on the skill trigger frequency (you may want to raise that delay of 1ms in the db, though)
- Cleaned a bit the loop for the Warmth skills.
- Added a mising pc_class2idx invocation (fixes a very minor bug when you request max skill lv for a skill in your tree with different max than the skill_db max)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11578 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-26 07:16:47 +00:00
skotlex
49ee59c5cb - Again modified the delayfix function to reflect the current skill delay knowledge. Skills with 0 delay use amotion always (regardless of cast times)
- Renamed the config default_skill_delay to default_walk_delay as that is the only thing it does now.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11446 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-13 10:50:37 +00:00
zephyrus
c5e5128eb0 * Completed the code for SC_LIFEINSURANCE and it's status icon.
- Added the summer_ignorepalette to client.conf.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11359 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-05 01:00:16 +00:00
ultramage
98527bc1a7 Re-phrased the max_lv and aura_lv client battle config setting descriptions.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11334 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-30 22:58:47 +00:00
FlavioJS
909992ed5a * Limited manual detection of data truncation to string/enum/blob columns.
* Renamed conf-tmpl to conf.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11284 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-24 09:13:50 +00:00