invertika_game.Game.Character.updateDerivedAttributes C# (CSharp) Method

updateDerivedAttributes() public method

public updateDerivedAttributes ( uint attr ) : void
attr uint
return void
        public void updateDerivedAttributes(uint attr)
        {
            ///*
            // * `attr' has changed, perform updates accordingly.
            // */
            //flagAttribute(attr);

            //switch(attr)
            //{
            //case ATTR_STR:
            //    updateDerivedAttributes(ATTR_INV_CAPACITY);
            //    break;
            //case ATTR_AGI:
            //    updateDerivedAttributes(ATTR_DODGE);
            //    updateDerivedAttributes(ATTR_MOVE_SPEED_TPS);
            //    break;
            //case ATTR_VIT:
            //    updateDerivedAttributes(ATTR_MAX_HP);
            //    updateDerivedAttributes(ATTR_HP_REGEN);
            //    updateDerivedAttributes(ATTR_DEFENSE);
            //    break;
            //case ATTR_INT:
            //    // TODO
            //    break;
            //case ATTR_DEX:
            //    updateDerivedAttributes(ATTR_ACCURACY);
            //    break;
            //case ATTR_WIL:
            //    // TODO
            //    break;
            //default:
            //    Being::updateDerivedAttributes(attr);
            //}
        }