12365 Commits

Author SHA1 Message Date
Cydh Ramdh
b47dc0f054 Item DB updates
* Implemented ALL_REVERSEORCISH as follow up 01ae1ae6126dc8aa91f967eea7d145e10dfb29e3.
* Clean up `rand()` script usage in Fools_Day_Box (12396) and Fools_Day_Box2 (12397).

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2015-01-18 20:57:42 +07:00
Cydh Ramdh
01ae1ae612 Fixed #235
* Thank @trickyloki3
* Except items with "ALL_REVERSEORCISH" skill

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2015-01-18 19:09:18 +07:00
Atemo
95792ecac8 Merge pull request #233 from emistry/patch-2
Fixed Issue #232
2015-01-17 12:05:25 +01:00
Cydh Ramdh
009e0e3846 Missing md.damage assignment after battle_attr_fix for RENEWAL CR_ACIDDEMONSTRATION in battle_calc_misc_attack since f926d8750aef664abd91404de53c5a5e60d9e16f
Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2015-01-17 17:59:30 +07:00
Emistry
e134c76859 Issue #232
https://github.com/rathena/rathena/issues/232

Just like @Cydh said:
somehow, += for a string in iteration is fail. /hmm
temp fix is .@foo$ = .@foo$+"bar";
2015-01-17 15:14:28 +08:00
Cydh Ramdh
73bd593055 Fixed #219
* Manhole effect (SC__MANHOLE & UNT_MANHOLE) is ignore player's knockback immunity at GVG/BG maps (only if target is BL_PC).

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2015-01-16 20:38:26 +07:00
Cydh Ramdh
c7dcca3b6e Follow up 48d8389d27af8400e1048d2c626e259686357865
* No UTF-8 BOM for npc/re/quests/quests_eclage.txt

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2015-01-16 12:49:52 +07:00
Euphy
df6fb01739 Small fixes in Eclage scripts and code style changes.
- Fixed some minor bugs.
- Added GM NPC function.

Signed-off-by: Euphy <euphy.raliel@rathena.org>
2015-01-15 13:01:12 -05:00
Capuche
89d436f53f Follow up 48d8389d27af8400e1048d2c626e259686357865 2015-01-15 15:00:59 +01:00
Atemo
48d8389d27 Merge pull request #228 from Skormie/eclage_update_r1
Eclage update r3
2015-01-15 14:42:46 +01:00
Cydh Ramdh
90f08a4f08 Follow up 5feff01ddd621fd49985e0374bf3fe169ded02f3
* Typo of error message in mob_readdb_itemratio()

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2015-01-15 16:53:28 +07:00
Cydh Ramdh
4d97e9adf2 Typo on a683e005d73f37b57e625046168e9f3282131a81
Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2015-01-15 10:29:08 +07:00
Skormie
f2621eec60 Eclage update with minor error fix. r3 2015-01-14 12:02:31 -05:00
Cydh Ramdh
3037a1b57e Merge pull request #222 from rathena/hotfix/issue204
Fixed #204
2015-01-14 23:25:45 +07:00
Skormie
e8d0d35324 Eclage update with minor error fix. r2 2015-01-14 10:54:03 -05:00
Cydh Ramdh
2b90b60142 Fixed #227
* SC_EQC & SC_CBC shouldn't be saved on logout
* Moved additional effect SC_EQC to the proper place

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2015-01-14 15:55:42 +07:00
Skormie
03249a0430 Eclage update with minor error fix and added optimizations. 2015-01-13 20:38:54 -05:00
Skormie
a4cac34dc6 Eclage update with minor error fix. 2015-01-13 18:19:32 -05:00
aleos89
a683e005d7 Merge pull request #197 from rathena/hotfix/bug9338
* Changed Guild/Party Bound Item Retrieval Methods:
- Fixes bugreport:9338
- Now resend the list to map-server from char/inter-server to avoid "weird" item allocation on guild storage. Example, previously you will meet stacked item like GUID does, but it shouldn't!
- Also will check the maximum amount that can be store in guild store. If guild storage is full (the slots or item stack limit is reach) the rest value/item will be dropped.
- Account of kicked guild member won't be kicked from server any more if the player idle on character select window (just prevents player to login when retrieving items are in progress)
- Delete guild bound items from guild master when guild is disbanded! Previously, the bound type just changed to NONE. Also for party bound item.
- If kicked guild/party member is trading bound item when be kicked, the trade will be cancelled!
- If the guild member is being kicked when open guild storage, storage will be closed first waiting for next item retrieval.
- Now when guild storage is opened, storage_status (changed the var to 'opened') will be used to hold char_id who opens it.
* Misc:
- Cleanup guild storage prefix functions, changed them to "gstorage_*"
- Added picklog type 'B' for logging deleted bound item because of kicked from guild/party.
- Updated documentation for new used packet 0x3857
2015-01-13 12:59:19 -05:00
aleos89
4860a7c7c4 Merge pull request #191 from rathena/cleanup/petdb
* Separated pet_db for Renewal & Pre-Renewal to avoid non-existant monster in different mode.
* Cleaned script command in pet_db.txt file, just point it to doc/script_commands.txt. Read them there!
* Separated damage value for petskillattack2 to its own var 'damage', that previously use 'lv' var to store the value.
* Added config 'pet_ignore_infinite_def' in conf/battle/pet.conf,
- If disabled (val:"no"), fixed damage from pet script 'petskillattack2' will be adjusted to 1. Example, just like player attacks Shining Plant.
- Enabled by default. Previously, fixed damage ignore the infinite defense, that's why it's enabled by default.
- TODO: Correcting the logic and maybe also confirm the correct behavior!
* Added validation for pet script commands,
- Skill for petskillattack, petskillattack2, & petskillsupport
- SC range for petrecovery.
* Cleaned up some source documentation.
2015-01-13 12:43:07 -05:00
Cydh Ramdh
e76d92f538 Fixed #220
* SC_FIGHTINGSPIRIT gives no effect for RK_FIGHTINGSPIRIT level < 10
* Fixed RK_FIGHTINGSPIRIT gives no effect if level < 5
* Little optimization on RK_FIGHTINGSPIRIT codes

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2015-01-13 12:35:44 +07:00
Cydh Ramdh
5566424129 Merge pull request #225 from rathena/update/skill_unit_error_messages
Additional error information in skill_unit_move_sub
2015-01-13 10:30:32 +07:00
Lemongrass3110
c222a1ccea Added skill_id to error messages in skill_unit_move_sub 2015-01-12 22:00:22 +01:00
Cydh Ramdh
5196eadb2b Fixed #204
* Separated how monster's skills to be assigned to each monster to `mob_skill_db_set()` function
* Added temporary `DBMap *mob_skill_db` to store monster skills by using `struct s_mob_skill`

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2015-01-12 16:34:49 +07:00
Capuche
d1a1029316 Added Eden quests 100-140.
Thanks to Euphy.

Signed-off-by: Capuche <capucrath@gmail.com>
2015-01-12 01:08:44 +01:00
Cydh Ramdh
cba366e143 Merge pull request #195 from rathena/hotfix/issue146
Hotfix for issue #146
2015-01-11 00:09:28 +07:00
Cydh Ramdh
4f1fa38915 Merge pull request #192 from rathena/feature/bindonequip
Official Item BindOnEquip Support
2015-01-09 23:02:08 +07:00
Cydh Ramdh
66c971d9d0 Follow up 241469a04a1cbc405af9cf6fb054987704dc5063
* Added item trade restriction for Valor Set items

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2015-01-09 21:55:09 +07:00
Cydh Ramdh
241469a04a Item DB Update
* Added Valor set scripts (parts & combo)

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2015-01-09 10:24:28 +07:00
Aleos
d02edae233 Merge pull request #190 from rathena/cleanup/skill_damage_db
Cleanup for Skill Damage Adjustment.
2015-01-08 14:50:52 -05:00
aleos89
5759f5fb93 Fixed #193 by reverting some changes from a075324. 2015-01-08 14:21:12 -05:00
Cydh Ramdh
5feff01ddd Follow up 54031eda9dcea4a0c5958276a7786cbcdcdc55c5
* Missing `item_ratio->nameid = nameid;` assignment when item_ratio isn't exist in db yet
* Modified @whodrops result for monster list to: "- <monster name> (<mob_id>): <rate>%"

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2015-01-08 12:51:52 +07:00
Cydh Ramdh
9021cb6349 Fixed #177
* Wrong number, out of array bounds

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2015-01-07 17:13:17 +07:00
Cydh Ramdh
8e71ae6688 Follow up 022d72891e1c38ac6953a5118eea87efd7deddc3
* Fixed warnings in mapif_parse_itembound_retrieve

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2015-01-07 15:33:47 +07:00
Cydh Ramdh
f5ddcc55f8 Follow up 72cb55470b160b4a8aae8d64462ac29ab1e44d04
* Added/correcting some #ifdef ADJUST_SKILL_DAMAGE checks

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2015-01-07 15:23:21 +07:00
Euphy
8897ad72ac Cleaning scripts in 'tools/'.
Fixed spelling/grammar for most output messages.

Updated references to 'make sql' to 'make server'.

Signed-off-by: Euphy <euphy.raliel@rathena.org>
2015-01-04 20:47:20 -05:00
lighta
357aa0489f Merge pull request #201 from rathena/update/npc_ids
Added support for the latest NPC ids
2015-01-04 14:31:58 -05:00
lighta
f8189c8d7d Merge pull request #181 from Lemongrass3110/master
Removed a redundant call to clif_party_info on party loading.
Thx Lemon =) look perfect.
2015-01-04 14:16:40 -05:00
Lemongrass3110
ebe4a1cc17 Added support for the latest NPC ids 2015-01-04 10:51:09 +01:00
Cydh Ramdh
022d72891e Changed Guild/Party Bound Item Retrieval Methods:
* Bug Fixes bug:9338
* Now resend the list to map-server from char/inter-server to avoid "weird" item allocation on guild storage. Example, previously you will meet stacked item like GUID does, but it shouldn't!
* Also will check the maximum amount that can be store in guild store. If guild storage is full (the slots or item stack limit is reach) the rest value/item will be dropped.
* Account of kicked guild member won't be kicked from server anymore if the player idle on character select window (just prevents player to login when retriving items are in progress)
* Delete guild bound items from guild master when guild is disbanded! Previously, the bound type just changed to NONE. Also for party bound item.
* If kicked guild/party member is trading bound item when be kicked, the trade will be canceled!
* If the guild member is being kicked when open guild storage, storage will be closed first waiting for next item retrieval.
* Now when guild storage is opened, storage_status (changed the var to 'opened') will be used to hold char_id who opens it.
Misc:
* Cleanup guild storage prefix functions, changed them to "gstorage_*"
* Added `picklog` type 'B' for logging deleted bound item because of kicked from guild/party.
* Updated documentation for new used packet 0x3857

NOTE: Please import upgrade-20150103_log.sql
Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2015-01-03 20:37:38 +07:00
Cydh Ramdh
d555cac992 Follow up 54031eda9dcea4a0c5958276a7786cbcdcdc55c5
Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2015-01-03 19:23:35 +07:00
Lemongrass3110
54031eda9d Seperated monster drop ratio adjustment into it's own function.
Fixes #146
2015-01-03 03:14:26 +01:00
Cydh Ramdh
0987aeeb5d Official Item BindOnEquip Support
* Added item flag value: 8 to init default item with BindOnEquip. Item with this flag will be character bound item once equipped.
* Added optional config 'default_bind_on_equip' in conf/battle/items.conf to set default bind type. By default the type is character bound.
* Hercules merge 1f5161a2bd

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2015-01-02 14:44:49 +07:00
Cydh Ramdh
d98f99b2de Item DB Updates
* Follow up 5004eb6
  * Fixed Sealed_Fortune_Egg (22845) script
  * Changed the way to comment a line for item_combo. Need more info about the pairs for Enhanced_Force_Shadow_Weapon (24223) and Enhanced_Soul_Shadow_Weapon (24227)
* Renamed English name of 4482 to 'Sealed General Egnigem Cenia Card'

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2015-01-02 14:18:29 +07:00
nanakiwurtz
f599bb5fbd Follow up to 5004eb6
-- Added missing refinable attributes to Shadow Equipments
2015-01-01 18:30:05 +07:00
nanakiwurtz
5004eb6de0 Item DB Update
-- Updated up to kRO 2014-10-29 (Source: Super Star Monster 2014 R Event + Infinite Room Instance)
-- C_Will_O_Wisp (18741) item script updated. Thanks to Radian
-- SP_Increase_Potion_(Large) (12427) weight updated. Thanks to rayn
2015-01-01 18:16:34 +07:00
Cydh Ramdh
62bdc99f05 A little cleanup for Pet DB
* Separated pet_db for Renewal & Pre-Renewal to avoid non-existant monster in different mode.
* Cleaned script command in pet_db.txt file, just point it to doc/script_commands.txt. Read them there!
* Separated damage value for petskillattack2 to its own var 'damage', that previously use 'lv' var to store the value.
* Added config 'pet_ignore_infinite_def' in conf/battle/pet.conf,
  * If disabled (val:"no"), fixed damage from pet script 'petskillattack2' will be adjusted to 1. Example, just like player attacks Shining Plant.
  * Enabled by default. Previously, fixed damage ignore the infinite defense, that's why it's enabled by default.
  * TODO: Correcting the logic and maybe also confirm the correct behavior!
* Added validation for pet script commands,
  * Skill for petskillattack, petskillattack2, & petskillsupport
  * SC range for petrecovery.
* Cleaned up some source documentation.

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-12-31 23:38:57 +07:00
Cydh Ramdh
72cb55470b A little clean for Skill Damage Adjustment
* re-Disabled the ADJUST_SKILL_DAMAGE by default (core.h) that enabled by accident since 794c1a8. :P
* Removed MAX_MAP_SKILL_MODIFIER variable.
* Removed fixed array for skill damage adjustment in each map.

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-12-31 23:34:01 +07:00
Euphy
8c3bc4fda4 Changed some hardcoded script values to MAX_LEVEL. (fixes #161)
Fixes various bugs with higher level players not gaining experience.

Also properly fixed Renewal EXP reward in Turbo Track script (incorrectly fixed in be95412).

Signed-off-by: Euphy <euphy.raliel@rathena.org>
2014-12-31 01:05:33 -05:00
Lemongrass3110
08941b2a80 Fixed party creation. Thanks @lighta 2014-12-30 23:37:05 +01:00