13578 Commits

Author SHA1 Message Date
Lemongrass3110
2bf64c9773 Refactored the EQI constants
The EQI constants of the constants database did not match the ones used in the source up to now.
For whatever reason long long ago an array was created which mapped the const_db EQI constants to the source's EQP constant(aegis bitmasks).
With this commit we now use the already existing array from pc.h(which was moved from pc.c to be accessible).

This merges and closes #1147 due to follow up changes with 1cd3741.
2016-04-13 11:11:42 +02:00
rAthenaAPI
99fe9a4418 SQL synchronization
[ci skip]
2016-04-12 20:03:43 +02:00
Lemongrass3110
ad9df23d91 Merge pull request #1153 from secretdataz/db/item/vicious
Item database update - Vicious Mind weapons

Thanks to @secretdataz for the updates and @nanakiwurtz for reviewing!
2016-04-12 20:02:24 +02:00
aleos89
4f16d82540 Added return values for unit script commands (fixes #1143)
* Script commands getunitdata and setunitdata will return -1 when the given GID is not found.
* Script commands getunitname and setunitname will return Unknown when the given GID is not found.
2016-04-12 10:16:58 -04:00
aleos89
ee3cf98daa Fixed a possible item ID overflow for script command makeitem (fixes #1160)
* Fixed a possible overflow with script command getareadropitem.
* Adjusted item count variables to match item ID variable type as well.
2016-04-12 09:52:06 -04:00
Jittapan Pluemsumran
ade6b2ae98
Follow up to 3ba54ff 2016-04-12 13:36:06 +07:00
nanakiwurtz
c8ee48ab10 Follow up to cee4081
* Reverted MATK value of Eden Group Foxtail I (1699)
* Thanks to @zackdreaver and @julia40124009

Signed-off-by: nanakiwurtz <nanakiwurtz240@gmail.com>
2016-04-12 11:40:44 +07:00
Playtester
87471044aa Auto spell error log (fixes #1154)
* When using auto spell, it will no longer print error messages to the map-server when no valid skill was selected

Note: This needs to be done because the client sends us random IDs if the user simply presses on "Ok" without selecting a skill, so it's technically not an error, but expected behavior that needs to be handled.

Special thanks to @anacondaqq and @stealth62 for helping to reproduce the error.
2016-04-11 19:51:51 +02:00
aleos89
17685a3247 Fixed Heaven Drive not doing any damage (fixes #1156)
* Moved the Silver Vine Root Twist cancellation from Heaven Drive to skill_additional_effect as it was breaking out of the switch before skill_attack.
2016-04-11 09:45:03 -04:00
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
Jittapan Pluemsumran
3ba54ffa34
Item database update - Vicious Mind weapons 2016-04-09 01:21:47 +07: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
Lemongrass3110
9efd319900 Updated ZLIB
Upgraded from version 1.2.7 to the latest version 1.2.8

Source:
http://www.zlib.net/
2016-04-07 01:02:15 +02: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
nanakiwurtz
486495cab8 Edited small typo on script_commands.txt
Signed-off-by: nanakiwurtz <nanakiwurtz240@gmail.com>
2016-04-06 13:12:01 +07:00
nanakiwurtz
cee4081364 Follow up to a40b0e5 (Updated Doram items)
* Updated item_db.txt, item_db.sql, item_combo_db.txt
* Thanks to @cydh, @Darkelfen, @julia40124009, @secretdataz

Signed-off-by: nanakiwurtz <nanakiwurtz240@gmail.com>
2016-04-06 13:07:24 +07: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
aleos89
8d43623a2b Resolved several compile warnings
* Miscellaneous compile warning fixes.
2016-04-04 13:27:43 -04:00
Atemo
d53a294a19 Merge pull request #1135 from secretdataz/db/item/update-1
Minify item scripts
Thanks @secretdataz
2016-04-04 18:27:13 +02:00
Jittapan Pluemsumran
5a4ed0d206 Follow up to 97e8891
I goofed hard.
2016-04-04 22:44:02 +07:00
Jittapan Pluemsumran
97e8891550 Fix typo in Big_Eggring_Card script 2016-04-04 21:37:06 +07:00
Jittapan Pluemsumran
691866ba34 Follow up to a266d5aa22148f8a14f00ba24b327ff8728deb64
Fix unmatched ')'
2016-04-04 21:34:02 +07:00
Jittapan Pluemsumran
a266d5aa22 SQL synchronization 2016-04-04 19:04:15 +07:00
Jittapan Pluemsumran
f6254b8706 Follow up to a0619d72c5e90ba2b36c74b69ba670b026abde64
Update combo scripts to use min/max
2016-04-04 18:58:44 +07:00
Jittapan Pluemsumran
80ff2e3893 Update Pre-Re item db to use min/max 2016-04-04 18:53:49 +07: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
rAthenaAPI
c43e8db227 SQL synchronization
[ci skip]
2016-04-03 21:44:42 +02: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
Playtester
35bcde65d4 Copy Blaze Shield (fixes #1129)
* Blaze Shield can now be copied by Plagiarism and Reproduce
2016-04-02 19:43:58 +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
Jittapan Pluemsumran
ee979f30f0 Follow up to 2a29ac0
documentation update according to @aleos89's suggestion.
2016-04-02 02:23:14 +07: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
cb87186578 Added some active contributors to the author list
Thanks for helping us a lot lately @secretdataz and @jezznar.
2016-03-31 19:49:35 +02:00
Aleos
59eef4c73b Merge pull request #1092 from secretdataz/patch-1
Added support for Summoner Basic Skill to Kafra (fixes #1117)
* Added two new global NPC functions F_CanOpenStorage and F_CanChangeJob to remove redundancy.
Thanks to @secretdataz!
2016-03-31 09:10:30 -04:00