8070 Commits

Author SHA1 Message Date
Aleos
6dfdc4519a Merge pull request #1122 from rathena/cleanup/runonce-warnings
Removed some warnings in run-once mode
* Some notice and warning messages are not important in run-once mode.
Thanks to @Lemongrass3110!
2016-04-10 09:53:52 -04:00
Aleos
1cd3741055 Merge pull request #1120 from secretdataz/feature/geteqweaponlv
Made a new argument for script command getequipweaponlv
* Added -1 which will return the weapon level that the item is compounded on.
Thanks to @secretdataz!
2016-04-09 10:08:15 -04:00
MysticFutur0
c38bc88b8e Corrected Power of Life (fixes #1138)
* Skill was giving 2 instead of 20 CRIT to players.
Thanks to @MysticFurur0RE!
2016-04-09 08:52:11 -04:00
aleos89
5e58149bbc Added support for 2015-11-04aRagEXE
* Added support for this client to replace the 2015-10-29aRagEXERE which had issues with unknown packets causing random disconnects.
Thanks to @icxbb-xx and @renniw!
2016-04-08 12:36:46 -04:00
aleos89
5766fc6209 Corrected the return value for script command query_sql
* Should return 0 on an empty query and -1 on a query failure.
* Updated script command documentation.
2016-04-08 09:27:14 -04:00
Playtester
98dc0608c7 Catnip Meteor (follow-up to 1365d94, hopefully fixes #1149)
* Fixed Catnip Meteor not deploying units when using a catnip fruit

Special thanks to @MysticFurur0RE
2016-04-07 21:49:41 +02:00
aleos89
09dd7bd77f Fixed players getting stuck in storage
* Resolves an issue when the server saves character data and the character is in their storage resulting in the storage_flag being removed too early.
Thanks to @stealth62!
2016-04-07 11:04:22 -04:00
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