14638 Commits

Author SHA1 Message Date
Playtester
c144febc30 Elemental Resist Potions vs Dispell (fixes #977)
* The status effect from Elemental Resist Potions can no longer be removed by "Dispell"
2016-02-23 18:07:27 +01:00
aleos89
d512f1588c Refactored Monster Mode
* Refactored all monster mode checks to use the enum e_mode.
* Created elemental_skillmode enum to separate usage from monster mode enum.
* Renamed EL_SKILLMODE_PASIVE -> EL_SKILLMODE_PASSIVE.
* elemental_change_mode() will now return the proper value from elemental_change_mode_ack().
2016-02-23 11:21:45 -05:00
aleos89
5c3d4e3e90 Updated Cursed Circle effect
* Should not stack/refresh itself.
2016-02-23 10:02:18 -05:00
Cydh Ramdh
d9a35c8c6a Follow up 51c422cf7cc9e6046886ec89cb9cec07c9cb0d3e.
* Added some skills and effects that can reveal hidden traps.

Signed-off-by: Cydh Ramdh <cydh@pservero.com>
2016-02-22 23:33:27 +07:00
Cydh Ramdh
51c422cf7c Corrected trap invisibilty behavior.
* Changed `traps_setting` config values.
  * 0 = Always visible (default)
  * 1 = Enable invisibility in versus maps (GVG/PVP/BG)
  * 2 = Enable invisibility in all maps
* Added skill unit flag `UF_HIDDEN_TRAP 0x20000` for trap invisibilty.

NOTES:
* Invisible traps are always visible for the trapper and trapper's partymates.
* If the trap is invisible, it always be hid immediately (except the people above).
* Revealed hidden traps, are always visible by everyone.
* Currently, only `HT_DETECTING` that can reveal the hidden traps (hardcoded). TODO: Sight, Ruwach, and Improve Concentration also able to reveal hidden traps.

Signed-off-by: Cydh Ramdh <cydh@pservero.com>
2016-02-22 22:34:08 +07:00
aleos89
2ad4972be8 Corrected Moon Slasher effect
* Now able to stop Boss monsters.
* Has a random duration of 1~3 seconds.
Thanks to @Playtester!
2016-02-22 09:14:54 -05:00
Cydh Ramdh
f2f135708b Follow up 70a67d6c5790f9fa61edcf7f2eda339b5e8df9e0
* On EXP lost by death penalty. EXP will be shown as negative value.
* Fixed check for EXP value on packet `0x07f6`. EXP is limited to INT_MIN until INT_MAX by client (so don't expect client to displays value more than this!)
* Added EXP gained/lost message by `@showexp` on death penalty too.

Signed-off-by: Cydh Ramdh <cydh@pservero.com>
2016-02-22 12:33:39 +07:00
Playtester
de08a3677e Follow up to 9721dc9
* NPC_EVILLAND and Sanctuary effects will now be slightly longer visible (just a cosmetic improvement)
2016-02-21 19:52:22 +01:00
Playtester
3449b67abc Follow-up to 8d20393 and a63b031
* Thunder Storm, Exploding Dragon, Lightning Jolt and Snowflake Draft can now damage more than just once every 500ms
* Fixed a problem with negative aftercast delay
2016-02-21 19:34:34 +01:00
Playtester
a63b031958 aMotion delay is now set at cast begin (fixes #944)
* When casting a spell with cast time shorter than aMotion, the delay will now be set to aMotion or min_skill_delay_limit
* aMotion and min_skill_delay_limit are no longer applied at cast end nor by auto spells
* Aftercast delay can only increase the delay and never decrease it
* When there is no aftercast delay, the client will no longer show a non-existent 10 second delay
* Removed "double cast" code of Jupitel and Waterball, it's no longer needed as it fits into the official delay system
* Added a constant SECURITY_CASTTIME, which is added at cast begin and subtracted at cast end to prevent hackers to send in skill packets before the timer triggers cast end
* Set skill_amotion_leniency to 0 by default as it applies delay at cast end and would consequently block the official system from working; you can set it back to 90 or even 140 for increased security
2016-02-21 17:06:39 +01:00
aleos89
f264885411 Follow up to 7c5bda2
* Corrected the Flash Combo bonus ATK not being applied to the caster and not displaying in the status window.
* Corrected Sky Net Blow not casting at the end of Flash Combo if the target is dead.
2016-02-21 09:53:05 -05:00
Cydh Ramdh
70a67d6c57 Official EXP on Max Level
* Fixed #942
* 'Last' EXP for max base level is 99,999,999 and 999,999,999 for Job EXP on max job level.
* Player still obtains EXP on max level (of course until both base & job reach 100%).
* This behavior is used for Base EXP check for:
  * Super Novice's Explosion Spirit.
  * Royal Guard's Inspiration.
  * High Priest's Redemptio.
* Added config `death_penalty_maxlv`, default is set to 0. Player on max level, never loss EXP by death penalty.

Signed-off-by: Cydh Ramdh <cydh@pservero.com>
2016-02-21 18:43:24 +07:00
Playtester
4c1c6e6d2f Merge branch 'master' of https://github.com/rathena/rathena 2016-02-20 21:42:01 +01:00
Playtester
8d20393b10 Ninja Skills vs Land Protector (fixes #971)
* Exploding Dragon, Lightning Jolt and Snowflake Draft are now unit skills
-- They no longer can deal damage on Land Protector
-- They will deal damage instantly, regardless of your ASPD
* Exploding Dragon now deals 150%+150%*level damage divided by number of hits, it can no longer damage plants
* Snowflake Draft's freeze base duration is now 2500ms+5000ms*level
* Renewal: Lightning Jolt's AoE is now 3x3 on level 1-2, 5x5 on level 3-4 and 7x7 on level 5
* Pre-Renewal: Cast time of Wind Blade level 8-10 is now 500ms shorter
* Watery Evasion now makes non-Ninja enemies stop when they walk on it and are not knock-back immune
2016-02-20 21:41:01 +01:00
aleos89
10b57568ee Corrected Sniper Trap behavior
* Cluster Bomb and Ice Bound Trap now have a 1 second delay after activation.
* Firing Trap is now activated immediately.
Thanks to @Tokeiburu!
2016-02-20 08:16:31 -05:00
Cydh Ramdh
26dcf345fe Added WOE:TE Restrictions
* Added mapflag `gvg_te`, `gvg_te_castle`, this is will be activated during WOE:TE sessions. These changes are needed because of:
  * If `gvgon` is used, TE castles become `gvg`, it makes the restriction failure. Items that are supposed to only can be used/equipped in TE Castles, also affected in 'normal' GVG/WOE maps.
  * These flags used form `item_noequip`, `skill_nocast`, and `status_disabled` flag 16. (If just assume TE Castles are Restricted Zone 8, the failure will occurs as point 1 above).
* Added Restricted Zone 8 for TE Guild Dungeons, to prevent marriage skills can be casted there.
* Added command `gvgon3` to set GVG for WOE:TE Castles.
* Added command `canParticipateSiegeTE` is 'hardcoded' function to check player's job that can participate in WOE:TE.
  * Current usages in `GD_EMERGENCYCALL` and replace the in-script function.
* Changed default config `allow_consume_restricted_item` to 'no'. All restricted usable/consumable/healing items are always failed to be used.
* Changed the GVG items/skills restriction check. "Item cannot be equipped in GVG maps" are supposed to ignore the agit flag statuses, as long as the map is GVG flagged, items/skills are always restricted and otherwise.
* Moved previous entries of `skill_nocast` flag 16 as hardcode (for now).

Signed-off-by: Cydh Ramdh <cydh@pservero.com>
2016-02-20 09:33:07 +07:00
rAthenaAPI
b97676e5c5 SQL synchronization
[ci skip]
2016-02-20 00:26:45 +01:00
Playtester
cac5b3cb1d Monster level 10 skills (Part 3), Fire Pillar, Storm Gust (fixes #973)
* Monster level 10 Frost Diver now deals 500% damage and has a 100% freeze base chance
* Added the remaining explanations and corresponding rAthena level to mob_skill_db_powerskill.txt, now all powered-up skills are listed
* Damage of Fire Pillar is now multiplied by number of hits when used by monsters
* Storm Gust's freeze duration is now 30 seconds in renewal
2016-02-19 23:25:05 +01:00
Aleos
9b87f47b57 Merge pull request #952 from CairoLee/master
CashShop Database cleanup
* Fixes #970.
* Now uses sv_readdb.
Thanks to @CairoLee!
2016-02-19 10:12:09 -05:00
aleos89
e51b7f1d86 Follow up to 8828312
* Compile error. Sorry!
2016-02-19 10:06:04 -05:00
aleos89
88283126e8 Updated Autospell effect
* Skill delay is now applied when autocasting spells during attacks.
2016-02-19 09:42:59 -05:00
Playtester
2c3cb602dc Blaze Shield slowdown, Sanctuary knock-back (fixes #963)
* Blaze Shield now properly slows down enemies while still making sure they take all the hits while moving over a fire cell
* Fixed some skills still having damage delay, even though their source is a unit (BL_SKILL)
* Sanctuary knock-back is now 2 cells instead of 1 and pushes "away from cell center of each cell", similar to Storm Gust
2016-02-18 18:42:13 +01:00
aleos89
d53ed80226 Updated Prestige effect
* Prestige's status is now refreshed when casted again.
* Prestige is now removed by Banding.
2016-02-18 09:41:58 -05:00
aleos89
9f0ae12824 Fixes #863
* Striking now takes the target's weapon level into account.
* Now displays the proper skill fail message when used on wrong targets.
2016-02-17 10:49:18 -05:00
Atemo
cc645c7e00 Fixed issue #966
Thanks @Tokeiburu
2016-02-17 03:14:17 +01:00
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
rAthenaAPI
a368ef6535 SQL synchronization
[ci skip]
2016-02-14 16:11:02 +01: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
Atemo
dbf21462ef Merge pull request #956 from rathena/fix_script
Fixes some bug in npc/cities folder and corrected syntax
2016-02-11 18:29:28 +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
Atemo
befc6123be Fixes some bug in npc/cities folder and corrected syntax
Corrected some npc view
2016-02-11 02:06:10 +01: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
Playtester
8677277121 Falcon Assault, Land Mine, Mercenary skill database updates
- Falcon Assault now has a fixed range of 9 and cannot be increased by Vulture's Eye (fixes #953)
- Land Mine is now correctly defined as non-splash skill (follow up to 04a1173)
- Applied all the skill fixes from the past years to the mercenary versions of those skills
2016-02-09 20:12:43 +01: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
620e953e1d Updated Item Delay Database
* Added Emergency Scrolls (12968, 12969, 12970) to the SC_REUSE_LIMIT_RECALL group.
* Removed the Vending Scrolls (12580, 12581) and Catalog Scroll (12591) from the SC_REUSE_LIMIT_RECALL group.
* Added ASPD Potion (12684) to the SC_REUSE_LIMIT_ASPD_POTION group (renewal only).
* Added Eclage items (12812, 12913, 12814, 12815) to the SC_REUSE_LIMIT_ECL group (renewal only).
* Updated Eden Group Mark (22508) from 120 minutes to 20 minutes. (renewal only).
2016-02-07 10:08:55 -05:00