change in rental item

Clare

New member
Messages
52
Points
0
Location
Brazil
Emulator
Hi, Someone can help me to make a change in rental items? I want they cannot have equipped cards.
Remove the slot cards from this items.
 
I searched an answer for this on forum, but didn't find anything that could help me, I believe it is
necessary to make a change in the source.

Thanks to anyone who can help me to make this change.
 
Last edited by a moderator:
You can change the number of card slots in the item_db.conf.

Just delete Slots: x in the items you want to have them removed.

For example change:

{ Id: 1507 AegisName: "Smasher" Name: "Smasher" Type: 4 Buy: 9000 Weight: 1000 Atk: 54 Range: 1 Slots: 2 Job: 0x0004C5B3 Loc: 2 WeaponLv: 2 EquipLv: 14 View: 8},
to:

Code:
{	Id: 1507	AegisName: "Smasher"	Name: "Smasher"	Type: 4	Buy: 9000	Weight: 1000	Atk: 54	Range: 1	Job: 0x0004C5B3	Loc: 2	WeaponLv: 2	EquipLv: 14	View: 8},
 
Last edited by a moderator:
Hi @@Winterfox I think you don't understand what I want ...

I just want sell some items in the NPC, like rental items,
for a time using the rental items, but this items can't have slot for cards, without changing the original items, I want to give the option to players
 
1-  buy the permanent item with slot
2- rent the item for a specified time without the slot for cards
 
and to do this need to create rental items, but the items not can have their slots for cards.
 
In other words, I want to remove the card slots of rental items in the same way that there not are card slots for costume items created by the "costume system" changing the script command rentitem or something in the source.
 


 
Last edited by a moderator:
@@Clare

insert  before this line  click
 

if (sd->status.inventory[idx_equip].expire_time > 0)
    return false;
srry fix typo

 
Last edited by a moderator:
Edit
thanks
I will try again and come back to tell if it worked ^^

 
Last edited by a moderator:
Back
Top