Permalink
2 comments
on commit
sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Implementing Official MDEF (Renewal only yet)
* Split `DEF` field in item_db becomes `DEF:MDEF`. * Just like `MATK` that defined in DB (not as script), `MDEF` is still giving an effect even the item is blocked in a map. Signed-off-by: Cydh Ramdh <cydh@pservero.com>
- Loading branch information
Showing
with
17 additions
and 8 deletions.
- +1 −1 db/re/item_db.txt
- +2 −0 doc/item_db.txt
- +2 −1 doc/script_commands.txt
- +2 −1 src/map/itemdb.c
- +1 −0 src/map/itemdb.h
- +4 −3 src/map/script.c
- +3 −0 src/map/status.c
- +2 −2 tools/convert_sql.pl
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @@ -62,6 +62,8 @@ MATK: Weapon's magic attack (Renewal only) | ||
|
|
||
| DEF: Armor's defense | ||
|
|
||
| MDEF: Armor's magic defense (Renewal only) | ||
|
|
||
| --------------------------------------- | ||
|
|
||
| Range: Weapon's attack range | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @@ -2831,7 +2831,8 @@ Valid types are: | ||
| 13 - wLV | ||
| 14 - SpriteID from 'db/item_avail.txt' | ||
| 15 - eLVMax | ||
| 16 - MATK (Renewal) | ||
| 17 - MDEF (Renewal) | ||
|
|
||
| See the sample in 'doc/sample/getiteminfo.txt'. | ||
|
|
||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @@ -409,6 +409,7 @@ struct item_data | ||
| int elvmax; ///< Maximum level for this item | ||
| #ifdef RENEWAL | ||
| int matk; | ||
| int mdef; | ||
| #endif | ||
|
|
||
| int delay; | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
505a0f8There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's your status on this?
505a0f8There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
KIA