8213 Commits

Author SHA1 Message Date
aleos89
cedc56f74a Resolved compile errors for 2015 clients
* Refactored some missing inventory checks from recent updates.
2016-04-07 10:01:13 -04:00
aleos89
2305a66101 Resolved a flag overlap for status_change_clear_buffs
* Small follow up to 894d6f2.
* Resolves Chemical Protection flag coinciding with the Lux Anima flag.
* Changed all bitmask values to readable constants.
2016-04-06 09:09:39 -04:00
Aleos
8a3c6727a2 Merge pull request #1130 from rathena/cleanup/status-mode-access
Standardized access to mode fields
* Preparation for future update.
Thanks to @Lemongrass3110!
2016-04-05 12:51:56 -04:00
Lemongrass3110
397728c213 Fixed an issue with mob randomwalk
This was caused accidently while trying to resolve some compiler warnings.
Partial revert of 8d43623
2016-04-05 09:41:32 +02:00
Playtester
2369f39854 Eska (fixes #1136)
* Eska no longer changes hard DEF
* In pre-renewal, Eska increases soft DEF by a random 0~99 each hit
* In renewal, Eska increases soft DEF by a fixed 80
* Eska no longer uses a weird timer that doesn't work anyway
* Fixed the effect of Eska not being removed when the status change ends on monsters
2016-04-04 22:44:04 +02:00
Atemo
3a558ff83b Rename canParticipateSiegeTE into getpermissionwoete 2016-04-04 20:35:58 +02:00
Atemo
b3d150c3a5 Merge branch 'master' into woe_te-restrictions 2016-04-04 20:22:25 +02:00
aleos89
8d43623a2b Resolved several compile warnings
* Miscellaneous compile warning fixes.
2016-04-04 13:27:43 -04:00
Cydh Ramdh
29f66186cd Fixed #1131 - Corrected KO_MAKIBISHI item required.
Signed-off-by: Cydh Ramdh <cydh@pservero.com>
2016-04-04 08:11:14 +07:00
Lemongrass3110
7a0b628acb Fixed character deletion for 2015-10-01 onwards
Fixes #1133
2016-04-03 21:06:31 +02:00
aleos89
4165b1dde1 Merge branch 'master' of https://github.com/rathena/rathena 2016-04-03 08:53:33 -04:00
aleos89
1ee4f445ab Corrected King's Grace behavior (fixes #1068)
* Users affected can no longer consume items or do physical attacks.
2016-04-03 08:52:59 -04:00
Playtester
fea90673d9 Fixed monster unlocking target during cast (fixes #1134)
* Monsters will no longer unlock their target when they use a skill that has a cast time on a target they need to chase
2016-04-03 14:46:43 +02:00
Playtester
75fce5df98 Provoke chance and animation (fixes #1132)
* The Provoke chance is now 70% + 3%*skill_lv + srcBaseLevel% - tarBaseLevel%
* When Provoke fails, it will no longer make the caster display any animation
2016-04-03 13:39:32 +02:00
Lemongrass3110
b6abe3fcbf Standardized access to mode fields
Additionally cleaned RC2 access too.
2016-04-03 03:10:25 +02:00
Lemongrass3110
3e2210c827 Merge pull request #1124 from rathena/feature/atcommand-set-arraysupport
Added support for arrays to atcommand set
2016-04-03 00:19:17 +02:00
aleos89
e0edc9956b Follow up to 19e4f59
* Fixed a compile error.
2016-04-02 11:59:27 -04:00
aleos89
19e4f599de Updated Arrullo and Deep Sleep Lullaby (fixes #1063)
* Deep Sleep status is now avoidable thus removing the 5 second minimum duration.
* Corrected the success chance for Arrullo and Deep Sleep Lullaby being 10x higher.
* Deep Sleep status duration is now BaseDuration - 25 * tarBaseINT - 50 * tarBaseLevel.
-- Deep Sleep Lullaby duration is doubled with BaseDuration - 50 * tarBaseINT - 50 * tarBaseLevel.
2016-04-02 11:03:56 -04:00
Playtester
c14758f932 Unwanted auto attacks (fixes #1127)
* Players will no longer do auto-attacks unless you keep the mouse clicked or use "Ctrl+Click"
* When the client sends a packet to stop auto-attack, it will now be properly stopped
2016-04-02 00:56:15 +02:00
Playtester
3cad4cd3a7 Sura combos, Tumbling (follow-up to 7ccca9d, fixes #1100)
* Sura combos will now target the trigger of the combo if you currently don't have any auto-target
* Fixed Tumbling sometimes displaying the stance even though it didn't trigger
* Fixed Tumbling not triggering when suffering the "Burning" status effect
2016-04-01 23:38:01 +02:00
aleos89
c75ffa15d5 Updated Offertorium curing status list (fixes #1111)
* Removes Magnificat, Blind, Curse, Poison, Hallucination, Confusion, Bleeding, Burning, Freezing, Mandragora Howling, Paralysis, Pyrexia, Death Hurt, Leech End, Venom Bleed, Toxin, and Magic Mushroom.
* Doesn't prevent the above statuses from being used again.
* Moved status removal to status_change_start overlap check.
2016-04-01 07:58:11 -04:00
Lemongrass3110
b53e00bcc2 Added support for arrays to atcommand set
Removed allocation and freeing of an unneeded script data structure.
Additionally removed a message that could never be shown.
2016-03-31 22:47:20 +02:00
Lemongrass3110
a0b3e517c8 Removed some warnings in run-once mode 2016-03-31 00:04:51 +02:00
Jittapan Pluemsumran
2a29ac0037 Follow up to ffd16c2
Thanks to @aleos89 for advices
2016-03-31 02:08:10 +07:00
Jittapan Pluemsumran
5e9489bbf2 Make arguments in getequipweaponlv command optional 2016-03-31 01:25:07 +07:00
Playtester
1812fddc29 Adoramus vs MDEF (follow-up to 1ca9fb5, fixes #1067)
* Adoramus chance can no longer be reduced by target MDEF
2016-03-30 17:55:47 +02:00
Lemongrass3110
cdd3fdfb6d Implemented min and max
These functions are based on the pull request #1091 from @jezznar.
They now are combined in one internal function using function pointers and alias names.
It is also supported to mix normal integer values and arrays now.
2016-03-30 16:04:47 +02:00
Atemo
a63604d92a Merge pull request #978 from rathena/command_update
Removed the displayed name in from of the message displayed by npctal…
2016-03-30 00:37:11 +02:00
aleos89
d88a6aca45 Optimized Inventory, Cart Inventory, and Storage usage
* These storage types now mimic Guild Storage and can be loaded/saved whenever needed.
* Relieves mmo_charstatus from having to send storage types and lets the char-server handle it.
* All storage types now have an increased max amount.
* Fixes #441 - Players will no longer be required to log out to resync cart item data before opening a Vending Store.
* Refactored player weight and cart weight calculations into their own functions.
* Added script commands guildstoragecountitem[2] and guildstoragedelitem[2].
* Refactored several function return types as well as documentation.
Thanks to @lighta and @cydh for their help with it!
2016-03-29 13:30:27 -04:00
aleos89
fe97051adf Updated Warmer effect (fixes #1097)
* Warmer should not re-apply status immunities every 3 seconds.
* Warmer status immunity should end once outside of the unit.
2016-03-29 11:01:58 -04:00
aleos89
ba640cf230 Updated Banding count check (fixes #1039)
* Banding now counts self (the caster) when casted.
2016-03-28 13:40:48 -04:00
Playtester
1365d9418e Meteor Storm, Catnip Meteor (fixes #983)
* Official implementation of Meteor Storm behavior
-- It deploys all units directly at castend
-- Each unit has a different expiration time
-- On the last interval of a unit the meteor will appear
-- When the unit expires, it will deal damage
-- If the unit gets removed at any time, no meteor will appear and no damage will be dealt
* It is now easily possible to configure Meteor Storm behavior via database files, no more extra coding required
* Fixed Meteor Storm sometimes dealing damage even though no meteor appeared
* Fixed Meteor Storm being able to hit through walls when the caster has moved in the meantime
* Catnip Meteor will now create 3-7 meteors depending on level
* Catnip Meteor now has an interval of 500ms instead of 1000ms
* Catnip Meteor now has a curse duration of 20s instead of 5s
2016-03-28 16:37:46 +02:00
Playtester
894d6f2fe6 Tarot Card/Gospel vs Chemical Protection (fixes #1108)
* The High Priestess Card from Tarot Card of Fate now removes Chemical Protection (all)
* Gospel now removes Chemical Protection (all) on the caster
2016-03-28 10:20:27 +02:00
aleos89
31ef12b947 Fixed a parsing issue with #commands
* Resolves an issue that makes #commands apply to a character that wasn't supplied.
Thanks to @MishimaHaruna at HerculesWS/Hercules@e4cf73f!
2016-03-27 10:48:09 -04:00
Playtester
084fbc8251 Fixed some Linux compiler warnings (fixes #1105) 2016-03-27 09:46:30 +02:00
aleos89
88d2dde632 Updated Volcanic Ash effect (fixes #1090)
* No longer gives 150% increased damage to fire type attacks.
* No longer damages self and allies on normal map types.
2016-03-26 10:25:22 -04:00
Playtester
590f42cd15 Fixed defense overflow exploit (fixes #1104)
* The defense penalty for being attacked by many enemies at the same time can no longer make DEF go negative
* Fixed two potential overflow exploits
2016-03-26 13:15:06 +01:00
Playtester
7ccca9ddbb Combo activation and targeting (fixes #1100)
* You no longer need to use combo skills on the enemy that triggered the combo except for Flying Side Kick
* Taekwon stances can now activate even when another stance is still active
2016-03-26 12:18:23 +01:00
Cydh Ramdh
cbfa9c9ea1 Merge branch 'feature/exp-giving-script'
Merge pull request #1032 from rathena/feature/exp-giving-script

Signed-off-by: Cydh Ramdh <cydh@pservero.com>
2016-03-26 01:45:36 +07:00
Cydh Ramdh
7a7ba75369 Merge pull request #1099 from rathena/bonus/bCriticalLong
Implemented Official Long Range Critical Bonus
* Fixed #1098
* Added bonus `bonus bCriticalLong,n;`.
* Add critical rate for normal long range attack.
* Bonus value won't be showed in status window.
* Updated item script following official (Aegis) script for:
  * Sharp Arrow (1764/Incisive_Arrow)
  * Drosera Card (4421/Drosera_Card)
  * Upd Bow Guardian Card (4550/Upd_Bow_Guardian_Card)
2016-03-25 19:15:37 +01:00
Playtester
a4aad69750 Exp tables updated (fixes #1102)
* Fixed a problem that many of the exp requirements were 1 level off
* Removed custom level requirements from the default pre-re/re rAthena files
* Optimized the structure of these files; no more redundant data
* Added a few custom exp rows to import-tmpl/job_exp.txt that can optionally be used
* Updated 1st and 2nd trans job exp requirements to the new official values from 2015
* Fixed a bug that caused monsters to still give 1 base/job exp even though their exp in the db is 0
* Updated Summoner EXP requirements according to latest test results; as Summoner has exactly the same base exp requirements as 3rd classes starting at level 99, it will now use the same row
2016-03-25 18:36:16 +01:00
Cydh Ramdh
9e82454a79 Implemented Official Long Range Critical Bonus
* Added bonus `bonus bCriticalLong,n;`.
* Add critical rate for normal long range attack.
* Bonus value won't be showed in status window.
* Updated item script following official (Aegis) script for:
  * Sharp Arrow (1764/Incisive_Arrow)
  * Drosera Card (4421/Drosera_Card)
  * Upd Bow Guardian Card (4550/Upd_Bow_Guardian_Card)

Signed-off-by: Cydh Ramdh <cydh@pservero.com>
2016-03-24 21:03:32 +07:00
aleos89
e071256247 Couple fixes for Vellum Vanish
* Small follow up to 6dc437f.
* Separated calculation for different vanish bonus types.
-- This resolves "double" vanish calculations from happening.
* Defaulted isspdamage to false before calculating vanish damage.
-- This resolves monsters doing SP damage to targets.
2016-03-23 21:28:22 -04:00
aleos89
6dc437fd08 Implemented the official effect of Vellum Vanish (fixes #900 and fixes #1021)
* The Vellum Vanish bonus only refers to bHPVanishRaceRate and bSPVanishRaceRate.
* Requires client 2013-03-20 and newer to display blue damage.
* Properly displays blue damage being done for SP Vellum Vanish.
* Vellum Vanish items no longer deal physical damage except on skill usage.
* Skill usage with Vellum Vanish does not cause vanish.
* HP and SP Vellum Vanish items do not stack (SP will override HP).
2016-03-23 14:25:58 -04:00
Matej Pristak
df1108923a Fixing venders being stuck when map->char connection gets reset. 2016-03-22 20:55:34 +01:00
aleos89
242b3c1ab4 Corrected item requires for Repair (fixes #1076)
* No longer requires Magic Gear Fuel.
* Repair Kit will now be properly checked.
2016-03-22 12:35:25 -04:00
Playtester
0bd337d9ad Monster logging/EXP, Knuckle Arrow damage
* Removed the self-logging aspect of monsters for non-damage skills (follow-up to a6f73a6)
-- Officially, these skills don't log and don't increase exp
* Fixed a wrong reference that caused Knuckle Arrow damage to depend on own weight rather than enemy weight (see #1071)
2016-03-21 22:40:20 +01:00
Lemongrass3110
33f397c025 Fixed the WFIFO issue in char select
Fixed #1082
"Reverted" aea025e
2016-03-21 16:27:12 +01:00
aleos89
41ed114493 Follow up to Doram release (fixes #1080)
* Resolves an issue with skill normalizations.
* Resolves an issue with becoming a High Novice automatically giving players the Basic Skill fully leveled.
* Updated the Job EXP table for Doram to match official. Still missing Base EXP table.
2016-03-21 10:56:37 -04:00
Playtester
989a2525ec Skills vs Icewalls/Traps, Talkie Box, Feint Bomb
* Implemented official behavior when attacking icewalls and traps with skills (fixes #1056)
-- Skills hitting icewalls and traps: Arrow Shower, Cold Slower, Tornado Kick, Sightless Mind, Meteor Assault, Spread Attack, Throw Huuma, Sightrasher, Sight Blaster, Earth Shaker, Rampage Blaster, Feint Bomb, Magnum Break, Fire Trap, Ice Trap, Cart Revolution, Napalm Vulcan, Triple Attack, Occult Impaction, Throw Spirit Sphere, Asura Strike, Spear Stab, Spiral Pierce, Holy Cross
-- Can target icewalls and traps but have strange behavior: Bowling Bash, Focused Arrow Strike, First Wind
-- Can hit icewalls and traps, but not target traps: Grimtooth, Raging Thrust, Blitz Beat, Napalm Beat, Fireball, Vulcan Arm, Tiger Cannon
-- Can hit icewalls and traps ONLY in PVP: Dragon Breath, Suicidal Destruction, Axe Tornado, Sky Blow
-- Can hit icewalls only: All other single target skills, Counter Slash
-- Can target icewalls but have strange behavior: Brandish Spear, Wind Cutter, Cannon Spear, Flame Launcher
-- Can not hit icewalls and traps: All unit skills, Frost Nova, Comet, Arms Cannon, Fatal Menace, Lion Howling
-- Can destroy traps but not hit icewalls: Claymore Trap
* When monsters use skills, they hit icewalls and traps and the damage displays, but they will no longer deal actual damage to the icewall or trap
-- Added an option to skill.conf with which you can define which types can damage icewalls and traps, by default it's 1 (player only), if you want to revert to previous behavior, set it to 31 (all)
* Fixed an issue where traps could not hit icewalls and other traps in PVP
* Taekwon combos can now trigger on traps
* Fixed an issue that caused damage to be displayed twice when attacking a trap with certain skills
* Fixed Feint Bomb causing knock-back to the target (see #1070)
* Fixed Talkie Box being triggered by monsters (fixes #1074)
2016-03-20 17:44:47 +01:00