157 Commits

Author SHA1 Message Date
skotlex
9ca2a6c0dd - Changed the chaotic delay from block to delay since it just a sec
- Fixed the longing for freedom check in unit_can_move
- Corrected a check while parsing refine_db.txt


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11870 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-08 17:09:24 +00:00
skotlex
000833c998 - Corrected Lif skill durations/delays according to http://irowiki.org/wiki/Lif
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11856 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-05 10:42:35 +00:00
ultramage
5f3c387a37 * Homunculi now reset their can-act delay on call/resurrect/mapchange (allows bypassing delays by doing rest/call instead of relog) [ultramage]
* Changed Lif's Emergency Avoid to just get a normal skill delay (blocks all skills, cancelled by mapchange / re-summon) instead of getting a persistent block on only this one skill (bugreport:13)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11766 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-21 08:44:08 +00:00
Playtester
3608801c4a Fixed duration of Enchant Deadly Poison
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11480 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-15 16:13:50 +00:00
Playtester
e3290e6d15 Reverted last fix according to tests on Aegis
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11479 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-15 13:20:47 +00:00
Playtester
eae1fe5d0b Fixed aftercast delay and timer of Venom Splasher
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11478 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-15 12:33:07 +00:00
Playtester
5d96e3c802 Fixed duration of NPC_POWERUP
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11447 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-13 10:54:46 +00:00
Playtester
2cf4224a5f Fixed up various skills that are supposed to use aMotion as delay
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11435 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-12 23:16:43 +00:00
Playtester
db7c85336e * Removed Final Strike from skill_cast_db
- also updated sql files

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11317 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-27 22:03:53 +00:00
Playtester
e1834dc81e * Updated item_db, mob_db and skill_cast_db
- updated prices of new etc drops (guessed values)
- updated Cursed Abbey mob drops
- fixed db name of Thanatos
- fixed cast time of Rebirth Spirit

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11149 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-08 23:25:57 +00:00
Playtester
b279360dd4 * Updated Staff of Destruction, Siroma Card and Imp Card
- also fixed duration of Antimagic and Stoneskin
- please report any bugs you find with all the new equips

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11120 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-03 23:46:52 +00:00
Playtester
fdb0f28cf2 Fixed Evil Land's blind effect not working properly
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11042 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-08-19 16:07:35 +00:00
Playtester
d6d9d497e2 Implemented Wolfhedin and Mithril Magic Manteau
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11005 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-08-14 18:28:00 +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
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
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
DracoRPG
63929dccf1 Venom Splasher and Gloria Domini fixes and updates
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10907 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-07-24 19:29:23 +00:00
ultramage
338c473b7d * Changed behavior of some guild-related code (according to X.4 tests):
- removed code that prevented Homunculus Resurrection during WoE
- logging in doesn't activate the 5 minute guild skill block anymore
- non-Urgent guild skills can now only be cast on WoE grounds during WoE
- all guild skills now have no cast delay (previously was 1 second)
- casting guild skills will now block FreeCast sages from walking
- Battle Orders and Regeneration are now instacast
- Restoration now has a 10 second cast time, reducible only by dex
- Urgent Call's cast cannot be reduced anymore (not even by items)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10807 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-06-22 16:25:18 +00:00
Playtester
548c7ede91 * Chase Walk's casting time is now 1200ms
- also fixed movement speed of Sword Master

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10587 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-05-20 09:25:14 +00:00
ultramage
a6e61e1d2f Gave each file an empty last line, to make svn happier
Added svn:eol-style native where missing
Removed remaining .gats

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10401 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-29 08:17:53 +00:00
Playtester
10d7115695 Added 1 second cast time to Chase Walk
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10365 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-26 14:08:40 +00:00
skotlex
9c8f2cbb52 - NPC_MAGICALATTACK now starts a state similar to Sacrificial Ritual, in the sense that every normal attack afterwards becomes a Magical Attack. The skill duration is 15 secs.
- Corrected some trade-cancel calls in trade_traderequest.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10346 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-24 19:33:37 +00:00
skotlex
13a368be13 - Corrected land protector's duration according to the descriptions
- Fixed "pc drop item" doing the incorrect check to see if the player was trading.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10252 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-14 04:09:40 +00:00
skotlex
7ec7957962 - Twilight Pharmacy's cast time is no longer reducable by dex.
- All weapon enchant levels now last 3 minutes.
- Corrected Ankle Snare/Spider Web having a 1% chance to trap rather than 100%
- Food boosts are now dispelled on death only.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10050 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-22 14:57:55 +00:00
skotlex
3ee61db52f - Removed Magic Rod's cast bar.
- Corrected warning on login sql.
- Gravitation no longer causes damage flinch.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10038 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-20 14:59:16 +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
cf8a93db38 - Updated the stun length to 5 secs of: Meteor Storm, Sonic Blow, Throw Stone, Sightless Raid, Smite, Cart Termination
- SG Union will consume now SP if you use it while not soul linked.
- Added variable "skip" to the mob spawn data, to know how many mobs to skip when spawning because they were not removed due to the "mob_remove_damaged" setting.
- Corrected the Hp/Sp regen formulas from Hp/Sp/Spirit Recovery and Happy/Peaceful break according to recent forums discussions (formula is changed from x*lv +max*lv/500 to lv*(x+max/500).


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9944 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-01 16:29:09 +00:00
skotlex
d493f0078a - NPC_AGIUP now boosts flee by 100% and duration is 5+5*lv secs, as stated on the Ragnarok Bible.
- Fixed Soul Breaker's misc part not ignoring flee.
- Fixed misc attack's flee check being backwards (the less hit%, the more chance you had to connect)
- Corrected the range check in vending.c (TRADE_DISTANCE -> AREA_SIZE)
- Added define DEFAULT_ENEMY_TYPE in mob.c to simplify the enemy bl check (for easier reading/customization)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9922 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-26 02:31:18 +00:00
skotlex
8ec0ed0d47 - Corrected homunculus's aspd being halved after using some aspd adjusting skill.
- Cleaned up the resetskill function (even though the functionality is the same as before)
- Corrected item 1459 (unused Partizan with no slots) being wlv3 instead of 2 (as the other two partizans)
- Changed the name of the four second versions of homunculi to not have a 2. (so you get a 'lif' and not a 'lif2'
- Removed flag graffiti from abracadabra
- Updated the stun times of Bash, Npc-StunAttack and meteor Assault to 5 secs as reported by Ultra Mage (still pending more data to see if all others need updating as well)
- Removed the log info message 'created homunc...', and the 'loaded homunc' message will only show if the save_log is enabled.
- Some cleanups


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9760 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-01 18:34:05 +00:00
ultramage
843f616bbb Fixed a typo in skill_cast_db.txt making the server skip NJ_KUNAI
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9711 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-24 22:13:29 +00:00
skotlex
b8a2a5f905 - Added function skill_strip to handle stripping code. The RG strip skills and GS_DISARM use it now.
- Modified the strip-related status changes so they handle removing the equipped item instead of leaving it up to the skill-code. They return 0 when nothing could be stripped.
- Cleaned some the MD_DETECTOR code.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9499 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-14 18:15:24 +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
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
skotlex
8b3a5f2362 - Corrected Ground Drift. Splash range of 3x3, stackable and placeable underneath others, cast time is 2 secs. It's considered ranged, and it's damage increase is defense ignoring, always neutral damage.
- Added Bull's Eye 0.5 sec cast time
- Corrected Bull's Eye implementation, it should deal normal damage against non brute/demi-human targets.
- GS_DUST is now considered a short-range attack
- Implemented Desperado's hit rate based on distance to caster as it's believed to behave.
- Suiton's Speed/Agi penalty will affect everyone when used in versus maps.
- GS_TRACKING's range is no longer affected by Snake Eye.
- Cleaned up some skill_trap_splash
- GS_FLING's defense reduction is now 5*lv%


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9158 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-06 21:10:45 +00:00
skotlex
eee1baf718 - Ganbantein's delay is now 2 secs.
- Removed the time2 value of NJ_NEN since it has no use.
- Removed the return code entry when logging GM reload-GM requests (login-sql),it'll just be stored as zero.
- Added a fix on socket.c to not pick INADDR_ANY when choosing our own IP.
- Applied the correction on maprespawnguildid so that it parses ALL players and not just those on a map.
- TK_JUMPKICK now dispels normal aspd/speed potions (not berserk pitched ones) and Preserve will be unable to block this.
- Soul Linkers are now inmune to SA_DISPEL
- You can now place everything (except magic skills) on top of LPs.
- Corrected Ganbantein to not touch song/dance/ensembles.
- Status_calc_pc will refuse to execute if the player is still tagged as a "new connection" and the invocation is not meant to be the first one.
- Swapped the order of checks in status_isimmune so that Wand of Hermod skill blocking takes precedence over GTB's
- Client packets will all be ignored while a player is not on a map until the LoadEndAck packet is received.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9152 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-06 15:58:30 +00:00
skotlex
274bcb4fa0 - MG_STONECURSE and NPC_PETRIFYATTACK now use time1 to specify the "petrifying time". This value has been set to 5 seconds.
- Now when SC_STONE is triggered from status-change cards, it's petrifying duration will be passed as 0, causing the minimum (1 sec) to be used.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9066 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-25 13:34:43 +00:00
skotlex
b8d25efdf3 - Added the Monk combos to skill_castnodex so their delay is not decreased by skills.
- Added the actual skill delay of 1000ms to Triple Attack and Chain combo in skill_cast_db. Added Combo Finish and TigerFist as well with a delay of 700ms.
- Phantasmic arrow now knockbacks even if it misses.
- Adjusted the way Monk combo times work. The combo time is now always 300ms (adjusted by combo_delay_rate) which takes effect inmediately AFTER your current skill's canact-delay (which is why the particular skill delays were moved to skillcast_db)
- Modified skill_delayfix so it performs the can-act reduction from agi/dex for combos there.
- Modified pc_steal_item so that it behaves more closely to the way it does on Aegis.
- Commented out the monster_noteleport mapflag from the guild castles as this is the Aegis behaviour


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9012 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-19 16:21:09 +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
ffc5a83ea9 - Corrected Caprice cast info. No cast time, delay time equal to the bolt spells.
- When slaves_inherit_speed is set (which is also the default), homun will have the same speed of their master when spawned.
- When using Hatred and you already have a hate target, your current hate target is displayed now.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8972 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-12 13:57:01 +00:00
skotlex
81530c4ef9 - Reenabled client requesting to self mute, as the whole knockback packet issues of the past which were causing players to mute themselves when being knockback is no longer there.
- Changed NPC_CHANGEUNDEAD from a self skill to a targetted skill. Changed it's duration to 30 secs.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8787 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-18 00:35:25 +00:00
skotlex
fd7c6a36a2 - Added monster_ai&256. When set, a monster will pick a random starting position to begin checking versus it's skills, otherwise, it will always begin checking from the beginning.
- Added NPC_CHANGEUNDEAD to the skill_cast_db, fixes it apparently doing "nothing".


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8778 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-16 23:41:07 +00:00
skotlex
845659a32d - Changed the default of sg_angel_skill_ratio to 10 based on recent information from Tharis.
- Cleaned up the doridori parse clif function.
- Moved doridori_counter to state.doridori
- Merged some of mpeg's work on NJ skills


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8665 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-07 20:24:41 +00:00
skotlex
87d78eb976 - Updated HLIF_CHANGE to work as explained by Tharis -> It now adds 30*lv vit and 20*lv int, is dispelled on warp, and can-act delay is 5+5*lv minutes. Hp/Sp is no longer set to 10 after a forced expiration.
- Added instant skill unblock in skill_[merc/pc]block_start when the duration passed is less than 1.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8547 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-30 14:11:23 +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
af738bf572 Same as below only 30 seconds duration
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8439 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-22 18:54:13 +00:00
Playtester
9ee9f49092 Added a duration to Disarm
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8438 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-22 18:48:17 +00:00
toms
6dfd77c8f5 Fixed HAMI_CASTLE, HAMI_DEFENCE & HLIF_AVOID
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8408 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-21 18:46:08 +00:00
skotlex
68df921a84 - Gravitation now only blocks the caster from using potions.
- Corrected Madness Canceller not letting you walk while the effect lasts.
- Splitted yet again ASC_BREAKER into a two-part attack. This time the int-based damage is a MISC type attack, and gets reduced by skills as such.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8392 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-20 21:38:02 +00:00