Skip to content

Finding the armor Class of an Item?

DJ_WoWDJ_WoW Member Posts: 51
Gooday all,

I need to find out the armor class of an item (0 thru 8). I' am pretty sure this is read of a 2d6, but I don't know the code or 2da I would be looking for. I am sure it is simple.

Thank you for your time,

DJ-WoW

Comments

  • ProlericProleric Member Posts: 1,316
    edited May 16
    GetItemAppearance() will give you the row number of the chest model in parts_chest.2da.

    Get2DAString() on that row will give you the base AC.

    There is also GetItemACValue which gives the modified AC subject to caveats. Code examples on that page include getting the base AC.

  • DJ_WoWDJ_WoW Member Posts: 51
    Gooday to ya,

    I wanted to thank you for your direction. it was what I needed.

    Thank you for your time,

    DJ-WoW
Sign In or Register to comment.