Jump to content

[2024] Release: Item Charms System - Modified from previous charms mod


Wazaby

Recommended Posts


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  31
  • Reputation:   10
  • Joined:  04/19/20
  • Last Seen:  

How to use it?

1. Patch your diff file.

2. Change the item type in itemdb to charm.

In the below example I've used an item from item_db_etc.yml and changed the type to charm. Then add a script part with the bonus that you want the item to have and reload itemdb.
 

 - Id: 670
    AegisName: Gold_Coin_Moneybag
    Name: Bag of Gold Coins
    Type: Charm
    Buy: 100000
    Weight: 400
    Script: |
      bonus bAllStats,10;

Without the charm item:
image.png.c949234b18f63acd5013862f7bbc33da.png


With the charm item:

image.png.13f013e6c0cc420deb4cd587bc8136a2.png

Enjoy!

Item Charm v1.0.1.diff

  • Upvote 4
  • Love 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  3
  • Reputation:   0
  • Joined:  01/19/24
  • Last Seen:  

What about multiple charms? Do they stack? Only one charm should be allowed in the inventory..

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  211
  • Reputation:   17
  • Joined:  12/23/11
  • Last Seen:  

1 hour ago, IFNH said:

What about multiple charms? Do they stack? Only one charm should be allowed in the inventory..

Just add another check in

// Parse equipment

section

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  23
  • Reputation:   1
  • Joined:  08/22/18
  • Last Seen:  

Could this be possible instead of an item which accumulate inventory count of 1/100 to make it as a permanent variable without the item like bonus, bonus2, bonus3* bonus4*.

General Idea:
NPC quest or card deposit.

if deposited card = 10
delete x10 cards
then give some bonus to the attached player.
Say like bonuses below if all x10 cards are met
      bonus bMdef,3;
      bonus2 bAddRace,RC_Insect,5;
      bonus2 bMagicAddRace,RC_Insect,5;
      bonus2 bSubRace,RC_Insect,5;
      bonus3 bAddMonsterDropItem,518,RC_Insect,2;

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.01
  • Content Count:  121
  • Reputation:   0
  • Joined:  09/02/20
  • Last Seen:  

On 2/16/2024 at 10:26 AM, Wazaby said:

How to use it?

1. Patch your diff file.

2. Change the item type in itemdb to charm.

In the below example I've used an item from item_db_etc.yml and changed the type to charm. Then add a script part with the bonus that you want the item to have and reload itemdb.
 

 - Id: 670
    AegisName: Gold_Coin_Moneybag
    Name: Bag of Gold Coins
    Type: Charm
    Buy: 100000
    Weight: 400
    Script: |
      bonus bAllStats,10;

Without the charm item:
image.png.c949234b18f63acd5013862f7bbc33da.png


With the charm item:

image.png.13f013e6c0cc420deb4cd587bc8136a2.png

Enjoy!

Item Charm v1.0.1.diff 4.91 kB · 33 downloads

im using old emulator what is code for Charm in item_db.txt ? im not using yml

Link to comment
Share on other sites

  • 3 weeks later...

  • Group:  Members
  • Topic Count:  130
  • Topics Per Day:  0.03
  • Content Count:  667
  • Reputation:   88
  • Joined:  04/07/14
  • Last Seen:  

On 2/24/2024 at 8:48 AM, ManokStreZ said:

im using old emulator what is code for Charm in item_db.txt ? im not using yml

Then this release is not for you. You can try https://gprivate.com/69zwn instead. 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  117
  • Topics Per Day:  0.03
  • Content Count:  312
  • Reputation:   34
  • Joined:  10/15/12
  • Last Seen:  

Found a bug.
If you drop the charm from your inventory then relogin the charm will still be present in your inventory
 

Link to comment
Share on other sites

  • 3 months later...

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.01
  • Content Count:  6
  • Reputation:   0
  • Joined:  07/01/24
  • Last Seen:  

On 2/16/2024 at 4:16 PM, botka4aet said:

Just add another check in

// Parse equipment

section

I can edit charm to stack 10ea but effect read 1ea. plz help me how to edit multi charm to work.

Link to comment
Share on other sites

  • 2 months later...

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  2
  • Reputation:   0
  • Joined:  10/02/24
  • Last Seen:  

To use, patch the diff file, then change the item type in items to "charm", add the script Pokerogue with the desired bonus, and reload items to finish.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...