Make item abil_data a bit more readable

A two-element array is an ugly thing to behold
This commit is contained in:
2023-01-06 02:09:39 -05:00
parent 81bea5a01a
commit cb73719af3
20 changed files with 472 additions and 453 deletions

View File

@@ -116,7 +116,7 @@ void drop_item(short pc_num,short item_num,location where_drop) {
item_store = univ.party[pc_num].items[item_num];
if(item_store.ability == eItemAbil::DROP_CALL_SPECIAL)
spec = item_store.abil_data[0];
spec = item_store.abil_strength;
if(univ.party[pc_num].equip[item_num] && univ.party[pc_num].items[item_num].cursed)
add_string_to_buf("Drop: Item is cursed.");