View Single Post
spannclann
Member
 
Join Date: Aug 2018
Location: Texas
Posts: 87

Old September 22nd, 2021, 05:58 AM
I have the following code that checks if there is a weapon in either the main or off hand. Does anyone know the code to check if a shield is equipped?

if (hero.tagis[Hero.EquipMain] = 0) then
if (hero.tagis[Hero.EquipOff] = 0) then

******Edit******

I figured out the code. It is

if (hero.tagis[Hero.EquipShld] = 0) then

Last edited by spannclann; September 22nd, 2021 at 09:09 AM. Reason: Figured out the code...
spannclann is offline   #1 Reply With Quote