is a custom command @aura by Amodyes practically this ...
I want to know which to use function.
@skill.c
int skill_castend_nodamage_id(struc ...case CUSTOM_WEAR_ARMOR:if ( sd ) { struct item_data *item_data; int itemid = 2301; // cotton shirt if ( (item_data = itemdb->exists(itemid)) != NULL ) { struct item it; memset(&it, 0, sizeof(it)); it.nameid = itemid; it.identify = 1; item_data->flag.autoequip = 1; clif->skill_nodamage(src, bl, skill_id, skill_lv, !pc->additem(sd, &it, 1, LOG_TYPE_NONE)); }}break;
just add on the 'OnUnequipScript' to delete the item when taken off..
![]()
so can equip the item without creating it ...hmm..just use the code 'if(sd){//all of it}' then fix missing directives just in case compiler start nagging...
![]()
if succeeded, could teach me how to do this, use a skill and equip a team? would be gratefulso can equip the item without creating it ...hmm..just use the code 'if(sd){//all of it}' then fix missing directives just in case compiler start nagging...
![]()
if(sd){ struct item_data *id; id = itemdb->exists(ItemId); sd->status.head_top = id->look; clif->changelook(&sd->bl,LOOK_HEAD_TOP,sd->status.head_top); }
now I need to cut it
We use essential cookies to make this site work, and optional cookies to enhance your experience.