8488 Commits

Author SHA1 Message Date
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
Cydh Ramdh
7426c4bf2f Merge pull request #891 from rathena/hotfix/issue879
* Fixed #879. Added check while equipping Gun-type weapon X Ammo (bullets and grenades).
* Fixed Gunslinger's Spread Shot can be used by equipping Shotgun + Bullet or Grenade Launcher + Grenade.
2016-01-25 10:43:25 +07:00
Playtester
41e6b4a049 Sightblaster (fixes #788)
* Fixed Sightblaster printing errors to the map server log every time it's not used against a trap
* Fixed Sightblaster displaying damage twice and showing it's animation on every hit (partial revert of d95f5d2)
(Added a few comments so that it's clear it can't be moved to the other traps.)
2016-01-24 22:06:03 +01:00
Playtester
4fd4c1d5bf Pneuma / ArrowShower / Ranges, Charge Attack, Waterball / Jupitel fixes
* Pneuma / Arrow Shower / Ranges (fixes #915)
-- Pneuma now also protects against knockback from ranged skills
-- Arrow Shower cast by monsters is now always a melee skill and cannot be blocked by Pneuma, but can always be blocked by Safety Wall
-- When monsters cast a skill that has no specific rule, it will be considered melee when the target is within a 7x7 area around the monster, rather than a 11x11 area
* Charge Attack (fixes #417)
-- Damage: 0-3 cells 100%, 4-6 cells 200%, 7-9 cells 300%, 10-12 cells 400%, 13 cells 500%
-- Cast time pre-Renewal: 0-3 cells 500ms, 4-6 cells 1000ms, 7+ cells 1500ms
-- Cast time renewal: 500ms (250ms fixed)
-- The caster will now move to the cell next to the target rather than right on it
-- When the attack misses, there won't be knockback (but the caster will still move)
* Waterball/Jupitel (follow up to 6ebcb67, fixes #907)
-- Waterball/Jupitel now can hit through shootable walls
-- Waterball cells now can overlap
2016-01-24 17:54:02 +01:00
Playtester
9721dc94a5 NPC_EVILLAND and Sanctuary updates (fixes #927)
* NPC_EVILLAND now has 3+level intervals, a target range of 7 and ignores flee,
* NPC_EVILLAND's area of effect per unit is now 11x11 on level 1-9 and 27x27 on level 10
* NPC_EVILLAND now ignores Devotion
* Sanctuary now has exactly 1+3*level heal intervals, regardless of number of players healed
* Sanctuary will end early when 3+level targets have been hit, targets currently on Sanctuary might still be hit when it expires
2016-01-24 01:06:00 +01:00
Playtester
4fdcb2ea61 Official monster/MVP target selection (fixes #926)
* Monsters with mode MD_CHANGETARGET_MELEE will now only change targets on "attack" state if they are attacked by a normal attack
* Monsters will change targets if the target is within "attack range+1" distance instead of a static distance of 3
* When a monster gets attacked, it will now switch to the attacker even if the attacker is farther away than its current target and the current target is auto-attacking it
* Angry mode monsters will now always switch target to the first person that attacked them
2016-01-23 18:14:23 +01:00
Playtester
42b7d27e10 Merge branch 'master' of https://github.com/rathena/rathena 2016-01-22 22:57:42 +01:00
Playtester
e12fb643de Blacksmith skill update (fixes #912)
* Power-Thrust will no longer affects players that don't have a weapon equipped
* If weapon requirements on Adrenaline Rush or Power-Thrust are not met, the target will no longer display the buff animation
* Party members now only gain +5% ATK from Power-Thrust on all skill levels
* Hilt binding now increases the duration of Adrenaline Rush, Power-Thrust and Power Maximize for all party members as long as the caster has learned it
2016-01-22 22:57:21 +01:00
aleos89
8e6a65fff9 Updated Warg skills effects
* Tooth of Warg damage is now considered Weapon Mastery ATK which ignores elements.
* Warg Dash damage is no longer affected by player weight.
* When under the Warg Bite status players cannot use Hide, Cloaking, Cloaking Exceed, or Camouflage.
* Dance With Wug:
-- Damage is now considered a SC bonus.
-- Skills affected by Dance With Wug are now in INF3.
* Warg Strike and Warg Bite:
-- No longer affected by caster's % damage cards.
-- No longer ignores target's flee.
-- Ignores Demi-Human and Elemental reductions.

Thanks to @NovaRagnarok for helping test and get info!
2016-01-22 14:09:14 -05:00
Aleos
994b406575 Merge pull request #889 from rathena/feature/random_start_point
Implemented Randomized Start Point
* Fixes #805.
* Character's will follow somewhat of the official method of a 'random' start point at their first login.
* Official servers use load balancing for setting the start point dynamically according to user count, whereas we at rAthena wanted to stay simple since we don't believe you guys will need this kind of load balancing for new characters.
2016-01-22 12:23:22 -05:00
Cydh Ramdh
4068266d12 Fixed #893, #920. Success rate of Tarot Card of Fate's Death was accidently changed in b385fd048a6872b0fbd2562f619c51bf75f47599
Signed-off-by: Cydh Ramdh <cydh@pservero.com>
2016-01-21 17:31:18 +07:00
Playtester
30395fa9cf Merge branch 'master' of https://github.com/rathena/rathena 2016-01-20 21:39:36 +01:00
Playtester
cccd1496f7 Monster Vulture's Eye and Snake's Eye removed (fixes #916)
* Monsters no longer have Vulture's Eye level 10 and Snake's Eye level 10 learned by default
* When you tank Cecil Damon from 10-14 cells away, she will no longer use her target skills
* Added a configuration with which you can set the level of Vulture's Eye and Snake's Eye that monsters have learned
2016-01-20 21:35:54 +01:00
aleos89
af773a94a9 Follow up to b98fe0b
* Added a check if allocation fails.
2016-01-20 12:52:10 -05:00
aleos89
b98fe0b597 Cleanup
* Moved parsing for start_point and start_items to separate functions.
* Moved startitem struct to mmo.h and declared start_items in the charserv_config.
* Adjusted the MAP_DEFAULT_NAME for pre-renewal to the correct map.
2016-01-20 10:18:26 -05:00
Napster
8413ae905b Follow up to d70b173
* Add support Mechanic Outfit, thank you to Rytech for client support
2016-01-20 11:53:45 +07:00
Napster
b8a05178f1 Follow up d70b173 Fixed compile warning.
thank you to @Playtester point this.
2016-01-20 10:31:18 +07:00
aleos89
20e4029e26 Updated Volcanic Ash effect
* Follow up to 71ffda3.
* Skill cast failure chance should only occur at the end of cast.
2016-01-19 14:45:14 -05:00
Playtester
9cfca1cc08 Follow up to 5d7d994 and 6ebcb67 (code optimizations)
* Waterball now uses UNT_DUMMYSKILL
* Deluge/Volcano/Gale will no longer be blocked by UNT_DUMMYSKILL units
* Waterball will no longer cancel when damage is 0, on official servers this only happens if damage is negative but rAthena is no longer coded to handle negative damage unless you enable a custom feature, so... just don't use Waterball on water monsters, ok?
* Fixed two compiler warnings
2016-01-19 20:17:04 +01:00
Playtester
4c2d5153c3 Pre-renewal cast time fixes
* Mystical Amplification cast time can no longer be reduced by item bonuses except Staff of Destruction (fixes #903)
* Foresight will no longer stack additively with other cast time reductions (fixes #899)
* Suffragium and Foresight will now be consumed by skills, even if they aren't affected by them

Note: Whether skill-specific reductions stack additively with general reductions and how it works in renewal still needs to be tested, going to create separate issues for those once confirmed.
2016-01-18 21:01:38 +01:00
Cydh Ramdh
0d0c144b09 Follow up 6ebcb67601117f0e6a39aad67a1a4de11c9b8d86. Fixed compile error.
Signed-off-by: Cydh Ramdh <cydh@pservero.com>
2016-01-18 10:54:58 +07:00
Playtester
5d7d994ca0 Follow up to 9db667c (BSS fixed)
* Simplified the check (no need to check for ensemble and Adoramus separately)
* Fixed PR_BENEDICTIO not working at all
* Fixed chorus skills and WZ_COMET only counting to 1 rather than MAX_PARTY
2016-01-17 20:59:26 +01:00
Playtester
6ebcb67601 Waterball, Jupitel Thunder and Mystical Amplification behavior improved
- Implemented Waterball and Jupitel Thunder double cast (fixes #907)
* Waterball and Jupitel now won't apply a delay after they have been cast and won't notify the client about the spell until 150ms later, if another skill request is received, it will actually be cast as well
* To prevent exploits this behavior can only be used every 2 seconds
* This allows you to cast a spell after Jupitel that would not have enough range to be cast after knockback
- Finally implemented the official waterball unit behavior
* When casting Waterball, water, deluge and suiton units will be turned into waterball units
* These waterball units are then turned into waterballs one-by-one
* All unit behavior now also applies to waterball, special handling is now solved via db files
* If there are multiple waterball timers active at the same time, they will actually compete for the waterball units
* When waterball does not deal damage (100% resist), it will now cancel, allowing you to act and move again
* If this breaks anything, please notify me
- Mystical Amplification improved (fixes #908)
* Mystical Amplification will now toggle at cast begin rather than cast end
* When Mystical Amplification ends, spell damage will be immediately lower even for ongoing spells
2016-01-17 18:00:18 +01:00
Napster
c1f843d755 Follow up d70b173
* Remove sctipt command closedressroom not used this
* cleanup some code
* check white space
* add detail&document packets
2016-01-13 13:10:57 +07:00
aleos89
b85885c0a6 Updated Water Screen Option effect
* Behaves like Devotion now.
* Damage beyond Aqua's HP is not reflected back to the master.
* Damage is now properly displayed on Aqua rather than the master.
Thanks to @exneval.
2016-01-12 18:10:35 -05:00
Aleos
01ba54c77c Merge pull request #832 from CairoLee/master
Fixes #652 and #818
* Resolves players being able to talk to NPCs when a shop is open.
Thanks to @CairoLee, @anacondaqq, and @admkakaroto.
2016-01-12 17:56:31 -05:00
aleos89
b439ef3168 Follow up to 8a730cd
* Fixes pc_delitem checking for an invalid index.
* Adjusted to not count Magnifiers if other checks fail.
2016-01-12 14:34:50 -05:00
aleos89
e4a3811b92 Fixes #681
* Follow up to 4019fb4.
* Corrects Hover not avoiding splash attack skills.
2016-01-12 14:17:51 -05:00
aleos89
8a730cdec9 Follow up to 5fe8145
* Cleaned up and added a few more checks to oneclick_itemidentify.
2016-01-12 12:16:21 -05:00
Lemongrass3110
9046e7ecf7 Fixed #884
Thanks to @mrjnumber1 and @csnv
2016-01-12 17:52:03 +01:00
aleos89
9db667c6ac Follow up to 4871dab
* Expanded the array for Comet's SP cost to MAX_PARTY to avoid overflow.
* Refined the count check for skill_check_condition_char_sub:
-- Included Adoramus in the check.
-- Added a fail safe check.
Thanks to @theultramage.
2016-01-12 10:51:29 -05:00
Lemongrass3110
f424a2a71d Reverted 2d03e7f and d32c857
Fixes #890 and #897

Sorry for the inconveniences guys!
2016-01-12 15:59:42 +01:00
Napster
05cb1607c5 Follow up 3f26c3d
* forgot change packets version, stick on 20130807
2016-01-12 11:06:40 +07:00