yozzyurubuza
Members-
Posts
6 -
Joined
-
Last visited
Profile Information
-
Gender
Male
-
Location
Philippines
yozzyurubuza's Achievements
-
@bodystyle & Body_style for 4rd jobs.
yozzyurubuza replied to betablock's question in General Support
As of checking for 2022-04-06 client, 4th jobs do not support different @bodystyle, so you're stuck with 1 style (default). You need to utilize changebase to 3rd jobs, then you will be able to switch using @bodystyle 1, but then again in this client version, you can only use 0 and 1 in 3rd jobs. changebase example: changebase roclass(eaclass()|EAJL_THIRD); -
Assuming that the wearer will be 2nd transcendent job: changebase roclass(eaclass()|EAJL_THIRD|EAJL_FOURTH) Extended 3rd job and 4th job requires a different code.
-
How to change item restrictions on the item description?
yozzyurubuza replied to juanelox's question in Database Support
-
How to remove class/lvl limitation from costume
yozzyurubuza replied to Rain408's question in Scripting Support
If someone come across this thread trying to make the suggestion work on a 2023 rAthena codebase, here's how I've made it work: Assuming you've used this diff from secret (some fixing were needed), the suggested fix above to allow costume-converted items to be equipped will go like this: pc.cpp uint8 pc_isequip(map_session_data *sd,int n) { struct item equip; struct item_data *item; nullpo_retr(ITEM_EQUIP_ACK_FAIL, sd); equip = sd->inventory.u.items_inventory[n]; item = sd->inventory_data[n]; if(pc_has_permission(sd, PC_PERM_USE_ALL_EQUIPMENT)) return ITEM_EQUIP_ACK_OK; if(item == NULL) return ITEM_EQUIP_ACK_FAIL; //Automatically allow equip if it's a costume-converted headgear if(equip.card[2] == GetWord(battle_config.reserved_costume_id, 0)) return ITEM_EQUIP_ACK_OK;