684 Commits

Author SHA1 Message Date
Cydh Ramdh
d84d6ba1e5 Initial release: Map X Job restriction (#1526)
* Listed job with matched map zone is restricted to enter the map.
* Added db file `job_noenter_map.txt` with format: `JobID,FlagZone,GroupLevelBypass`.
* Reserved usage for WOE:TE implementation.
* Typo correction, thanks @aleos89 @Lemongrass3110
2016-08-30 22:09:02 +07:00
Cydh Ramdh
8805e7e1d8 Merge branch 'master' into woe_te-restrictions 2016-08-27 07:04:41 +07:00
Cydh Ramdh
e7147d97a1 Added empty db/pre-re/item_randomopt_db.txt, follow up f296409ada211a0aa89863db4d9603054845cf65
Signed-off-by: Cydh Ramdh <cydh@pservero.com>
2016-08-18 14:24:49 +07:00
aleos89
d7ee77caa3 Follow up to 16b100d
* Corrected some skill tree max levels not matching their defined max level.
2016-08-17 13:10:35 -04:00
aleos89
e40c88ecbf Skill Tree cleanup
* Added an optional base level requirement for skills.
* Refactored some variable types and names.
2016-08-11 18:31:59 -04:00
Lemongrass3110
a209e4ce54 Updated item type of Falmons F in pre-renewal 2016-08-10 20:21:17 +02:00
aleos89
8788c74a02 Follow up to f200541
* Added missing pre-renewal skill database changes.
2016-08-10 13:50:58 -04:00
aleos89
52a74e8590 Updated Camouflage behavior - part 2
* Follow up to bec9845.
* Arrow Shower should not benefit from Camouflage.
* Sharp Shooting and Arrow Storm bonus should be applied to all targets in the area, not just the selected target.
Thanks to @Tokeiburu!
2016-07-29 13:39:51 -04:00
Lemongrass3110
b6adc1d4ff Replaced specialeffect2 calls without constants 2016-07-29 19:34:30 +02:00
Lemongrass3110
63ff4a9390 Made mercury riser refinable
Fixes #1458
2016-07-28 20:59:38 +02:00
Jittapan Pluemsumran
a33fbce144
Enabled previously disabled Freyja set for pre-renewal. Fixes #1455 2016-07-28 09:41:17 +07:00
aleos89
bec9845499 Updated Camouflage behavior (fixes #1438)
* Camouflage now ends when attacking plant type monsters.
* Camouflage bonus is applied to the first skill after activating Camouflage.
* Corrected movement speed bonus checks.
* Removed INF3_NOENDCAMOUFLAGE enum as it is no longer needed.
* Updated skill_db documentation.
2016-07-26 16:58:44 -04:00
aleos89
d5edd06c6d Corrected Mercenary skills (fixes #1442)
* Adjusted Scapegoat SP requirement from 10 to 5.
* Removed 100% HP requirement of Scapegoat.
* Recuperate now removes Deadly Poison.
2016-07-25 10:49:05 -04:00
Jittapan Pluemsumran
9d730f3ba9
Item database update
Fixed #1433. Fixed #1434.
2016-07-18 23:27:53 +07:00
Jittapan Pluemsumran
1f85dab1c5
Fixed Emergency Call scroll being usable on non guild-leader. Fixes #1421 2016-07-09 01:16:11 +07:00
aleos89
e5a197ad70 Corrected Cloud Kill effect (fixes #407)
* Properly implemented the Cloud Kill status icon.
* Poison duration is not reduced and lasts if the target leaves the AoE.
- Walking into the AoE a second time resets the Poison status.
2016-07-02 19:49:58 -04:00
Lemongrass3110
a41b132321 Updated some aegis names
Additionally trimmed some whitespaces at the end of names or at the end of lines.
Added some more placeholders for monsters.
2016-07-01 08:48:44 +02:00
Lemongrass3110
2534588af6 Added const support to mob race2 db 2016-06-23 01:16:27 +02:00
Jittapan Pluemsumran
e4ac1eee8c
Phantasmic Arrow should use equipped weapon's element instead of forced neutral.
Fixes #1352. Thanks to dragonis1701
2016-06-19 20:42:37 +07:00
aleos89
ab576e9bf8 Corrected Warmer's effect (fixes #1097)
* Moved the healing effect to status change timer.
* Warmer's effect will now last the entire life of the unit.
* Warmer's effect will now be removed when a player leaves the unit.
* Corrected Cloud Kill unit flag not being applied.
2016-06-06 09:47:03 -04:00
aleos89
e39293f129 Follow up to 19f2bc5
* Reverted parts of the Earth Quake cleanup.
* Added the missing 100% damage increase for levels 5 and higher.
* Corrected the hit rate to be 2x not 1.2x.
* Commented out the unofficial ATK2 damage increase.
2016-06-02 18:39:17 -04:00
Aleos
48a4ee162d Merge pull request #1324 from rathena/cleanup/monster_groups
Cleaned up monster group parsing
* Adjusted monster groups to support sv_readdb.
* Updated the import folder documentation for the related monster groups.
* Fixes #1269.
Thanks to @Lemongrass3110!
2016-06-01 10:21:26 -04:00
Aleos
1591e9ade7 Merge pull request #1308 from rathena/cleanup/item_groups
Cleaned up item group parsing
* Adjusted item groups to support sv_readdb.
* Now allows for proper usage of the import directory for these item groups.
Thanks to @Lemongrass3110!
2016-05-31 14:10:16 -04:00
Lemongrass3110
73f0d8423d Removed old entries in mob_random_db 2016-05-28 17:16:34 +02:00
Jittapan Pluemsumran
5287f82a0e
Add support for unsetting bit flag in item_noequip (Closes #1319).
* Unset the flag by passing in negative value.
* Thanks to @Everade
2016-05-28 00:20:08 +07:00
Aleos
32c829debe Merge pull request #1264 from rathena/feature/instance_expansion
Expanded the instance system to support new modes
* New modes include: No player attached, single player, and guild.
* Modified the instance_db to allow instance idle time to be adjustable.
* Removed Map1 from the instance_db as the EnterMap is always the same value.
* Adjusted the stored maps of instances to dynamic arrays to conserve memory.
- Max amount of possible maps increased to 255.
* Instances will now be destroyed even if the owner cannot be found.
* Corrected the return value when entering an instance when a character, party, or guild does not have an instance.
* Expanded script command instance_create to take in an owner ID and an optional mode.
* Added a new script command instance_check_guild (works the same as instance_check_party).
* Corrected a few script commands to properly stop the script engine on failures for instance script commands.
* Removed the instance name lookup for when entering an instance as instance_id is now passed.
- Adjusted script command instance_enter to no longer require the instance name.
* Cleaned up script command instance_warpall.
* Adjusted script command instance_announce to check when instance ID is 0 rather than -1 since instance IDs are stored as unsigned now.
* Refactored all instance_id to unsigned short.
* Updated documentation to reflect changes.
2016-05-25 14:55:50 -04:00
Jittapan Pluemsumran
9b4c7dd1fe
Correct hit amount of KO_HUUMARANKA
Fixes #1300. Thanks to @spinzaku
2016-05-25 11:57:26 +07:00
aleos89
6babca3689 Corrected a few minor issues
* Follow up to 2cfb844.
* Adjusted the instance_db documentation.
* Adjusted script command instance_announce to check when instance ID is 0 rather than -1 since instance IDs are stored as unsigned now.
* Added a couple of checks when sending instance information to the client.
* Fixed a compile warning.
2016-05-24 09:22:03 -04:00
aleos89
2cfb844429 Refactored a bit of the instance modes
* Follow up to c97be60.
* Added some safety measures when sending the instance name to the client.
* Adjusted the stored maps of instances to dynamic arrays to conserve memory.
- Max amount of possible maps increased to 255.
* Removed Map1 from the instance_db as the EnterMap is always the same value.
* Instances will now be destroyed even if the owner cannot be found.
* Corrected the return value when entering an instance when a character, party, or guild does not have an instance.
* Corrected a few script commands to properly stop the script engine on failures for instance script commands.
* Removed the instance name lookup for when entering an instance as instance_id is now passed.
- Adjusted script command instance_enter to no longer require the instance name.
* Adjusted script command instance_create to keep backwards compatibility.
* Cleaned up script command instance_warpall.
* Updated script documentation to reflect changes.
* Updated instance_db to reflect changes.
2016-05-23 14:12:34 -04:00
Lemongrass3110
1e6eb7d1da Removed old entries item_group_db 2016-05-22 03:58:54 +02:00
aleos89
19f2bc597c Corrected NPC Earthquake skill (fixes #1289)
* Properly implemented the skill as a unit skill.
* Corrected the damage calculation and removed attempts at diving by zero.
* The skill now ignores the target's defense.
2016-05-20 14:00:58 -04:00
aleos89
24ef79b12e Corrected Dispell, Clearance and Banishing Buster usage on hidden targets (fixes #1266)
* When the target hides after having one of these skills casted upon them, the skill will no longer fail.
2016-05-18 09:20:24 -04:00
aleos89
cb703c5bfa Expanded instance_db to include idle time
* Follow up to c97be60.
* Adjusted the instance_db to allow instance idle time to be adjustable.
2016-05-14 12:06:04 -04:00
Lemongrass3110
3132b6060d Added bonus for Purple Cowboy Hat(5816)
Thanks to @zackdreaver
2016-05-10 13:26:24 +02:00
Daegaladh
5c64185abe Fixed Classic_Hat_J and Cowboy_Hat_J names swapped 2016-05-08 23:10:51 +02:00
Playtester
8a37f1b2a9 Marionette Control, Mechanic Back/Front Slide
- Marionette Control now has a range of 7 (fixes #1239)
- Mechanic Back/Front Slide skills are no longer blocked by gear that makes you knock-back immune (fixes #1227)
2016-05-03 22:04:43 +02:00
Lemongrass3110
b14b3e2888 Used weapon type constants where possible
This commit makes those item scripts a little more readable and decreases the chance of mistakenly using an incorrect weapon type id.

Follow up to c6187fa.
2016-05-02 23:30:04 +02:00
Playtester
89f86b2533 Lunatic Carrot Beat, Catnip Meteor, Grand Cross (fixes #1219)
- Lunatic Carrot Beat and Catnip Meteor now deal 300% to 700% damage which is calculated once and split between multiple hits rather than calculating damage per hit; despite this, they can still hit plants
- Reduced cast time of Lunatic Carrot Beat from 3000ms to 1500ms and cooldown from 8000ms to 6000ms according to latest tests on kRO
- Fixed Catnip Meteor still having a fixed cast time
- Increased stun chance of Lunatic Carrot Beat from 10% to 20%
- Increased curse chance of Catnip Meteor from 10% to 20%
- Increased cast time of Grand Cross in pre-re to 3000ms (see #1140)
- Fixed Grand Cross sometimes having 4 intervals instead of 3 (see #1140)
2016-05-02 23:27:08 +02:00
aleos89
55e4df14c2 Overhaul of the mob mode system
* This rewrite allows for better adaptation from the Aegis Class and Attribute fields.
* Refactored the renewal level penalty function.
* Slaves are now properly assigned an official slave mode of CanWalk, CanAttack, and NoRandomWalk.
* Removed extra Boss checks and adjusted others to use their proper functions.
* Properly implemented Skill Immunity mode to match Aegis.
* Separated MVP and Boss modes.
-- MVP mode defines when mobs should give MEXP, MVP Drops, and show the MVP sign.
-- MVP now have their own item drop configurations.
* Updated the mob_db and mob_skill_db to match the new mode structure.
-- Included a Perl tool (tools/convert_monstermode.pl) to allow people to convert their custom mobs to the new mode structure.
Thanks to @Playtester and @Lemongrass3110 for help with debugging and information!
2016-04-18 14:49:27 -04:00
Playtester
33efbd0869 Summoner, Novice and Level 151+ HP/SP updated (fixes #1181)
* Summoner HP/SP values are now accurate for both HP/SP tables and the automatic calculation
* Summoner HP/SP adjustments in the code are now at the correct place and only used when the HP/SP tables are not used
* Super Novices now gain +2000 HP at both level 99 and level 150 and the bonus stays even on level 100-149 and 151+ (fixes #979)
* Normal Novices no longer get a HP boost
* Updated HP/SP tables to official values for level 151-175 and extrapolated new values for up to level 500
* Removed 3rd classes from the HP/SP tables in pre-re and replaced them with dummy data (using Novice values)
-- Note: This way updates like this one don't need to be done twice. If you want to use 3rd classes in pre-re just copy over the lines you need from the re folder or even better, use the import folder. You should use it for all customizations you do for easier updating.
2016-04-17 01:08:44 +02:00
Atemo
b3d150c3a5 Merge branch 'master' into woe_te-restrictions 2016-04-04 20:22:25 +02: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
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
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
Cydh Ramdh
0f41f98716 Item DB Update
* Follow up 7a7ba75369595459438248ad028b67b294759fcb for pre-renewal.
* Fixed wrong variable usage in autobonus script. Thank @Darkelfen in #1006
* Updated sql files.

Signed-off-by: Cydh Ramdh <cydh@pservero.com>
2016-03-27 14:18:50 +07: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
aleos89
18b50f46a9 Corrected Power Swing weapon requirement (fixes #1079)
* Power Swing should only cast while wearing a 1H Axe or 2H Axe.
2016-03-25 09:33:04 -04:00
aleos89
c6720b21a6 Added placeholders for Summoner class in pre-renewal databases (fixes #1095)
* This is a temporary fix until a more in-depth fix is applied.
2016-03-24 12:42:44 -04:00
aleos89
960007a88e Updated FAW Removal item requirement (fixes #1075)
* FAW Removal should consume 1 Monkey Wrench on use.
2016-03-24 10:32:49 -04:00