74 Commits

Author SHA1 Message Date
skotlex
1b38364cab - Storm Kick's range increased to 2.
- Mobinfo's drop list will use jName rather than Name for drop names.
- Some cleaning of the ASC_BREAKER code in skill_attack
- Modified skill_attack so that all skills with amotion get their damage delayed (should fix mob walk-teleport issues)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6346 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-28 15:20:28 +00:00
Lupus
c2507df8c3 flying sidekick range 10->8 cells
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6342 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-28 10:04:07 +00:00
skotlex
1a3d6004c5 - Corrected the hit value of the TK kicks (from single hit "6" to multi-hit "8")
- All kicks do 3 hits now.
- Added battle config hide_woe_damage which hides damage on woe maps packet-wise.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6311 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-27 13:31:29 +00:00
skotlex
dfca545bcf - When Taekwons level up they get Bless and Agi Up level 10 instead of the S.Novice bonuses.
- Increased number of hits for TK kicks. 3 hits for TK_COUNTER and TK_TURNKICK, 2 hits for TK_STORMKICK and TK_DOWNKICK (until further information arrives)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6294 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-26 19:20:17 +00:00
skotlex
18270f85ed - Fixer range of meteor (from 14x14 to 7x7)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6205 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-20 23:29:57 +00:00
eaac
c15647f475 - Reverted exp.txt,skill_db.txt and skill_tree.txt, I had some mods =/ [erKURITA]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6026 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-13 01:38:21 +00:00
eaac
3502441912 - Added up the locations but temporal names of Poring track npcs. Will be worked
on over time. [erKURITA]
- Fitted the many lines into 1 or 2, and corrected some typos on most of 
  the npc\guides. Visual update to the guards, for short. [erKURITA]
- Added some info to the docs.[erKURITA]
- Added "case" npcs of lighthalzen, they're the first on npc/cities/? Mostly guards. [erKURITA]

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6025 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-13 01:35:50 +00:00
skotlex
361d4018ee - Adjusted the range of Wall of Fog to 9 and Spider Web to 7
- Modified a bit the skill packets of Sharp-Shooting and Brandish Spear in hopes of fixing it.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5824 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-31 14:00:28 +00:00
skotlex
b286e0af1e - Some cleaning of the mob_ai. Mobs should stop chasing once you are beyond their min_chase range. Improved rude-attacked checking when mobs can't move.
- range3 is now used as min-chase value of mobs.
- Added a debug message when status_change_timer fails.
- Fixed tick direct modifications increasing duration instead of decreasing it.
- Fixed inf2 of Jump-Kick to make it a "combo-skill" so that it may do a BCT_ENEMY check.
- When sd->state.skill_flag is set, auto-targetting through combo-skills is disabled. 
- You can't SG_FEEL maps already memorized.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5796 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-29 14:53:22 +00:00
reddozen
26fb455a43 * Fixed Gunslinger and Ninja skills not showing up and not working due to an error
in skill_require_db
	  - also commited a commented block for GS_FLING that needs to be looked at and posiably
	    cleaned before it's uncommented.
	  - fixed exp2 not accepting Gunslingers and ninjas
	  - fixed the "jobmaster" having the same problem as rebirth
	  - added the Gunslinger shops for guns and ammo [Reddozen]

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5783 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-28 10:26:32 +00:00
Vicious
5dfd882273 jA's db work
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5775 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-27 19:21:27 +00:00
reddozen
7f2dafc887 * Fixed / finished most of Gunslinger [Reddozen]
- fixed some bullets in the item DB
  - adjusted a few rates in skill_cast_db.txt for Gunslingers
  - adjusted a couple skills in skill_db.txt to act correctly
  - adjusted all the SP values for Gunslinger skills
  - changed piercing shot to lv 5 from lv 10
  - made ki Translation fail giving coins to Gunslingers
  - equipping a weapon other than a gatlin gun should cancel SC_GATLINGING. Also made Gatlinfeaver on/off togelable
  - GS_CRACKER will no longer stun players
  - added GS_Disarm

* View changes here:
http://diviniaro.com/data/reddozen_3_24_2006.patch

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5739 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-24 23:13:37 +00:00
skotlex
7a8371273a - Merged the unit_data structure from jA for handling unit-related data (attack times, walking, auto-attack timers, skill related data)
- Modified unit_skillcastcancel to receive flag&2, which stands for "cancel casting only if current skill is cancellable"
- Battle config options changed from yes/no to BL_TYPE settings: skillrange_by_distance, skill_noreiteration, skill_nofootset, gvg_traps_target_all, skill_log, attack_direction_change, auto_counter_type
- Clif.c will disconnect sessions that send an unknown command packet above 0x30000 instead of just ignoring it.
- Cleaned up/rewrite of the pet ai, same for pet_calc_pos
- Implemented use of mob variable attacked_players as it is used on jA
- Cleaned up error reporting during mob-skill loading to be less spamy with non-loaded mobs.
- Corrected water_height reading. I forgot to give credits to LittleWolf for providing the water-reading function :X


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5707 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-22 23:58:16 +00:00
Lance
a4bf5eb3d0 [reddozen's fix]
- Updated Full Buster's damage, status effects, and skill levels
- Bullseye now only uses 1 coin
- changed Adjustment's required SP
- changed Incerase Accuracy's effect bonuses
- changed Magical Bullet's SP cost
- changed Piercing Shot's damage and SP
- changed Desperado's range, hit count, aftercast delay, and SP
- fixed Absorb Spirit Sphere being able to remove coins
- changed Acid Demonstration's damage to the new Japanese formula

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5699 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-22 07:24:47 +00:00
skotlex
a396cbebca - Fixed the inf2 for BA_DISSONANCE
- Fixed SC_SWOO's opt3 value.
- Fixed allowing multiple recast of Dissonance/Ugly-Dance
- Fixed those annoying irc.c compile warnings.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5693 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-21 14:06:00 +00:00
skotlex
5cc553de0f - Small fix to prevent killer/killable states from allowing you to target yourself.
- Added Explosion Spirits to list of effects that dispel on logout.
- Fixed handling of guild skills by pc_blockskill_start, renamed it to skill_blockpc_start as it needs some constants available only in skill.c
- Fixed autoguard icon showing with stun.
- Fixed splash area of Ganbantein
- Fixed acid demonstration breaking shield instead of armor.
- Fixed Slim Pitcher crashing server ocassionally.
- Hopefully fixed Ankle Snare lasting the whole trap's duration
- Added sc_start(SC_ENDURE) on infinite endure bonus.
- Fixed Berserk Pitcher consuming required items twice.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5681 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-20 14:45:17 +00:00
skotlex
ee24ada967 - Couple of fixes on the skill_db, thanks to Haplo
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5613 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-15 16:21:12 +00:00
skotlex
2f09d39c17 - Fixed incorrect range check in autospell2 triggers.
- Modified Wedding recall skills to behave as in officials.
- Modified Arrow Shower to be a ground-based skill and work as it should on officials.
- Fixed skill_additional_effect triggering every time you were being hit even if no damage was returned.
- Fixed battle_calc_damage_return to make magic damage be returned by 100%, and received damage nullified


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5598 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-14 17:51:42 +00:00
skotlex
6e2b036285 - Shield Reflect is now passed through Devotion as well.
- Devotion won't work on guildmates now (only party-members)
- Devoted to characters lose the devotion effect when the Crusader is at less than 25% Hp.
- Changed Gravity Field's element to earth so that it may hit hidden chars.
- chrif_scdata_save will not send a save scdata request when the char has been already tagged as in the final save.
- Cleaned up status_change_start a bit to make status_change_end calls on a separate switch, before it is cancelled by the switch about "sc already active". If it fails because the sc is already active, now it returns 1.
- Cleaned SC_SUITON a bit to get rid of that compile warning.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5589 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-13 18:50:35 +00:00
skotlex
f5359b3bbc - Corrected char-server parameters so that the subnet config file is the third parameter, not the second (which was conflicting with inter_athena.conf's argument), thanks to foobar.
- Fixed TK and Soul Linker's position of their job entry in exp2.txt, thanks to Coltaro.
- Fixed NPC_GRANDDARKNESS targetting the enemy instead of yourself in mob_skill_db.
- Fixed Grandcross's hit and range entries in the skill_db (it had hit 5? that wasn't even a valid value from the description)
- PR_BENEDICTIO now ignores mdef
- Removed the status_isdead checks from status_check_skilluse, they are now done only on the skill_castend_* functions.
- Fixed NPC_SELFDESTRUCTION not doing the correct damage to oneself.
- Fixed chatlog's x/y column capacity.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5584 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-13 14:49:16 +00:00
Vicious
d6f096d89d nj/gs work by RockmanEXE and red_sun
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5573 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-12 01:42:29 +00:00
skotlex
8fe81d12a3 - Changed div behaviour. Skills with div above zero will get their total damage increased by the number of hits, div less than zero is just for "show", total number of hits displayed is abs(div), but damage isn't increased by number of hits.
- Adjusted several skill damage equations to make up for this.
- Moved the Shield Chain soul-linked bonus to the second layer.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5564 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-10 18:16:47 +00:00
skotlex
8309da5f58 - Made Magic Crasher a BF_WEAPON attack.
- Made skill_unit_range a per-level setting. meteor and Lov now have their unit range adjusted in the skill_unit_db rather than hardcoded.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5536 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-09 19:14:21 +00:00
Vicious
a3d320f902 more skill fix.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5524 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-09 00:56:11 +00:00
blackhole89
e44d01699a GS_TRIPLEACTION: multihit x3
GS_RAPIDSHOWER: multihit x5
GS_SINGLEACTION, GS_SNAKEEYE: passive like AC_OWL
GS_CHAINACTION: passive like TF_DOUBLE

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5523 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-08 20:45:23 +00:00
Vicious
236ee6573a Some item/skill db fixes, thanks to Zephiris and Foruken
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5521 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-08 19:21:35 +00:00
Vicious
d4e9bcf863 fixed compile issue. fixed ninja issues.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5510 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-08 05:52:55 +00:00
skotlex
fad5deaa7b - Added a check that forces self skills to cast on yourself in skill_use_id
- Skills with INF_SELF_SKILL + INF2_NO_TARGET_SELF are now "combo" skills in the sense they auto-select your attack target, and do not stop your attacking animation. Attackable time by default is adjusted by amotion.
- Gospel won't start taking effect until after 10 secs have passed.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5501 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-07 21:31:01 +00:00
Vicious
396e392fd0 more ground work for ninja/GS
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5500 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-07 21:11:54 +00:00
blackhole89
cafdec7373 git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5497 54d463be-8e91-2dee-dedb-b68131a5f0ec 2006-03-07 20:50:44 +00:00
Vicious
5da241c9a9 temp ninja/gs skill tree
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5488 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-07 18:27:40 +00:00
Vicious
33b81a5e70 updated skill db a bit. still temp plugs.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5487 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-07 18:11:52 +00:00
Vicious
35d6afee31 Ninja skill db temp plug
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5483 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-07 16:37:59 +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
9e7f9a41ad - Fixed a pair of missing map_freeblock_unlock
- Changed around a bit the code of the skill_get defines to return 0 if you ask for an id of the place where the guild skills are placed. Also moved the guild skills block to ID 900~915. Also stuff like skill_get_inf will return the relevant guild data as defined on skill_db.txt


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5465 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-05 16:06:30 +00:00
skotlex
994d991fc9 - Added NK value 3: No damage + area of effect skill (NK_SPLASH_NO_DAMAGE)
- Removed the double-cast specific code and made it use skill_addtimerskill instead.
- Modified party_foreachsamemap so that it returns to addition of the return value of the functions invoked. Type has been changed for "range", when 0, it scans all party members in the map.
- Updated most skill/battle code to use map_foreachinrange rather than map_foreachinarea.
- map_foreachinrange does not performs an exact range check anymore. However the relevant code is commented and anyone can enable it.
- Updated most skills to use skill_get_splash instead of hardcoded ranges.
- Added function skill_get_casttype which returns the type of function that should be invoked for that skill: skill_castend_pos, skill_castend_nodamage_id or skill_castend_damage_id.
- self skills are sent to skill_castend_nodamage_id regardless of nk (nk should signal if the skill causes damage above everything, it is used on autospell/effects).
- Due to the previous change, self skills where the target and src are different, and don't have an nk of no damage, they are sent to castend_damage_id (assumed target auto-selected skills)
- Applied the relevant updates to db/skill_db.txt, db/skill_unit_db also got updated, as trap ranges should all be 1, the splash damage range is defined now in skill_db
- Cleaned up the implementation of the code related to Gangster's paradise and TK_HP/SPtime


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5313 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-17 21:33:54 +00:00
skotlex
fbc4c4f453 - Added a new column in the skill_db to specify the splash-range/area-of-effect of skills. (Work in progress)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5302 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-16 21:53: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
a8c65c476c - Made the NPC_BREAK* skills attack skills again, their chance of equipment breaking code was moved to skill_additional_effect.
- Added zeroing of skilltarget in skill_castend_id when skill fails.
- Now when the exp table does not has enough data to reach the max level specified, the max level will not be reduced to enable leveling through quests/scripts/gm-commands/etc.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5271 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-13 19:48:56 +00:00
skotlex
f8df39576f - Made the NPC_BREAK* skills no damage skills. Removed their code from the skill cast end damage id function.
- Also raised their max level to 10. Made their breaking chance 10%*lv


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5250 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-10 14:57:49 +00:00
skotlex
8ab9f5988d - Weapon Repair update. Cost to 30SP, cast time to 7500, interruptable.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5249 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-10 14:32:42 +00:00
skotlex
1d94ae4856 - Trick Dead makes you stop walking now.
- Falcon Assault only does 1 hit now.
- Soul Burn is not affected by Lex Aeterna, not affected by target's cards.
- Freeze and Stone take preference over Benedictio
- Opt1 inducing SCs fail if the target has already another Opt1
- Fixed areamonster when the passed class is negative
- Removed the clear screen when launching the server.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5156 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-01 19:14:28 +00:00
MasterOfMuppets
6b20e1e922 Added monster skills to the Odin temple monsters. Changed the range of NPC_PETRIFYATTACK from 1 to 7.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5099 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-01-29 19:39: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
1ea4b4dc0c * Fixed skill tree entries for Vulcan Arrow, and Throw Arrow
* Fixed damage reflecting
* Fixed Backstab to not have a push back effect
* Fixed auto spell to not taking SP
* Fixed Sanctuary to have proper healing count

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1412 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-05 17:00:51 +00:00
celest
3feabb0c74 * Simplified Valaris' online_timer
* Updated Fogwall, Spiderweb, and HP Conversion
* Adding saving character online/offline for TXT char and login (unfinished)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1411 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-05 14:57:03 +00:00
celest
8556b2716f * Added the 3 baby skills WE_BABY, CALLBABY and CALLPARENT
* Some tidying up in skill.c

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1379 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-02 14:28:14 +00:00
celest
72f63ee03e * updated map server to jA1137~1159
* Some tidying up in mob.c and skill.c

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1342 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-30 11:44:12 +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