Updated Horror Toy Factory with new Mob_Skill_DB Scheme.#2677
Conversation
Just Use raw data from HerculesWS#1539 and updated setpcblock() script command with work from Kenpachi2k13 to use it now. ToDO: - Fix setunitdata() to work correctly - Add Skill IDs 716 and 719
|
Hi, More details here: https://travis-ci.org/github/HerculesWS/Hercules/jobs/669248207?utm_medium=notification&utm_source=github_status |
… Cross and Move some IDs for the right item order.
Emistry
left a comment
There was a problem hiding this comment.
ItemDB / MonsterDB
- I am not sure if the name field could handle more than 24 characters.
- These new monster/item name doesn't seem like share "similar" prefix for both monster name and card name, sound weird, normally monster name and card name are quite similar to each other with the suffix of "Card".
- Most of the card effect, look like just using dummy values? Perhaps recheck to avoid any of it are wrong.
Scripts:
- I am not sure if this is conversion from AEGIS script, it look like custom write, the variables names perhaps could be improve to use better/easier name to understand what its use for?
- Monster event label - some of those monster event label doesn't do anything, so its okay to remove those event label from them.
- NPC name sound too common? it look way too easy to clash with other NPC in future if any? Perhaps just add a prefix to them? Ex: use
htf_alert#XXXorhtf_xmas_alert#XXXinstead ofalert#XXX.
Just my 2cents...
| Type: 5 | ||
| Weight: 200 | ||
| Slots: 1 | ||
| Loc: 136 |
There was a problem hiding this comment.
| Type: 5 | |
| Weight: 200 | |
| Slots: 1 | |
| Loc: 136 | |
| Type: "IT_ARMOR" | |
| Weight: 200 | |
| Slots: 1 | |
| Loc: "EQP_ACC" |
| AegisName: "Hurt_Mind" | ||
| Name: "Broken Heart" | ||
| Type: 5 | ||
| Weight: 100 | ||
| Slots: 1 | ||
| Loc: 136 |
There was a problem hiding this comment.
| AegisName: "Hurt_Mind" | |
| Name: "Broken Heart" | |
| Type: 5 | |
| Weight: 100 | |
| Slots: 1 | |
| Loc: 136 | |
| AegisName: "Hurt_Mind" | |
| Name: "Hurt Mind" | |
| Type: "IT_ARMOR" | |
| Weight: 100 | |
| Slots: 1 | |
| Loc: "EQP_ACC" |
| AegisName: "KindHeart" | ||
| Name: "Gentle Heart" | ||
| Type: 5 | ||
| Weight: 100 | ||
| Slots: 1 | ||
| Loc: 136 |
There was a problem hiding this comment.
| AegisName: "KindHeart" | |
| Name: "Gentle Heart" | |
| Type: 5 | |
| Weight: 100 | |
| Slots: 1 | |
| Loc: 136 | |
| AegisName: "KindHeart" | |
| Name: "Kind Heart" | |
| Type: "IT_ARMOR" | |
| Weight: 100 | |
| Slots: 1 | |
| Loc: "EQP_ACC" |
| AegisName: "Evilspirit_Gloves" | ||
| Name: "Evilspirit Gloves" | ||
| Type: 5 | ||
| Weight: 100 | ||
| Slots: 1 | ||
| Loc: 136 |
There was a problem hiding this comment.
| AegisName: "Evilspirit_Gloves" | |
| Name: "Evilspirit Gloves" | |
| Type: 5 | |
| Weight: 100 | |
| Slots: 1 | |
| Loc: 136 | |
| AegisName: "Evil_Spirit_Gloves" | |
| Name: "Evil Spirit Gloves" | |
| Type: "IT_ARMOR" | |
| Weight: 100 | |
| Slots: 1 | |
| Loc: "EQP_ACC" |
| AegisName: "Hot_Tee" | ||
| Name: "Hot Tea" | ||
| Type: 0 |
There was a problem hiding this comment.
| AegisName: "Hot_Tee" | |
| Name: "Hot Tea" | |
| Type: 0 | |
| AegisName: "Hot_Tea" | |
| Name: "Hot Tea" | |
| Type: "IT_HEALING" |
Co-Authored-By: Emistry Haoyan <Emistry@users.noreply.github.com>
Co-Authored-By: Emistry Haoyan <Emistry@users.noreply.github.com>
Co-Authored-By: Emistry Haoyan <Emistry@users.noreply.github.com>
…ror_Toy_Factory # Conflicts: # db/re/item_db.conf # db/re/mob_db.conf # db/re/mob_skill_db.conf
| Id: 2976 | ||
| AegisName: "Red_Lantern" | ||
| Name: "Red Lantern" | ||
| Type: 5 |
There was a problem hiding this comment.
| Type: 5 | |
| Type: IT_*** |
convert to constant, same for other new/updated items.
| Type: 5 | ||
| Weight: 200 | ||
| Slots: 1 | ||
| Loc: 136 |
There was a problem hiding this comment.
| Loc: 136 | |
| Loc: EQP_*** |
convert to constant, same for other new/updated items.
| Name: "Shinee_Opal" | ||
| }, | ||
| { | ||
| <<<<<<< HEAD |
| //2984,TW_TURTLE_GENERAL | ||
| //2985,E_MYSTERIOUS_BUG | ||
| //2986,J_XMAS_SMOKEY_GIFT | ||
| <<<<<<< HEAD |
| //2992,XM_LUDE | ||
| //2993,XM_HYLOZOIST | ||
| //2994,XM_MARIONETTE | ||
| >>>>>>> b9bca8ceaa551fd9f9c26bea4b4f738ad94ca2d6 |
| end; | ||
|
|
||
| OnTalk_1: | ||
| switch (rand(1, 10)) { |
There was a problem hiding this comment.
change into F_Rand(...) to generate the random message?
| OnTimer1000: | ||
| switch (atoi(strnpcinfo(NPC_NAME_HIDDEN))) { | ||
| case 1: | ||
| .@idnum001 = rand(4, 8); |
There was a problem hiding this comment.
what is this .@idnu001 for? seem like not used anywhere. Or you meant .@item_count instead ?
| mes("A stubborn person indeed. Come back next time if you need anything."); | ||
| close(); | ||
| } | ||
| .@eq_num = EQI_HEAD_TOP; // Official script sets value to EQI_HEAD_LOW, but gear is EQI_HEAD_TOP in db. |
There was a problem hiding this comment.
| .@eq_num = EQI_HEAD_TOP; // Official script sets value to EQI_HEAD_LOW, but gear is EQI_HEAD_TOP in db. | |
| .@eq_num = getiteminfo(Lush_Rose, ITEMINFO_LOC); |
| mes("A stubborn person indeed. Come back next time if you need anything."); | ||
| close(); | ||
| } | ||
| .@eq_num = EQI_HAND_R; |
There was a problem hiding this comment.
| .@eq_num = EQI_HAND_R; | |
| .@eq_num = getiteminfo(Grand_Cross_, ITEMINFO_LOC); |
| .@enc_coin = 1; | ||
| .@sc_type = 2; | ||
| break; | ||
| case 2976: |
There was a problem hiding this comment.
change all these cases into itemID constant
|
Any Update for this? |
Pull Request Prelude
Changes Proposed
Just Use raw data from #1539 and updated setpcblock() script command with work from @Kenpachi2k13 to use it now.
Updated the Mob_Skill_DB.conf to the new Scheme.
Updated the Script.
NPC Script will work after Implement the Update for the *pcblock() script command on #2668
ToDO:
Issues addressed: Episode 14.2 : Eclage #240 as a part of the Official content list