671 Commits

Author SHA1 Message Date
Inkfish
df4857ca11 Fixed a damage underflow (bugreport:3624)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14077 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-02 01:56:56 +00:00
Inkfish
feb7cc2d61 Equipment DEF penalty shouldn't be applied to players in Mental Strength.(bugreport:3454)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14010 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-08-18 08:25:04 +00:00
Inkfish
52bac46cfe * Questlog code cleanup.
* Fixed range check of autospell and autospell2 using wrong target when it should be used on yourself.
* Implemented official behavior of party_show_share_picker.
* Restricted zones in 'item_noequip.txt' can now stack.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13987 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-08-02 04:10:23 +00:00
Inkfish
56da31a0e1 * Fixed damage_level is not calculated properly on normal attack.
* Kaahi is supposed to be canceled on logout.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13978 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-29 05:33:20 +00:00
Inkfish
4cafc71047 * Kaahi heals no matter if attack connects. (bugreport:2440)
* Fixed a typo causing skillitem always resets skill delay. (bugreport:3431)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13977 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-29 04:33:00 +00:00
brianluau
e151f5b278 - Fixed the config description for 'random_monster_checklv' (follow up to r13952). (bugreport:3378)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13954 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-18 21:44:52 +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
2d8b6a13f4 Skills that have multiple hits should do 1 damage per hit to plants.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13938 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-07 10:54:21 +00:00
Inkfish
98159d09a3 You should lose hp anyway even if your Martyr's Reckoning is perfect dodged.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13934 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-05 03:40:34 +00:00
Inkfish
e7219585ed TK_POWER shouldn't count the player him/herself for the skill.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13931 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-04 11:29:36 +00:00
Inkfish
ef5faf1479 * Martyr's Reckoning can be perfect dodged.
* Casting Flying Kick while running and in the spurt status doubles the damage dealt without spurt status. (bugreport:1898)
- TODO: bonus on running is still not correct.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13929 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-04 03:54:58 +00:00
Inkfish
6b975e4fd5 * Fixed attack not counted as connect when dodged and got damage from skill bonus like Weaponry Research.
* Corrected the description for vit_penalty_type.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13918 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-29 12:47:21 +00:00
Inkfish
5516002a5c * Implemented script command "autobonus". [Inkfish]
- "autobonus" is similar to "bonusautoscript", however it has a timer of its own.
- Updated itemdb changing items bonus using "bonusautoscript + sc_start" mode to "autobonus + bonus" mode.
- Remove bonusautoscript and status changes that was needed by bonusautoscript and is no longer in use.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13915 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-28 08:23:53 +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
ultramage
1035d7490f Removed the 'src' parameter from skill_delunitgroup() (see r5911) (bugreport:3253).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13893 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-15 16:33:01 +00:00
Inkfish
0ec8d255ae * If both Double Attack and critical attack have chance to trigger within one attack, Double Attack takes priority. (bugreport:3231)
* Fixed Butterfly Wings not working on maps blocking Teleport. (bugreport:3236)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13886 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-13 04:25:34 +00:00
Inkfish
55a4ab1427 Fixed "arrow_atk" flag never being reset results in arrow consumption on itemskills and autocasts. (bugreport:3233)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13884 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-12 11:54:18 +00:00
Inkfish
5f16111215 * Added a configuration for whether damage of EarthQuake with single target can be reflected.
* Fixed Wizard Spirit can block reflected magical damage other than Kaite's.(bugreport:3161)
* Fixed Kaite works against bosses.(follow up to r13857)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13860 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-08 12:30:42 +00:00
Inkfish
dc7f470790 * Fixed turning off a skill needed to meet the requirements. (bugreport:3175)
* Skills used through items not having aftercast delay or cast time now don't overwrite the former canact_tick. (topic:220921)
* Multiple autoscripts now can trigger at once.
* Applied a temp fix for autoscripts crashing server.(bugreport:3154)
* Implemented SC_JEXPBOOST (thanks to GMJobbie for the diff). (bugreport:3177)
* Implemented SC_IGNOREDEF. (topic:217330)
* SC_DEFRATIOATK won't affect boss monsters. (topic:217330)
* Fixed skip_teleport_lv1_menu made lv2 skip menu as well. (bugreport:3183)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13844 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-05 00:22:12 +00:00
Inkfish
dcb4f2b931 Fixed 'n_ele' not initialized and a typo in the Changelog.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13828 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-30 11:55:59 +00:00
Inkfish
98cfff889a * Multiple autocasts can go off at a time now. [Inkfish]
* Splash damage doesn't get modified by percentual modifier now. [Inkfish]
* Monster's Spiral Pierce is again...non-elemental. [Inkfish]

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13827 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-30 10:01:08 +00:00
Inkfish
f090bdbdbc * Added a new battle flag for telling which skills can have bHealPower effect.
* Added documentation for bHealPower.
* Fixed some behaviors for healing skills, (thanks to L0ne_W0lf)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13821 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-29 14:25:14 +00:00
Inkfish
ac5aa55ae7 * Added new bonuses bHealPower and bHealPower2.
* Heal skills code clean up. 
- bSkillHeal can affect offensive heal now. 
- bSkillHeal2 can affect AppleIdun and SlimPitcher now.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13820 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-29 12:21:59 +00:00
Inkfish
579f0a250d Splash attacks do cause additional effects except for autocasts. (bugreport:2661)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13804 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-23 03:25:33 +00:00
Inkfish
e19735da51 Splash attack doesn't cause any status effects or autocasts any more.(bugreport:2661)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13801 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-22 12:14:54 +00:00
Inkfish
d8a02e92eb * Fixed some behaviors of additional effects (bugreport:3100,bugreport:2661)
- Coma can now be blocked by such skills as SafetyWall, Pneuma and Basilica.
- Equipment breaking behaves exactly like coma.
- Skill's self damage may now causes coma, equipment breaking and autospell/autoscript.
- GrandCross now allows you to drain hp/sp.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13800 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-22 08:37:13 +00:00
Inkfish
f3572b9e6d * Now fiberlocking a fiberlocked target doesn't renew the timer but instead increases its fireweakness [Inkfish]
- This makes doublecasting firebolts on a double fiberlocked target having double damage from both 2 bolts possible = =(bugreport:3061)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13799 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-20 12:42:06 +00:00
ultramage
13114498f0 Rigged the r13676 modification of battle_calc_weapon_attack to make neutral element reductions work again (bugreport:3097).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13795 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-19 14:37:10 +00:00
Inkfish
1a70b702c8 * More logical modifications on skill_additional_effect thing. Thanks to ultramage.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13771 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-14 16:15:17 +00:00
Inkfish
1032d53f6e * Sorry for taking 3 steps for this ugly code. Please take it as a compromise since we do not have enough info to emulate how Aegis does.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13769 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-13 12:17:19 +00:00
Inkfish
19ba08fe2c Fixed effects being applied improperly in some rare cases.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13768 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-13 11:44:14 +00:00
Inkfish
e4ed05e3f0 PNEUMA, BASILICA and SAFETYWALL no longer protect you from such negative status changes as COMA, STUN, FREEZE and etc. (bugreport:1346)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13767 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-13 11:07:09 +00:00
zephyrus
7828b01c09 - Fixed a bug (important on Battlegrounds if you are using then).
* A player can do more than 1 damage to a plant per hit, if he equip only one weapon on left hand and keep the right hand clean and receives Weapon Element buff, for example the post effect of Magnum Break. On battleground it means you can destroy quickly crystals and barricades.
- Also fixed the extra bonus of the leaf hand, it was using the bonus of the right hand.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13760 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-12 15:39:17 +00:00
Inkfish
5343380fc4 * Fixed GX's skill level modifier is missing
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13745 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-09 14:47:09 +00:00
Inkfish
0595535167 * Fixed splash damage from Baphomet Card might miss. [Inkfish]
* Check if group unit is expired before processing it. (bugreport:3054) [Inkfish]
* Fixed Grand Corss outdated behavior (bugreport:1590) [Inkfish]
- use new damage formula
- DEF is reduced to 2/3 during cast time
- block shields switching within attack duration
- monsters don't damage themselves any more
- intervals between hits are 300ms

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13736 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-07 12:15:14 +00:00
Playtester
96a0560b11 * Fixed Monster Spiral Pierce not being reduced by Ghostring Card
- it is forced neutral as its a MISC skill for monsters and doesn't take weapon element

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13702 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-25 13:15:45 +00:00
ultramage
7c730e4fbd Added an int64 typecast to both the acid demonstration equation (which couldn't handle 1000-ish stats), and the misc damage reduction code (followup to r13694).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13700 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-25 10:03:23 +00:00
Playtester
a223cdcba8 Fixed a small typo I did in my last Spiral Pierce fix, thanks to Inkfish for pointing it out (bugreport:3013)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13697 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-24 15:30:24 +00:00
akrus
5a35f1c88e * Lil fix for my last commit. Sorry :)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13696 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-24 12:58:35 +00:00
akrus
97f947bb63 * Fixed Acid Demonstration (and probably some other skills) working wrong on high-rate servers (thanks to [Funt] for the idea)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13694 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-24 07:56:29 +00:00
skotlex
3db650ec38 - Corrected the attack_attr_none setting to behave as it should: for those whom it is set, their "innate" attack element is "not elemental", meaning it deals 100% against all elements (rather than making only NEUTRAL attacks become not elemental).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13676 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-16 19:36:16 +00:00
Playtester
d8faa8086c * Monster Spiral Pierce is now a ranged misc attack
- it always gets blocked by Pneuma, but never by Safety Wall
- Defender doesn't reduce its damage
- Range-Def item bonuses reduce its damage

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13672 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-15 16:30:08 +00:00
zephyrus
5ddd4d08fe - Implementing official battleground "emblem" crossed swords icon.
- Removing the custom guild packets from Battleground as they are not needed anymore.
- Scripts updated.
- In this way, you get "battle cursor" over your same team, but that's how official does.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13635 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-29 16:49:52 +00:00
Sara
b3860fdc01 * Added support for new status change packet, uses new setting display_status_timers in client.conf.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13613 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-24 01:56:16 +00:00
ultramage
c4a4f647a1 Fixed a crash if for some reason a mob uses Blade Stop.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13567 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-04 22:18:34 +00:00
ultramage
9c6c292775 Small edits to battleground code (bugreport:2816)
- removed bg_idle_announce setting (could be considered later)
- moved crystal protection code to battle_calc_bg_damage
- removed mob state 'inmunity' in favor of a script-based solution
- removed unneeded 'setmobdata' (fixes collision with mob controller)
- added svn:eol-style native for battleground code

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13565 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-04 17:26:07 +00:00
ultramage
8d57253cc3 Removed the Blade Stop range check against players.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13562 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-03 15:57:28 +00:00
ultramage
1d82043903 Blade Stop status no longer prevents item use and equip changing.
Blade Stop skill will now only activate if the attacker is at most 2 cells away (1 if barehanded).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13557 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-02 18:11:49 +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