40 Commits

Author SHA1 Message Date
skotlex
2f1e8fcdaa - Added function battle_calc_gvg_damage for gvg related damage reductions. Fixes Gravitation being reduced as well as Pressure overriding max-castles restriction.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5588 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-13 17:26:45 +00:00
skotlex
2b874adf3c - Fixed a debug message showing up on skill castend nodamage id when using a guild skill
- Fixed #save not working on maps not in the current map server.
- Added battle config clear_skills_on_death to decide whether all ground-based skills should be removed when you die. Defaults to yes.
- Changed Magic Crasher's element to -1


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5472 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-06 14:37:44 +00:00
skotlex
dc8dd724eb - Fixed missing baby-dancer job in exp2.txt
- Added function battle_set_walkdelay in charge of updating walkdelays of characters based on two criterias: when the delay is induced by damage, if the current walk delay isn't over yet, do not update it. If the delay is instead caused by a skill, then the current walk delay cannot be decreased, only increased.
- Removed the canmove tick reset on skill cast cancel; likewise it isn't updated on begin casting. pc_can_move uses a skilltimer check to know whether you can move or not.
- Added GrandCross's can't move delay of 900ms to skill_cast_db
- Added Finger Offensive's can't move delay of 200ms/lv to skill_cast_db


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5457 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-04 04:48:30 +00:00
skotlex
90ec4f1d14 - Modified the way autospells stack to mimic official servers. Cards of the same ID cannot stack, but different cards with the same skill can each trigger indepedently of each other.
- Added battle_config autospell_stacking to enable stacking of cards of same ID.
- Moved card-specific battle options to items.conf
- Autospells triggered when hit will check the range to the target.
- Some cleaning up of status_calc_pc
- In status_change_start capped the passed success chance to 100%


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5377 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-23 16:31:16 +00:00
Komurka
c648d7e760 * Implemented SG_MIRACLE (Miracle of the Sun, Moon and Stars)
- duration is stored in battle_config.sg_miracle_skill_duration (currently it's set to 10 minutes)
- ratio is stored in battle_config.sg_miracle_skill_ratio (currently it's set to 0.01% chance per character move)
- this skill enables you usage of all Warmth skills, Comfort skills, and also 
  all mobs will be target of the Stars regardless of the day and map
- you'll see message "[Miracle of the Sun, Moon and Stars]" when skill kicks in

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5323 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-18 13:16:21 +00:00
skotlex
2d461432b8 - Added battle config option pk_level_range for specifying valid level ranges to engage in PK
- Added battle config allow_es_magic_player to enable SL_S* skills to work on non-mobs.		


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5290 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-15 21:04:05 +00:00
skotlex
00bbc7673b - Made the warm skills BF_WEAPON type so that they may trigger effect cards.
- Also changed their pl to -1 so they carry the elemeso they carry the element.
- Warm skills now damage other players for 60sp per hit.
- Warm skill damage interval decreased to 100ms instead of 1000ms.
- TK_DODGE  now only dodges ranged weapon attacks, while under Spurt mode it dodges everything.
- Cleaned up and expanded the sc_def_rate battle config. The new battle flags are mob_sc_def_rate, pc_sc_def_rate, mob_max_sc_def, pc_max_sc_def
- Modified Marionette Control so that the max bonus stats you get is capped to your server's defined max stats instead of 99.
- Mobs are no longer affected by the vs_traps_bctall switch.
- Added function pc_damage_sp to damage the SP of players.
- Modified Warm skills so that it only hurts SP of players while attacking/knocking back mobs.
- Autospell loop breaks after one skill is successful.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5288 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-15 18:56:54 +00:00
skotlex
ea91239d66 - Added battle config sc_def_rate which adjusts natural defense of characters against status changes.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5275 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-13 21:37:10 +00:00
skotlex
1e53de04f6 - Added setting max_exp_gain_rate which caps how much exp you can get from a single kill.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5239 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-09 17:26:55 +00:00
skotlex
f1e4549f12 - Added battle config options:
- skill_caster_check (does a status_checkskilluse on all skill attacks)
- status_cast_cancel (invokes skill_castcancel for opt1 type status changes)
- Fixed the death exp penalty underflow bug


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5229 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-08 19:33:01 +00:00
skotlex
7d7c9b8324 - Fixed some includes in skill.c and npc.c, thanks to 252-rer for finding it out.
- Applied the entry reusage system to the battle delay damage structure.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5166 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-02 15:35:27 +00:00
skotlex
b488f26468 - PF_SOULBURN no longer ignores mdef.
- HW_GRAVITATION should now invoke auto spells.
- Added function battle_calc_return_damage to unify the return damage code.
- Added autospell triggering to returned damage from normal attacks.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5141 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-01-31 17:00:34 +00:00
skotlex
4f5babb97d - Changed the exp tables format.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5135 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-01-31 13:45:04 +00:00
Valaris
2178a86317 AS OF SVN REV. 5901, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.  EVERYTHING ELSE
GOES INTO TRUNK AND WILL BE MERGED INTO STABLE BY VALARIS AND WIZPUTER. -- VALARIS


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5094 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-01-29 16:10:48 +00:00
Valaris
fd99753f8e Clearing trunk.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5091 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-01-29 16:00:45 +00:00
celest
88cfcb9432 * Added base code for loading Ser's UPNP plugin
* Added 'idle_no_share' to battle_athena.conf
* Added item_findingore.txt

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1343 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-30 17:10:03 +00:00
celest
898d7024a9 * Added' require_glory_guild'
* Fixed some --addrace variables' sizes

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1277 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-23 17:20:41 +00:00
celest
b9a1f0d7fd Check changelog ^^
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1267 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-22 16:31:56 +00:00
celest
055dde5bb4 * Updated core and map-server to jA 1115~1137
* Fixed a typo in Volcano

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1206 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-07 11:35:13 +00:00
Lupus
ead09c7c4c added new anti-hacker system in trade.c
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1204 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-05 23:07:54 +00:00
Lupus
e90e65ea44 mob db exp reading fix
mobs item drops rate fix
mob spawn once shows normal log

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1170 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-23 22:49:21 +00:00
(no author)
0c541b77fb * Added status.c and status.h of jA 1091 update and moved some functions into the new source files
* Updated auto_counter_type's description in battle_athena
* Removed some unnecessary skill level checks in battle.c

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@996 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-01-26 04:54:22 +00:00
(no author)
778e804dd6 update
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@968 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-01-23 20:38:44 +00:00
celest
708fccfa6e * Fixed skill_require_db reading somehow getting corrupted if weapons usable for the skill is more than 20
* Fixed @killmonster crashing the server with summoned monsters

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@908 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-01-05 07:04:22 +00:00
celest
b4256fc8d6 * Updated description for player_check_cloak_type
* Increased skill range limitations in pc_no_footset
* Added exp_calc_type

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@831 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-28 04:45:26 +00:00
celest
0d6e124f1d Added finding_ore_rate
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@746 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-23 05:15:10 +00:00
celest
fa6ecf8890 * Updated most of map-server to 1082
* Removed my own additions for skill delays using aspd
* Adapted skill_range_leniency to jA's code
* Fixed drop rates only limited to multiples of 100's
* Added missing code for castle_defense_rate
* Removed pc_undead_nofreeze
* Updated unrefineable items table
* Added 3 new script commands
* Added SC_SpeedUp0
* Merged itemdb_read for SQL and TXT
* Removed itemdb_read_cardillustnametable limited to TXT only
* Added reading itemslotcounttable.txt from the GRF to auto set number of slots per item
* Added a display message when reading itemslottable from the GRF
* Added options in battle_athena.conf to enable/disable reading the GRF

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@699 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-21 12:27:02 +00:00
codemaster
3e663377ab Changed max_paramter to an unsigned int
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@656 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-20 15:08:58 +00:00
celest
fa5bc90101 * Added nullpo_retb
* Replaced some parts in skill.c with nullpo checks
* Updated most of 12/14's skills patch

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@560 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-13 19:02:17 +00:00
celest
682f1fb98e * Added allow_atcommand_when_mute
* Temporarily leaving the changing guild emblems requiring Glory of Guild feature only for TXT until the SQL char-server supports guild skills fully
* Modified battle_range again to check if src's type is a player first
* Modified skill_nocast_db

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@459 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-05 11:06:48 +00:00
celest
11e1774c1d * Added motd_type
* Edited atcommand.c to fix compile warnings

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@436 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-02 17:50:15 +00:00
celest
58a9ab345e - Modified Weapon Refine - should only +1 every time.
- Updated Berserk, Chase Walk, Slim Pitcher
- Added skill_range_leniency
* Added check for clif.c in case the server didn't realise we've died

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@433 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-02 17:06:40 +00:00
codemaster
636123d3cf git-svn-id: https://svn.code.sf.net/p/rathena/svn/athena@354 54d463be-8e91-2dee-dedb-b68131a5f0ec 2004-11-24 22:27:20 +00:00
celest
72c341d10a Added night_darkness_level
git-svn-id: https://svn.code.sf.net/p/rathena/svn/athena@267 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-11-20 11:42:58 +00:00
celest
62574ea526 Added skill_steal_type and removed snatcher's steal fail message
git-svn-id: https://svn.code.sf.net/p/rathena/svn/athena@231 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-11-17 13:38:53 +00:00
celest
04f21a8fdf Added pk_min_level and modified cloaking checks a liiittle bit
git-svn-id: https://svn.code.sf.net/p/rathena/svn/athena@226 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-11-16 21:57:15 +00:00
valaris
31340d52a1 * Added mobs_level_up option. [Valaris]
-Everytime a monster kills a play their level will increase and show levelup animation.
  -Their 6 main stats and speed will increase as they level.
  -They will recover 10% of the max hp of the player it kills.
  -Player will gain extra exp based on how much stronger a monster is than normal.
  -Skill estimation will show monsters current level (instead of reading from db).
  -Will display level 99 aura if and when a monster hits level 99.
  -They will not go higher than level 99.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/athena@187 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-11-15 07:14:58 +00:00
valaris
3e65de1d4e Added zeny from mobs option.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/athena@175 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-11-14 16:37:27 +00:00
amber
d479e29aee Fixed some file types
git-svn-id: https://svn.code.sf.net/p/rathena/svn/athena@172 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-11-14 16:18:26 +00:00
(no author)
706e785091 git-svn-id: https://svn.code.sf.net/p/rathena/svn/athena@2 54d463be-8e91-2dee-dedb-b68131a5f0ec 2004-11-04 23:25:09 +00:00