237 Commits

Author SHA1 Message Date
L0ne_W0lf
f912cd0151 * Attempting to tackle, and fix some simple errors in skills.
- Stormgust hit counter no longer resets under new casts of stormgust.
- RG_STEALCOIN will now cause the monster to aggro player on success. (bugreport:3547)
- SL_WIZARD will now consume one crystal fragement per reflected hit. (bugreport:3603)
- WZ_FROSTNOVA will now ignore targets in area that are already frozen. (bugreport:3980)
- SL_KAAHI will no longer uses SP if player has full health already. (bugreport:3918)
- CG_TAROTCARD "The Lovers" will heal source player instead of target. (bugreport:4171)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14378 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-17 00:48:37 +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
651dc32ac0 * Rev. 14365 Updated npc_randomattack, it now does 100*skillevel percent damage.
* Added patch from Paradox to allow a skill to use a random element for damage. See skill DB for info.
* Updated entry for npc_randomattack in the skill database, now uses the newly added -3 element.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14365 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-07-28 01:12:28 +00:00
L0ne_W0lf
a16fb01027 * Item database update! (Again!)
- Changed a lot of bonuses on headgears and fixed rates of procs.
- Added some status effects to some newer consumable items.
- Added new a mob group '6', 'Ninja class' monsters into mob_race_db2.
- Changed long running typo 'BA_FROSTJOKE' in skill_db to 'BA_FROSTJOKER'.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14332 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-06-07 17:04:14 +00:00
L0ne_W0lf
535bb54e76 * Lots of updates. Mostly mob related.
- Added known stats and drops for 13.2 monsters.
- Added custom skills and mobchat for 13.2 mobs.
- Added known stats for Brasilis Mobs.
- Added new quest entries, and updated some old ones.
- Removed Itemskill from Large_spray_of_flowers.
- Added known names and ids for more mobs.
- Added homunculus IDs to homun database as placeholders.
- Added skill ids for 3rd jobs to skill_db as placeholders.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14298 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-05-21 01:00:48 +00:00
L0ne_W0lf
7a0e11a502 * Implemented NPC_TALK (Credit to SnakeDrak and Daegaladh)
- Also added in the ability to use '@npctalkc' as a GM command.
- Added supporting information to the databases.
- Sneaking in a fix to the Refined Ballista.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14270 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-03-24 03:49:39 +00:00
L0ne_W0lf
2ec3b5ee10 * Changed the element for SN/MA_SHARPSHOOTING back to -1 (weapon element.)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14233 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-01-28 16:04:37 +00:00
L0ne_W0lf
f74fc9a9b3 * SN_SHARPSHOOTING is no longer affected by AC_VULTURE. (Bugreport:3909)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14232 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-01-28 15:43:30 +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
Kisuka
01d8d4c8d8 - Fixed a typo in skill_db.
- Fixed issue caused by 'renewal' client support getting rid of lots of version 23 (sakexe) packets.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14177 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-29 12:49:04 +00:00
L0ne_W0lf
702c4783c6 Changed Talkie Box to trap type, and removed the UF_NOREITERRATION flag. (Partial fix for Bugreport:3748)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14165 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-24 05:24:39 +00:00
L0ne_W0lf
8e59f84f36 Forgot to add the splash range for HT_LANDMINE (skill_db) in r14101.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14103 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-26 15:32:02 +00:00
Inkfish
2144b13b80 Implemented NPC_VAMPIREGIFT and NPC_WIDESOULDRAIN.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14102 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-26 09:42:44 +00:00
L0ne_W0lf
2c54b30746 * The status SC_INVINCIBLE now reduces all damage to 1.
- Official behavior, and allows players to cancel NPC_ALLHEAL casts.
- If battle_config.invincible_nodamage is true, reflected damage is still 0.
* Minor updates and supporting data for Sealed Shrine.
- Zone 5 is now designated for sealed shrine restricted skills.
- Added new quest_db entries for Sealed Shine cooldown.
- Updated mob_db entries for Orc's Memory Instance. (improper stats)
- Updated Land Mine to have a splash effect. (Provided by Daegaladh)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14101 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-26 02:33:53 +00:00
zephyrus
8ec750a434 - Fixed some 13.1 items.
- Added "Doddler based" 13.1 monsters.
- Cleanup on packet_db.txt

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13980 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-29 12:45:18 +00:00
Inkfish
b1445ca0ae * Some updates for range check. (bugreport:3339)
- Monsters shouldn't use skills if the target is within its attack range but is out of the skill range.
- Monsters' skill range is no longer 9 by default. 
- Range for players' attacks and skills should always check for a circular area.
- The range of Magnetic Earth is 2.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13944 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-11 04:48:40 +00:00
Inkfish
e447a8a92a * Changed Asura Strike/Jump Kick to target skill to get rid of the "target delay". (bugreport:2174)
- skill tree will be re-sent on status change to handle using these two skills during combo.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13900 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-20 08:22:52 +00:00
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
L0ne_W0lf
7807036efd * Updates to ST_PRESERVE and a few other minor details!
- Recasting Preserve no longer toggles the skill off while active.
- Preserve is no longer saved on log-out or mapserver changes.
* Added SC_CRITICALWOUND and SC_SLOWCAST to negative statuses not saved with battle_config.debuff_on_logout&1
* Implemented the skills NPC_HELLPOWER and NPC_WIDEHELLDIGNITY, as per my personal experiences with the skill on iRO.
* Increased MAX_MOBSKILLS to 50, as Satan Morroc has over 40 active skills now.
* Added skill information for NPC_HELLPOWER and NPC_WIDEHELLDIGNITY, and enabled skills in mob_skill_db.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13843 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-04 22:46:14 +00:00
Inkfish
e7faa7e498 * Some clean ups on autocast and itemskill code. (see topic:220921 for some info)
- Autocasted Teleport now skips the menu.
- Fixed nullpo info when defensive autocasts are triggered. (follow up to r13815)
- Fixed Warp portal used in item script never worked.
- Item skills now bypass skill delay check.
- Implemented SM_SELFPROVOKE. 
- Updated item db using 'itemskill' for some items.
* Basic skills will never be reset. 

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13841 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-03 15:30:11 +00:00
L0ne_W0lf
c778107ca8 * Implemented the Party Buff cash skills.
* Misc updates, and updates for party buff items.
- Added CASH_BLESSING, CASH_INCAGI and CASH_ASSUMPTIO skills.
- Added itemskill commands for the party buff scrolls.
- Corrected Equipment repair book's itemtype to 11.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13840 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-03 03:28:20 +00:00
Inkfish
6e54839512 Fixed the three hits of EarthQuake not being calculated seperately.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13794 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-19 10:34:43 +00:00
Inkfish
00f943bf3f * SG_WARM no longer ignores FLEE by default. (bugreport:3038)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13757 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-12 09:31:41 +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
c83076c04a Gunslinger Tracking can be canceled if you get hit.
Gunslinger Disarm always shows skill animation.
Removed custom firetrap effect from Gunslinger mines.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13644 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-31 12:57:13 +00:00
ultramage
ac6b5f162a Fixed NPC_ALLHEAL being obtainable by players/gms, which also causes client crashes (bugreport:2737).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13507 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-02-03 11:09:58 +00:00
zephyrus
96c953126c - Implemented monster skill "Full Heal" NPC_ALLHEAL.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13493 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-25 20:14:19 +00:00
Sara
f772c39910 * Fixed the maximum level of Create Elemental Converter. (bugreport:2326) [Sara]
* Fixed issue preventing you from changing to the original cart when using Change Cart. (bugreport:2383) [Sara]

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13353 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-11-06 04:30:35 +00:00
L0ne_W0lf
70d49d4858 iRO lied to me. Reverted casting range of traps to 3.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13324 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-25 04:35:09 +00:00
L0ne_W0lf
f89cb728d1 * Just some random updates and bugfixes!
- Corrected Landmine's placement range. (bugreport:2305)
- Corrected comment in merc skill db. (bugreport:2324)
- Corrected the casting range for traps. (Based on visial comparison from iRO)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13323 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-25 04:26:14 +00:00
zephyrus
879ada0f6c - Renamed createmercenary to mercenary_create.
- Added other required mercenary script commands for official script.
- New Constants entries for this script.
- Update to missing configuration on mercenary skills.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13195 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-09-06 15:21:25 +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
L0ne_W0lf
30b8c64a10 * Rather massive item database update.
- Added a lot of items, though some are not implemented.
- Updated a lot of the current prices for many items
- All items now use the "Buy" column for price.
* Added new skills to the skill database. (commented out)
* Updated item trade database with new items.
* Updated Cashshop functions.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13066 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-10 19:20:11 +00:00
ultramage
9609149c15 * Corrected some invalid syntax in skill_db.txt (wrong usage of commas)
* Renamed BA_FROSTJOKE to BA_FROSTJOKER (aegis server-side name)
 * Implemented a generic framework for parsing delimited db files (allows specifying min/max column ranges and max number of rows to read)
 * Corrected a typo in quest_update_objective()
 * Cleaned up pc.c a bit

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12599 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-15 13:49:40 +00:00
L0ne_W0lf
83f22f6584 * Updated NPC skill "Evil Land". More gravity wtfage.
- Based on visual observation, and experience with it on iRO Sakray.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12548 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-10 15:16:27 +00:00
L0ne_W0lf
feb95aeeb1 * Reverted the Ice Wall change (r12526.)
- Increased the range of Ganbantein to 16, as tested on iRO.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12528 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-07 23:05:47 +00:00
Kevin
75ca539ea1 Limited number of wizard icewalls to 5 (iRO).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12526 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-07 21:46:10 +00:00
L0ne_W0lf
a816ffdb81 * Dur, I'm bored. Added place-holders for Mercenary skills.
- These skills are NOT usable. They're semi-filled in. Don't even try.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12515 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-07 02:22:08 +00:00
skotlex
96684da892 - Fixed Freezing Trap doing no damage (changed type from misc to weapon)
- Changed suiton's element to water (apparently fixes not being able to use water-based skills on it)
- Fixed Landmine doing no damage (decreased trigger range to 0 to match its splash range)
- Fixed the disguise commands using the wrong variable when attempting to disguise as an npc.
- Fixed a compilation warning on CELL_CHKNODAMAGE (which is a totally bad-ripoff of basilica cells anyway)
- Corrected and optimized npc_remove_map's npc array cleanup (@reloadscripts no longer report 'too many npcs per map and related dangling pointer crashes are fixed)
- Removed suspicious, yet totally unused npc_data variable 'n'
- HP loss item scripts can no longer kill you.
- Corrected the item-drop-rate check to avoid duplicate entries in @whodrops after a @reloadmobdb
- Cleaned up and optimized map_addnpc (there are never any gaps in the npc array so npc_num always points to the last valid entry)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12180 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-07 00:07:47 +00:00
ultramage
66e434316b Fixed some typos in skill_db.txt, caused by r11949 (bugreport:657)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11960 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-22 14:35:37 +00:00
skotlex
a6875211ef - Fixed skill name for skill 39 (MC_PUSHCART)
- Corrected some formatting in a few entries in skill_db (TODO: if you really want to format the file to have file names aligned, spaces should be used instead of tabs, like it was done for GD/HLIF skills!)
- Corrected placement of leveled up mobs bonus exp
- Fixed a possible crash when parsing MSC_MASTERATTACKED mob skills.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11949 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-19 13:10:48 +00:00
skotlex
ece12b6e42 - Cleaned up a bit the format of skill_db.txt (that comma next to the skill name looks ugly if you ask me)
- Corrected skill_db reading to properly trim the skill name/descs.
- Added a mobid_db in map.c to handle mob lookups faster.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11943 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-18 15:45:48 +00:00
skotlex
d19659bbdd - reverted R11820, Cart Termination was already a 0x8 nk skill, I accidentally set inf2 to that, which meant 'spirit skill'!
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11827 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-27 20:35:23 +00:00
skotlex
ff43b0d74a - Cart Termination now ignores the attacker's cards, as a side effect makes it bypass AutoGuard & Cicada Skin Shedding
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11820 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-27 09:46:30 +00:00
ultramage
7ba256db84 Reverted skill db edit from r11772. Yes, Guardian Research's AegisName is GD_GUARDRESEARCH (see strings in client exe).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11781 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-22 16:25:50 +00:00
skotlex
6840bb28ab - Moved subtype from struct block_list to struct npc_data.
- Fixed some compilation warnings.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11772 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-21 13:29:45 +00:00
ultramage
e12b04e850 Added error reporting for invalid rows in skill db files.
Fixed skill_castnodex_db.txt not being parsed correctly.
Fixed a search&replace typo in skill_db.txt.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11728 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-13 07:48:44 +00:00
ultramage
f7d4427c1a Changed the skill_db.txt skill names in comments into actual columns, now the server reads these instead of a hardcoded array (see topic:170438).
Corrected skill db loading code which was using a totally wrong column count in sevreal cases (or didn't do any checks at all).
Cleaned up skill db lookup code
 * added some well-behaved functions to replace macros (skill_get_index)
 * used skill_get_index() to replace often occuring blocks of code that did the skill_id -> skilldb_index calculation in-line

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11657 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-05 08:59:19 +00:00
ultramage
989a557598 Removed some long-unneccessary debug messages (from r1105).
Removed function skill_count_target() because it's a duplicate (see topic:169337).
Renamed skill_get_pl to skill_get_ele (because it retrieves element ids).
The block_list structure now uses the BL_ enums instead of 'unsigned char'.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11640 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-02 15:54:27 +00:00
Playtester
b2aeae0dcc * Added trap mode to Firepillar
- tell me if it breaks something

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11639 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-02 12:30:19 +00:00