79 Commits

Author SHA1 Message Date
skotlex
28c4de2966 - Corrected NJ_KAENSIN as per description.
- Fixed a leaking map_freeblocklock on skill_del_unitgroup.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7659 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-13 20:25:13 +00:00
skotlex
5f5693bfa3 - Recoded NJ_BAKUENRYU to behave as I understand it best from the skill-description (since Haplo told me this skill doesn't really has video information or anything...)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7644 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-12 21:26:37 +00:00
skotlex
8cc2239aa1 - Fixed NJ_TATAMIGAESHI to use ground-tiles rather than "for each in path" calls. The skill should be working correctly now, except for the fact that the correct "unit id" is missing (this is what would give the ground tile it's correct display). Temporarily it is using 0xba until the correct value is found.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7641 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-12 21:02:47 +00:00
skotlex
3da94aa210 - Corrected skill require entry from the Twilight Pharmacy skills.
- Removed the Frost Nova entry from skill_unit_db
- Moved Gospel's code to skill_castend_pos2 
- Some cleaning of skill_castend_pos2
- Fixed a unnecessary map_freeblock_unlock call in the default case of skill_castend_pos2
- Sense/Estimation will now display the mob info window to all party members in the same map.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7595 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-10 14:51:34 +00:00
skotlex
1c16abb254 - Merged some skill db data of NJ skills, thanks to RockmanEXE
- Cleaned up some of the skill logic, so that skills that are casted on self, but have a unit id (an entry in skill_unit_db) will automatically re-route themself from a targetted-no-damage-skill to a ground-skill. When this happens, the effect packet is clif_skill_nodamage rather than clif_skill_poseffect (this is because that's how the dance/songs/encores behave).


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7538 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-05 16:05:59 +00:00
Vicious
3bbd24f7fc Saycyber21's NJ work
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7529 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-05 02:11:07 +00:00
skotlex
f89a7d2069 - Fixed a compile warning in login sql/txt
- Fixed pc_makesavestatus not setting your logout position.
- Fixed the UF * flags of Songs/Dances in skill_unit_db.
- Fixed two dances becoming BA_DISSONANCE instead of DC_UGLYDANCE.
- Added the missing +100% damage modifier of Enchant Deadly Poison.
- Fixed SkillStatusChangeTable not working correctly for Homun/Guild skills.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7454 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-03 14:39:15 +00:00
skotlex
00cbe67c6f - Small cleanup on Abracadabra.
- Added UF_SONG (0x400) to differentiate songs from dances.
- Updated the skill_unit_db accordingly, ensembles should only have that flag, likewise for songs and dances.
- Added preliminar support for making a Song+Dance turn into BA_DISSONANCE cells. Beware of potential bugs as it's untested.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7428 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-30 19:05:02 +00:00
skotlex
c71d38b672 - Corrected unit id of desperado and Ground Drift using jA's info.
- Rough implementation of Ground Drift according to description and jA info.
- Implemented Tatami Gaeshi using skill description and jA implementation for reference.
- map_foreachinpath calls will no longer go beyond the target point, as this function is required for skills other than SharpShooting now.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7344 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-26 18:26:51 +00:00
skotlex
eea63beee9 - Updated BD_INTOABYSS's unit flag to not affect mobs.
- Changed setting for skill_nocast flag 16. It is no longer a "pk-mode map" setting, it's now a clone-forbidden skill. That is, skills with the flag 16 will never be copied by clones. If you use a PK-mode server, use flag 2 now to forbid skills from common maps.
- Default skills from not being cloned are Magnus Exorcism and Turn Undead.
- The map search free cell will now use the size of the map # of tries before giving up when the spawn area is the whole map. Added a check to inmediately give up when the number of spawn retries has reached the max specified (no_spawn_onplayer = 100).
- Cleaned up a bit the clone code to account for the unit flags UF_NOPC/UF_NOMOB when the skill is not ground-based (accounts for self skill that causes a ground-tile to be placed, like Dances).


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7315 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-23 15:41:17 +00:00
skotlex
d16d7e47b4 - Added 5 config settings to adjust damage in pk-mode servers (misc.conf)
- Corrected LoV's effect range for levels 11+ to range 8.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6646 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-18 21:14:18 +00:00
skotlex
1bac98be0c - Fire Pillar will now do 200%MATK damage per hit when level is >10.
- Blood Drain always hits now.
- Fixed Mob Area Skills not updating their use-time (rendering their skill delay useless)
- Search free cell will now skip picking the center-tile as target location. Will prevent slaves from walking on top of their master, or mobs placing stuff right under themselves with the "around" target conditions.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6621 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-16 14:42:54 +00:00
Playtester
fa44f95727 * Fixed implementation of MVP Meteor Storm
- Dark Lord and Amon Ra use it
- Meteors drop in an area of 31x31 tiles
- each Meteor has 7x7 tiles splash damage
- each Meteor does 15 hits

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6609 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-15 20:37:17 +00:00
skotlex
7f07476e22 - Implemented desperado as explained by Rockman-EXE.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6454 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-03 00:33:37 +00:00
skotlex
64618b2b98 - Modified how Rogue's treasure works so that you get +1% to your steal rate rather than +0.01% to the final rate.
- Rewrote Warmth to use ground-skill-units, it should behave now like in officials (implementation is not quite the same, but it should yield the same effects while consuming less bandwidth). "Stacking", as it's called, is possible now, but limited to eA's minimum timer skill interval (100ms).
- Modified NPC_POWERUP so that it gives +10 dex * skill level rather than +5+lv to all stats (as explained by Playtester and Tharis on how the skill behaves).


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6446 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-02 15:02:29 +00:00
Vicious
0a79d2555c some jA thing
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5776 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-27 19:45:08 +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
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
c4d6af569a more ninja/gs update
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5535 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-09 18:39:57 +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
skotlex
898a5cb482 - Gospel no longer blocks item usage of whoever is in the area of effect.
- Added the long/near attack_def_rate card effects to battle_calc_magic
- Cleaned up a bit the slim pitcher code.
- Elemental fields should vanish on map-change now.
- Land Protector only blocks magical skills.
- Adjusted the duration of blind/bleeding of Meteor Assault


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5426 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-02 15:31:16 +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
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
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
548fa69b15 Removed some extra 0's
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1292 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-25 10:14:46 +00:00
celest
2468e69b8a * Updated Endure, Tiger Fist, Chain Crush, and Palm Push Strike
* Some rewrites on the passive guild skills effects

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1192 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-28 05:08:52 +00:00
celest
d24746468b * Added bAddItemHealRate
* Fixed a crash if adding an offline player to a party
* Fixed a crash with Warp

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1169 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-23 15:59:40 +00:00
celest
fea0900092 * Corrected Spiral Pierce's hits in the skill_db
* Moved /common/*.o into a obj folder when compiling 
* Updated core and map server to jA 1094~1115

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1162 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-22 16:08:24 +00:00