private bool IsChangePhyDef(PoolObjHandle <ActorRoot> _target)
        {
            CrypticInt32 inData = _target.handle.ValueComponent.mActorValue[RES_FUNCEFT_TYPE.RES_FUNCEFT_PHYDEFPT].totalValue;

            if (this.curPhyDef != inData)
            {
                this.curPhyDef = inData;
                return(true);
            }
            return(false);
        }
Ejemplo n.º 2
0
        private bool IsChangeMgDef(PoolObjHandle <ActorRoot> _target)
        {
            CrypticInt32 totalValue = _target.handle.ValueComponent.mActorValue[RES_FUNCEFT_TYPE.RES_FUNCEFT_MGCDEFPT].totalValue;

            if (this.curMgDef != totalValue)
            {
                this.curMgDef = (int)totalValue;
                return(true);
            }
            return(false);
        }
        private bool IsChangeMaxHp(PoolObjHandle <ActorRoot> _target)
        {
            CrypticInt32 inData = _target.handle.ValueComponent.mActorValue[RES_FUNCEFT_TYPE.RES_FUNCEFT_MAXHP].totalValue;

            if (this.curMaxHp != inData)
            {
                this.curMaxHp = inData;
                return(true);
            }
            return(false);
        }
Ejemplo n.º 4
0
        private bool IsChangePhyDef(PoolObjHandle <ActorRoot> _target)
        {
            CrypticInt32 inData = _target.get_handle().ValueComponent.mActorValue[3].totalValue;

            if (this.curPhyDef != inData)
            {
                this.curPhyDef = inData;
                return(true);
            }
            return(false);
        }