219 Commits

Author SHA1 Message Date
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
Playtester
9ec6519201 * Some small db updates
- fixed Bongun Card thanks to Gepard
- updated Ifrit Card to official
- Fire Wall now has 2 cells knockback
- set interval values of Fire Wall and Fire Formation to 20ms

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11581 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-26 10:17:06 +00:00
Playtester
0e39094a11 Fixed Bowling Bash doing more than 1 tile knockback
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11547 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-22 19:34:06 +00:00
Playtester
6bcbcb11bb * Further optimization of the skill unit code
- removed code for Crimson Fire Formation it now uses the same code as Fire Wall
- added same knockback behavior as Fire Wall for Fire Formation
- Heat now does 50 hits a second in pvp too
- please let me know of any bugs that might appear

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11510 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-18 18:07:09 +00:00
ultramage
425112aef3 * Fixed a copy-paste mistake in disguise code (from r5833)
* Commented out clif_skill_damage2() as it is not used anymore
* Made Venom Splasher a splash attack that distributes damage
* Fixed displaying of several splash skills (see bugreport:238)
- added flag SD_PREAMBLE for skills that need the 'magic' packet (fixes Grimtooth / Cart Revolution displaying out of sync)
- hacked together Venom Splasher's "no animation for central mob"
- hacked in a custom packet to make Dragonfear display semi-correctly

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11491 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-16 19:00:03 +00:00
Playtester
7d23a41f0b Cosmetical changes
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11484 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-16 00:20:42 +00:00
L0ne_W0lf
34a1e73c9f Readded Sonic Acceleration to the skill DB. -_-
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11481 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-15 18:14:25 +00:00
L0ne_W0lf
d43329708f Implemented new skill "Enlarge Weight Limit R", and increased MAX_SKILL_TREE by 1.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11476 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-15 05:55:55 +00:00
skotlex
c6d05bc0f3 - Gravitional Field is now a MISC type of attack.
- battle_calc_return_damage now is only for BF_WEAPON attacks, added skill_magic_reflect to check whether a spell is bounced back or not.
- Magic reflection now effectively switches the caster/target (after damage has been calculated)
- Now when GTB completely blocks a spell, the spell animation will still come off, but with a single bolt and MISS damage.
- Removed hom_setting&0x2 since Homunculus can be hit by land spells.
- Monster Property now gives a Skill Failed message when attempted on players.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11203 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-14 18:46:41 +00:00
skotlex
7233562a1a - Removed bonus bAddEffWhenHitShort as it is unneeded and unused.
- Corrected getpetinfo so it actually returns "null" when there's no pet and you request the name (the docs state it so).
- Also cleaned up a bit getpetinfo
- Added gethominfo (which behaves in the same way as getpetinfo).
- The 'maxcount' skill_db field now can store independant values per skill-level, required for Kamaitachi since it uses different range values per level.
- Corrected bonus3 bAutoSpell(WhenHit) to select target enemy (rather than self) for skills with inf self and inf2 'don't target self' (aka: auto-select target skills).
- Corrected map_foreachinpath to do a wall check for targets beyond the initially selected tile.
- Corrected Kamaitachi's range to be 9, and the path range to be 4+SkillLv


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11169 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-10 17:07:35 +00:00
skotlex
81faa4770b - Oops, forgot to add the Pulse Strike damage modifier.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11055 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-08-20 19:02:01 +00:00
Playtester
3f5d2a35b0 Fixed the damage area of the "path damage" skills
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11004 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-08-14 15:59:02 +00:00
skotlex
2d6cef47d6 - Modified map_foreachinrange so that you can also specify the max length of the path to use. The max_count field in the skill_db is used to specify this range for path-type skills (Sharpshooting, Kamaitachi and the NPC Breath skills.
- Implemented the 'new' NPC skills described here: http://ro.doddlercon.com/wiki/index.php?title=Monster_Skills . It is mostly complete, but the new status changes (slow cast, critical wounds, etc) don't have any visual effects yet (icon or opt changes? I don't know if they should have). Also I could not find the unit_id for Evil Land, so it looks just like Sanctuary for now. Apart from those, the only skills which I couldn't get to display properly are the Breath skills (with the exception of Fire Breath).
- skill_calc_heal now takes the target as argument to properly support Critical Wounds
- battle_calc_return_damage now takes a flag to know if the attack was direct or not, needed since Magic Mirror also reflects indirect attacks.
- cleaned up the 'description' field in skill.c, added skill_get_desc to it
- Removed 'splash' support from Lex Divina as it is no longer needed.
- Modified the way Sight/Sightblaster work so that the skill id is no longer guessed (needed to properly acquire the splash range for Wide Sight)
- Corrected gtb_sc_immunity setting not taking effect if your block value was the same (that is, if the config said 30%, then you would only get status change immunity at 31%, nor 30%)
- Uncommented the 'new' npc skills from mob_skill_db as they are implemented now.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11000 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-08-14 00:05:13 +00:00
Playtester
9b5a8b8ede Added remaining 11.2 skill db entries
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10983 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-08-11 11:58:10 +00:00
Playtester
caffb97cde * Implemented 11.2 skills in the skill_db
- note that the code for them is still missing

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10982 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-08-11 11:17:16 +00:00
Playtester
babd639fca * Raised splash range of Focused Arrow Strike and First Wind
- temporary fix until the real area calculation is added
- also started adding some of the 11.2 skills

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10978 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-08-10 17:09:34 +00:00
Playtester
a1205df084 * Fixed damage of NPC_COMBOATTACK
- also reverted some custom skill changes

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10972 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-08-09 19:41:52 +00:00
skotlex
9e9847a83e - Fixed some missing max levels for npc skills
- Expanded isloggedin script command to support an optional argument (char id)
- Expanded warpparty command to accept target "Leader", this will warp the party to the leader.
- Added a summon structure to handle non-dead-branch mob-groups since the current implementation totally fails for mob groups that don't have MANY integrants
- Fixed mobs not attempting an IDLE skill right before unlocking a target.
- Removed a useless variable in the pet_data structure


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10961 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-08-08 01:55:58 +00:00
DracoRPG
b2950fb9d8 Added Job_Alchemist constant, Job_Alchem should now be considered deprecated
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10904 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-07-23 22:54:37 +00:00