115 Commits

Author SHA1 Message Date
L0ne_W0lf
f755dd18b3 - Implemented first version of Archbishop skills. Preliminary version, see doc/3rd_job_notes.txt for details/bugs/issues with skills.
- Implemented fixed cast time, old cast time mechanics no longer available. Added bFixedCastRate used for reducing fixed cast time mechanic.
  Cast time calculations probably still needs work, as the cast rate reductions are probably additive and multiplicative as they used to be.
- As a result, skill_delayfix_sc() has been removed, status effects that modify cast time are now calculated DURING cast time, not after.
- Implemented skill cooldown in skill_cast_db.txt. Known issue is that the cooldowns should save on logout/server shutdown/etc.
- Implemented new heal calculation and started work on MATK. Added bWeaponMatk, and bEquipmentMatk for use with new MATK mechanic.
- Removed custom features and their config settings: delay_dependon_dex, delay_dependon_agi, castrate_dex_scale.
- Increased max_def to 9999 for now, as that is by default the largest defense increase found in the Renewal database (Ahura_mazdah, GM item)
- Added shield aspd reduction from job_db1.txt-- Not 100% sure on this one yet. Should be considered a WIP.
- Modified updatestatus(), to display information more in line with the client's status window.
- Updated some calculations in status_calc_misc to match renewal, needs a lot of work still.
- ST_CHASEWALK and HP_BASILICA no longer have 0 cast time while being canceled.
* Implemented 'Boss' Decrease AGI, like 'Boss' Heal - editable in skill.conf
* clif_skill_fail() now accepts a new parameter, to be used in later messages.
* status_change_start() now stores tick as duration upon being called, which fixes timers calling the function from showing negative durations.
* Implemented skill ALL_PARTYFLEE. 1 level, increases party member flee by 10.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14941 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-08-27 03:25:00 +00:00
ai4rei
96a6a43e85 * Merged changes from trunk [14742:14782/trunk].
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14783 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-04-09 09:09:35 +00:00
Kisuka
1b38a1964b * Merged changes from trunk [14688:14739/trunk].
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14740 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-03-09 12:50:24 +00:00
L0ne_W0lf
d5dbf77b28 * Implemented three new mercenary skills.
* Added two new monster mercenaries.
- Added information for the three new mercenary skills.
- Added mercenary skills with cast times to castnodex.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14367 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-07-31 01:50:57 +00:00
L0ne_W0lf
3c108c935f * Corrected SP requirement for Poison React (bugreport:4116)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14261 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-03-12 03:49:52 +00:00
Inkfish
3654619bed Fixed Poison Status killing monsters with low max hp(like plants).
Mental Strenth costs 200 sp instead of 50% max sp.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14252 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-02-27 03:20:17 +00:00
L0ne_W0lf
ccfe13cd56 Added skill ALL_WEWISH. This skill in older clients plays a song, however in current clients it does not. The effect (AL_ANGELUS) still shows.
Added ALL_WEWISH to the skill databases, and enabled the Christmas Musicbox item.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14182 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-12-02 17:31:30 +00:00
Inkfish
afaf28a4fa * Players now are allowed to copy the skills the level which is beyond the skill_db max. [Inkfish]
* Fixed some behaviors for Waterball (bugreport:3024) [Inkfish]
- High level Waterball used by players doesn't increase the number of balls.
- Monsters can't pull water from cells with Magnetic Earth.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13730 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-04 13:34:31 +00:00
Playtester
3be7f00bd6 * Snatch now works with all weapons (including bow!)
- range doesn't depend on weapon range anymore and is always 1 even with bows

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13725 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-03 18:40:04 +00:00
ultramage
6a33ab38d2 Partial revert of r13556. The client doesn't handle active skills with 0 sp correctly.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13558 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-02 19:24:52 +00:00
ultramage
5af84c659d Just some generic cleanups.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13556 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-02 17:54:13 +00:00
shadow
7699a5de32 Fixes from 2008/10/13 bugreport:2077 (Only commiting because nobody did until now and those bugs would get lost)
* Fixed monster's Spiral Pierce, now it is always blocked by Pneuma.
* Fixed Monk Absorb Spirits mana recovery per spirit absorbed, 7, not 10.
* Fixed Monk spirit balls not being removed on death (like happens with gunslingers).
* Fixed Swordman Auto-Berserk sp cost, 1, not 5. Should be 0, but eA wont allow the skill to work.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13555 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-01 22:46:03 +00:00
zephyrus
399efe15bd - Completed Mercenary Create, Delete, Save. Tests OK.
- Incremented MAX_SKILL required for a proper load of Mercenary Skills.
- Some fixes.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13118 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-23 19:08:54 +00:00
ultramage
b45e112b9e Hammerfall now works with daggers and 1h swords (bugreport:2045)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13072 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-12 04:46:32 +00:00
L0ne_W0lf
dff7d38acb * Added values to skill_require_db for mercenary skills.
* Added values to skill_unit_db for mercenary ground skills.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13006 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-27 13:35:13 +00:00
zephyrus
2d0e75f402 - Fixed a bug in some Gunslinger skills, when weapon ids changed
- Little cleanup in and a bug fix in guild2 scripts.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12831 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-14 11:26:04 +00:00
ultramage
ec5c6ffe4d Also removed the move_enable requirement from KN_CHARGEATK (Charge Attack) (according to bugreport:67).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12706 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-13 06:45:41 +00:00
ultramage
c44f57ca63 Removed the move_enable requirement from MO_BODYRELOCATION (Snap), making it possible to use it when trapped (followup to r12500 and r12501).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12705 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-13 06:36:06 +00:00
Kevin
d4d0c0536e TK_JUMPKICK requirements changed as well. (bugreport:1155)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12501 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-06 00:17:31 +00:00
Kevin
b272d7119f TK_HIGHJUMP requirement flag changed from move_enable to none. (bugreport:1155)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12500 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-06 00:14:53 +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
Playtester
1b3ce3c438 * Fixed some typos thanks to Christian
- also reduced aftercast delay of NJ_ISSEN

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10999 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-08-13 22:35:13 +00:00
skotlex
263baf5595 - Corrected Longing for Freedom, it should triple SP cost rather than modifying SP cost to 1/sec
- Corrected Marionette Control's SP cost, it should be 100.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10150 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-03 20:58:46 +00:00
skotlex
2907fa6467 - Removed the last argument from skillitem, the skill name passed to the client should always be of the type "AL_HEAL" anyway.
- Added skill ITEM_ENCHANTARMS, this is what weapon enchanting items should use.
- Corrected itemskill calls in the item_db, also made the weapon enchanting items invoke the ITEM_ENCHANTARMS skill. Corrected Holy Egg not being type 11 (delay consume)
- Updated item_db.sql with item_db information.
- Added support for specifying different elements per skill level in the skill_db
- Added bonus bNoKnockback
- Corrected typo in bonus bSubRace2 (it was called bSPSubRace2 for some reason)
- Corrected login sql server not resetting your account state to 0 when the banuntil duration expires.
- Corrected use of UINT_MAX instead of INT_MAX in some jailing check.
- Made the skillatk bonus it's own function, it can now be used to boost Heal/Sanctuary/Potion Pitcher and Slim Pitcher as well.
- Cleaned up TK_WARMWIND to use the element acquired from the skill_db rather than hardcoded values.
- Corrected Teleport's save map entry being sent without the .gat extension.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10031 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-19 19:44:21 +00:00
skotlex
c82708aba9 - Made the pc_deleteinvincibletimer function a define so it auto-checks for the timer value.
- Fixed a missing tab in the skill require info of TWILIGHT3


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9709 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-24 21:29:01 +00:00
FlavioJS
637ae9a4dc - Massive EOL normalization & 'svn:eol-style native' flag setting for all txt/conf/h/c files.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9410 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-05 13:23:07 +00:00
Playtester
6490f7e885 Fixed sp cost of RG_RAID
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9301 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-23 17:28:50 +00:00
skotlex
1c5fbb2231 - Various GS skill requirement corrections:
- All coin related skills can be used with any weapon. Those that require ammo can be used with any ammo.
- Added support for specifying ammo type = 99 in the skill_require_db file, it can be used to specify that any kind of ammo can be used with the skill, but you NEED to have ammo equipped.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9289 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-21 21:38:56 +00:00
Playtester
0d6ccc9d62 * Fixed all cast times and delays of Gunslinger skills
- cast time of Dust is reduced by dex
- Tracking cast time cannot be reduced by anything
- Increase Accuracy requires 4 coins instead of 2

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9288 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-21 21:17:25 +00:00
Vicious
9b7eaa8403 * Reverted LK_Berserk HP requirement, as everything, including kRO X.2 and pRO X.3, points that way
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9116 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-01 11:38:43 +00:00
skotlex
c87ac4f0a5 - Modified the meaning of the third column in the skill_require_db. Instead of MaxHP, this is now called MaxHPTrigger. This column (which was previously unused by all skills) signals the limit HP% that you can have to be able to use the skill. For example, setting it to 20 means the skill is unusable if you have more than 20% life (not that this is merely a threshold setting, it won't actually substract HP when used!)
- Adjusted LK_BERSERK so you can only use it when you have 20% or less life.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9045 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-23 16:06:01 +00:00
skotlex
d99bf3c795 - Applied most of Mpeg's work on Ninja Skills. For information see: http://gpegon.free.fr/ea/ninja_10-15-06_mpeg.txt
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8999 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-16 19:07:24 +00:00
skotlex
609bfd1e48 - Updated skill_require_db's entry for Abracadabra, it requires yellow 2 gemstones (there's no such hardcoded yellow gemstone requirement anymore)
- Corrected db/const.txt entry bMagicSubRace -> bMagicAddSize
- Fixed Aex Aeterna ending on Soul Breaker's first half.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8651 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-06 14:22:16 +00:00
toms
66158f3bb6 - Applied Mpeg's work on GS
( http://gpegon.free.fr/ea/gunslinger_08-29-06_mpeg.txt )
- Fixed a syntax error in @showmobs


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8528 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-29 10:23:11 +00:00
Vicious
5cfee7525e reverted mpeg's work
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8522 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-28 16:15:16 +00:00
toms
b891e7752c Applied Mpeg's work on GS ( http://gpegon.free.fr/ea/gunslinger_08-28-06_mpeg.txt )
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8513 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-28 13:40:55 +00:00
Playtester
22789445b0 Fixed SP usage of some Gunslinger skills
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8440 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-22 19:08:25 +00:00
toms
29d910ea6e - Updated NJ_BAKUENRYU skill tree
- Fixed HLIF_CHANGE skill


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8365 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-19 15:35:11 +00:00
toms
8c79b21151 - Added skill's required item check on homunc skills
- Add Condensed Red Potion as a required item for HLIF_HEAL

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8359 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-19 09:45:11 +00:00
toms
2b1435f36e Applied Mpeg's work on ninja (http://gpegon.free.fr/ea/ninja_08-18-06_mpeg.txt)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8347 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-18 15:22:24 +00:00
Playtester
fc57628e5c NJ_NEN now requires a Fang
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8310 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-16 07:21:25 +00:00
skotlex
6e5a887656 - Sacrifice no longer shows damage to self.
- When Asura fails, the skill display will still come off.
- Cleaned up AM_CALLHOMUN so that the required item is specified on skill_require_db
- Cleaned up function merc_call_homun and added function merc_hom_vaporize to handle the respective cases.
- Cleaned up a bit unit_remove_map/unit_free on regards to homun. it will display the /sob emotion when the homun dies due to low intimacy. Moved removal of timers and all that to unit_free
- Cleaned up function merc_hom_dead
- Simplified lots of code around by using the new merc functions.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8279 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-14 19:48:16 +00:00
Playtester
ef4af33e08 Fixed Fling requiring unknown amunition
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8252 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-12 22:19:01 +00:00
Playtester
d1acb16e5f Fixed Rapid Shower only using 1 bullet rather than 5
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8204 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-09 13:49:37 +00:00
skotlex
2af1719e67 - Cleaned up some of the db files.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8029 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-01 14:16:36 +00:00
toms
5e47973166 Merged mpeg's fix on ninja skills
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8012 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-31 20:19:56 +00:00
Vicious
8aa1963517 changed shell of blood into normal bullet. A_SHOTGUN is still around just in case/i didn't want to touch that.XD
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7985 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-30 20:47:10 +00:00
toms
d05578fe70 Merged mpeg's fix on ninja skills and SA_VOLCANO,SA_DELUGE,SA_VIOLENTGALE
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7983 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-30 19:32:53 +00:00
Vicious
f0d0180409 GS Skill updates/fixes
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7979 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-30 15:48:12 +00:00
Playtester
824902fb23 Shockwave, Flasher and Freezing Trap now consume 2 trap items
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7955 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-28 23:50:44 +00:00