Jump to content

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


Recommended Posts

Posted

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
  • MVP 1
Posted

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;

Posted
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

  • 3 weeks later...
  • 3 months later...
Posted
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.

  • 5 months later...
  • 3 months later...
Posted
On 12/20/2024 at 9:58 PM, Louis T Steinhil said:

Hi anyone know how to make the charms work inside storage? Thanks in advance!

 

Nvm i found out how.

Hola, hice todo los paso, pero no me funciona en en inventario, me puede ayuda con eso?, por favor

  • 1 month later...
Posted
On 2/16/2024 at 11: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 · 240 downloads

Hello i try to patch this and the stats effects are not working

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...