8070 Commits

Author SHA1 Message Date
Playtester
307207ffeb Reverted c4fe3be and re-fixed #779 (fixes #964)
* The original fix broke all "addele" and "subele" bonuses from items
* These bonuses require a full recalculation because the bonus needs to be reset before calculating the item bonus
2016-02-16 20:13:31 +01:00
aleos89
cff0c35662 Fixes #919
* Marsh of Abyss was removing the wrong status change for Increase Agility.
* Moved the skill to the proper switch to get rid of unused values.
2016-02-16 10:41:51 -05:00
aleos89
7c5bda2978 Updated Flash Combo effect
* Clean up of revert fc68007.
* Removes SR_FLASHCOMBO_ATK_STEP# skills. Packet dump shows these skill IDs are not used.
* Fixes damage calculation for Tiger Cannon and Skynet Blow.
* Tiger Cannon is now passed as a neutral elemental attack.
* Tiger Cannon now properly removes 10% of damage done to target instead of 10% of max SP.
* Skynet Blow now properly casts at the end of Flash Combo.
* Updated the range for Dragon Combo, Fallen Empire, and Tiger Cannon to 1.
Thanks to @RagnarokNova and @Lemongrass3110 for packet information!
2016-02-15 18:12:53 -05:00
aleos89
1df18a4a78 Compile Warning Cleanup
* Resolves some warnings from the gcc compiler.
2016-02-14 09:10:42 -05:00
Playtester
bd5911abb5 Monster level 10 skills (Part 2), Magnum, Brandish (fixes #958)
* The following monster level 10 skills now have their official effect
-- Brandish Spear: 5x5 line of damage. 562% damage to all cells.
-- Magnum Break: 9x9 AoE. 600% damage to all cells.
-- Mammonite: 1200% damage.
-- Fireball: Renewal: 1020% damage. Pre-renewal: 510% damage.
* Added explanations and corresponding rAthena level to mob_skill_db_powerskill.txt
* When used by monsters, Brandish Spear and Magnum Break now always deal full damage, independent of distance
2016-02-14 13:01:52 +01:00
aleos89
95a8d656a2 Follow up to b307ae8
* MD_FIXED_ITEMDROP only applies to renewal level penalty mod.
2016-02-13 08:27:19 -05:00
Playtester
719c43fb07 Fixed Weaponry Research's hidden hit bonus not working in pre-renewal
* The hidden hit bonus exists in both pre-renewal and renewal
* This is a partial revert of b0bc485
2016-02-13 13:30:07 +01:00
Playtester
7a62ab49dc Monster level 10 skills (Part 1), LoV (fixes #957)
* The following monster level 10 skills now have their official effect
-- Two-Hand Quicken: Increases ASPD by 70%. Duration 300s.
-- Lord of Vermilion: Deploys units in a 15x15 area that splash 1 cell into LP each. 520% damage per wave.
-- Thunderstorm: 20 Hits, 7x7 AoE. Splashes 3 cells into LP.
-- Decrease Agility: Reduces Agi by 50. Duration 130s.
-- Hammer Fall: 25x25 AoE. 100% base stun chance.
* Added a document that will contain all information on these special level 10 monsters skills
* Implemented official damage formula for renewal Lord of Vermilion; it only applies to LoV cast by players
2016-02-13 11:50:12 +01:00
aleos89
c9fde7655c Updated Illusion - Death effect
* Curse duration is not reduced by VIT.
* Cannot kill the target when lowering HP.
2016-02-12 09:21:12 -05:00
Playtester
e3667f4a07 Fixed boss monster skills being completely random (fixes #951)
- Boss monster skills no longer will have a random element
- Fixed boss monster skills being significantly weaker than they should be
- Prepared layout defines for upcoming MVP skill fixes
- Increased MAX_SKILLTIMERSKILL to 50 as this is maximum number of meteors you can have "in store" officially
2016-02-11 20:34:36 +01:00
aleos89
b9cce000bf Follow up to a7de6f8
* Fixed a compile error.
2016-02-11 11:06:59 -05:00
aleos89
a7de6f8f63 Updated Wedding Skills effect
* Male max HP required increased from 10% to 15%.
* Female max SP required increased from 10% to 15%.
-- These changes only affect renewal mode.
2016-02-11 09:54:25 -05:00
aleos89
30141bdbbd Updated Cart Cannon effect
* Cart Cannon endowed with fire should not break Thorn Trap.
* Cart Cannon should never deal damage to Wall of Thorns.
2016-02-10 10:31:18 -05:00
aleos89
bddb3fb3b3 Fixes #708
* Follow up to 4f4d8fe.
* Dispell is now usable outside PvP in Duels.
* Dispell is now usable outside PvP in the caster's party.
2016-02-09 10:12:32 -05:00
CairoLee
b96fba7e36 Follow up to b43853e 2016-02-09 12:55:26 +08:00
Playtester
0fd46eb3a6 Freeze, Stun, Sleep and Stone behavior (fixes #950)
- These status changes no longer make the target stand up
- Sleep and Stone (first phase) no longer make the target stop moving/singing/dancing
- Stone (second phase) will now make the target stop singing/dancing, but only make you stop moving in this one case
- You can now sit down while in the first phase of Stone
- You can no longer stand up while having any of these status changes (except first phase of Stone)
2016-02-08 20:52:09 +01:00
aleos89
744aed55e3 Updated Madogear effect
* Canto Candidus can now increase the agility of Madogear-ed players in the party.
* Heal, Increase Agility, Decrease Agility, Dispell, Renovatio, and Highness Heal now display the correct skill fail message.
2016-02-08 10:34:56 -05:00
CairoLee
b43853e174 Follow up to c1014ea
Thanks to cydh
2016-02-08 19:46:19 +08:00
CairoLee
c1014ea864 Use sv_readdb to read CashShop Database 2016-02-08 15:34:08 +08:00
Playtester
f5ea1dcb3e Several no-damage status change skills updated
* Scream and Frost Joke (fixes #945)
-- The delay until the status change kicks in was increased from 2s to 3s
-- Aftercast delay in pre-renewal was increased from 3s to 4s (already 4s in renewal)
-- Duration of Freeze from Frost Joke increased from 10-14s to 30s
* Hammer Fall, Lex Divina and offensive Status Recovery (fixes #945)
-- A delay of 1 second until the status change kicks in was added
-- Hammer Fall will hit the targets that are in the AoE before the delay (so you can't dodge)
-- Offensive Status Recovery's base duration reduced from 30s to 20s and base chance increased to 100%
-- Increased the maximum number of skill timers from 15 to 40 as they are needed for delayed status changes
* Stone and Freeze now remove Lex Aeterna (fixes #947)
-- For stone this refers to the second phase
* Scream, Frost Joke and Hammer Fall no longer make a target stop (fixes #948)
-- Similar behavior to e.g. Ankle Snare against bosses or in WoE
-- If the target was singing/dancing, it will still stop and the song/dance will be canceled
-- Fixed a bug that caused position lag when targets that are still moving but can't move anymore are hit
2016-02-07 18:58:53 +01:00
aleos89
a6811c7c18 Fixes #179
* Resolves NPC files not being loaded if the one before failed to load on Windows OS.
Thanks to @Lemongrass3110!
2016-02-06 09:36:36 -05:00
aleos89
8e283d2a00 Follow up to 0a77835
* Some basic refactoring.
* Cleaned up the documentation for script command getmapxy.
-- Removed UNITTYPE_MOB from the script command.
2016-02-05 12:38:30 -05:00
Atemo
9373c697b5 Added some source part. Thanks @aleos89 / @Cydh
Some debug thanks @Cydh
2016-02-05 15:48:26 +01:00
aleos89
0a77835029 Unit Controller Updates
* Added missing UMOB_CANMOVETICK option.
* Restructured script command getunittype return values to match the order of script command getmapxy to allow for more universal usage.
* Created constants for script commands getmapxy and getunittype.
* Updated NPCs using script command getmapxy to use the new constant values.
* Updated Battleground NPCs to use constant value for script command setunitdata.
2016-02-04 10:47:16 -05:00
Playtester
c0f2ee85fd Merge branch 'master' of https://github.com/rathena/rathena 2016-02-03 23:06:46 +01:00
Playtester
2b05c3c46f Fixed resistance cards reducing the damage to 0 (fixes #935)
* Damage reductions/increases from items will now always be rounded down, rather than the damage itself
2016-02-03 23:06:09 +01:00
aleos89
31c5914bb2 Updated Stasis effect
* Fixes #830 and fixes #918.
* All players within the skills range (depending on level) are effected by Stasis.
-- Resolves issue with players behind walls not being effected.
* Duration is now 10 + (10 * skill_lv) seconds with a minimum of 10 seconds after being reduced by VIT + DEX.
* Status Recovery now removes Stasis and White Imprison.
* All players effected by Stasis are unable to cast any skill except Status Recovery, Dispell, Clearance, and Banishing Buster.
2016-02-03 15:16:23 -05:00
Playtester
6ad062f6e3 Official line of damage path algorithm (fixes #658)
* Implemented the official line of damage algorithm that official servers use; it will calculate the direction between caster and target and apply one of eight possible AoEs
* Added a config setting with which you can switch back to the custom emulator path algorithm
* Updated Brandish Spear(5x5), Focused Arrow Strike(13x3), First Wind(5-9x3), NPC Breath attacks(14x7), Flame Launcher(5x3) and Cannon Spear(11x3) to use this algorithm and corrected range, splash and maxcount values for all these skills
* Fixed Brandish Spear's AoE being completely wrong and having holes in its AoE when attacking diagonally; also fixed the knock back being 3 instead of 2 and not working at all for the longest reach; Brandish Spear's AoE width and length can now be defined in skill_db.txt
* Focused Arrow Strike, First Wind and NPC breath attacks will at least hit one target, if no enemy is on the AoE, the target will be hit instead; Brandish Spear, Flame Launcher and Cannon Spear can completely miss
2016-02-02 23:41:05 +01:00
aleos89
79229c83c5 Follow up to 77e9eff
* Resolves compile warnings from the revert.
2016-02-02 11:58:47 -05:00
aleos89
77e9eff40d Revert "Updated Flash Combo effect"
This reverts commit fc68007.
2016-02-02 11:37:45 -05:00
Nova
b99e9b7e97 Revert "Reverting Playtester's merge."
This reverts commit 21021751dafe78334f7f9e2b256eca16177a5212.
2016-02-01 14:33:23 -08:00
Nova
21021751da Reverting Playtester's merge. 2016-02-01 14:14:57 -08:00
aleos89
d457d2f5f9 Implemented SC Blocking Database
* This database contains status (SC) that will be disabled/blocked on certain map.
* The specified map for SC is determined by map type or zone.
* The disabled SC will be removed if player has the SC from previous map and will fail to be applied again.
Thanks to @cydh!
2016-02-01 12:20:18 -05:00
Playtester
78e8147c39 Miracle no longer dispels on death (fixes #940) 2016-01-30 19:07:19 +01:00
aleos89
79d6eb29ee Compile Warning Cleanup
* Resolves some warnings from the gcc compiler.
2016-01-30 11:47:03 -05:00
aleos89
b307ae8004 Added MD_FIXED_ITEMDROP mob mode
* When active the mob's drops are not affected by item drop modifiers.
2016-01-30 11:20:20 -05:00
Playtester
78419baa76 Monster random walk code optimized (fixes #208)
* Monsters will now always find a cell to walk to on first attempt as long as there is at least one cell available
* Performance for searching a cell improved, a monster no longer tries the same cell twice
* Removed the "MOB can't move" warning by default; the warning could appear with legit behavior like using Icewall and actually made the monster re-spawn
* Added a config option to monster.conf, where you can re-enable the warning and the re-spawning again
2016-01-30 14:33:52 +01:00
Playtester
92bf61cd6f Kaahi is now able to overwrite higher levels (fixes #933)
* Also some small code cleanups
2016-01-30 09:51:30 +01:00
Playtester
dbb19abb66 Fixed elemental armor not reducing damage to 0 in pre-renewal (fixes #924) 2016-01-29 22:07:24 +01:00
aleos89
fc6800701b Updated Flash Combo effect
* Includes fixes for Dragon Combo, Fallen Empire, Tiger Cannon, and Sky Net Blow.
* Removed the SR_FLASHCOMBO_ATK_STEP usage.
* Fixes #627, fixes #725, fixes #741, and fixes #765.
Thanks to @exneval and @Rytech!
2016-01-29 11:15:00 -05:00
aleos89
e3c274ac5e Added support for client 2015-10-01 / 2015-10-29
* This does not add support for Doram server side.
Thanks to @Rytech!
2016-01-28 14:38:25 -05:00
aleos89
497cca198e Updated Chorus skill type effect
* Fixes 921
* Chorus skills now work as long as another performer is in the same party and on screen as the caster -- no longer has to be adjacent to caster.
2016-01-27 09:58:17 -05:00
Cydh Ramdh
39d918f70c Merge pull request #717 from officialronode/master
Fixed Cash Shop NPC
* Follow up 11f42f27ab4b9eb54c6b12e95b4ff8ec077fa157
* Fixed #931. Failing to buy item from NPC cashshop if no item in item_cash_db
2016-01-27 13:31:55 +07:00
Cydh Ramdh
dddc313c7d Clean up usage of unit_movepos and GVG/BG mpa checks on skill.c.
* Follow up 5afc620e740f03775b36925cb187b7d54124274a, 45936c7dc607f25ce3c7a33020aa691176978b73

Signed-off-by: Cydh Ramdh <cydh@pservero.com>
2016-01-27 13:03:05 +07:00
Cydh Ramdh
fd1b360c93 Merge pull request #896 from rathena/hotfix/issue779
Fixed #779 
* Fixed 'Elemental Resistance Potions' doesn't work without changing any equipment.
* Moved player's Elemental resistance & attack bonus from status_calc_pc_ that need SCB_BASE to status_calc_atk_ele_pc and status_calc_def_ele_pc as a child of SCB_ATK_ELE and SCB_DEF_ELE (doesn't need to calculate everything just for these points)
2016-01-27 12:37:09 +07:00
aleos89
5afc620e74 Updated Illusion - Bewitch effect
* Positions are not swapped on GvG/Battleground maps.
* Confusion is applied no matter the map type and ignores status resistances.
2016-01-26 14:40:01 -05:00
Playtester
d170b55d6d Renewal damage, Spear Stab damage, range behavior (fixes #932)
* Fixed the renewal damage formula, the base damage formula is now 100% official
* Fixed the Spear Mastery riding bonus not working
* Fixed Spear Stab only giving +15% per level instead of +20% (it used to be +15% pre-trans, but is +20% in pre-re and re)
* Implemented proper behavior of range when players use skills
-- All skills with range 4 or higher are considered ranged and can be blocked by Pneuma instead of Safety Wall
-- This mainly affects Spear Stab which is now ranged instead of melee
-- Removed unnecessary code for Gate of Hell
2016-01-26 20:30:19 +01:00
aleos89
45936c7dc6 Updated Knuckle Arrow effect
* Caster can not move to target on GvG/Battleground maps.
2016-01-25 14:12:16 -05:00
Playtester
0de5e008cf Merge branch 'master' of https://github.com/rathena/rathena 2016-01-25 19:13:39 +01:00
Playtester
ec149014a6 Fixed server crash when monster use blacksmith skills (fixes #930)
* Special thanks @reunite-ro
2016-01-25 19:13:10 +01:00