GS暂时支持的属性获取及设置

case 1:  lua_pushinteger(L,player->SAP()->mMaxMp);return 1;break;
		case 2:  lua_pushinteger(L,player->SAP()->mMaxHp);return 1;break;		
		case 3:  lua_pushinteger(L,player->SAP()->mAC);return 1;break;
		case 4:  lua_pushinteger(L,player->SAP()->mACMax);return 1;break;
		case 5:  lua_pushinteger(L,player->SAP()->mMAC);return 1;break;
		case 6:  lua_pushinteger(L,player->SAP()->mMACMax);return 1;break;
		case 7:  lua_pushinteger(L,player->SAP()->mDC);return 1;break;
		case 8:  lua_pushinteger(L,player->SAP()->mDCMax);return 1;break;
		case 9:  lua_pushinteger(L,player->SAP()->mMC);return 1;break;
		case 10: lua_pushinteger(L,player->SAP()->mMCMax);return 1;break;
		case 11: lua_pushinteger(L,player->SAP()->mSC);return 1;break;
		case 12: lua_pushinteger(L,player->SAP()->mSCMax);return 1;break;
		case 13: lua_pushinteger(L,player->SAP()->mAccuracy);return 1;break;//mxwx 准确
		case 14: lua_pushinteger(L,player->SAP()->mDodge);return 1;break;//mxwx 闪避
		case 15: lua_pushinteger(L,player->SAP()->mLuck);return 1;break;//mxwx 幸运
		case 16: lua_pushinteger(L,player->SAP()->mAntiMagic);return 1;break;//魔法什么
		case 17: lua_pushinteger(L,player->SAP()->mAntiPoison);return 1;break;//mxwx 防毒
		case 18: lua_pushinteger(L,player->SAP()->mHpRecover);return 1;break;//mxwx 生命恢复
		case 19: lua_pushinteger(L,player->SAP()->mMpRecover);return 1;break;//mxwx 魔法恢复
		case 20: lua_pushinteger(L,player->SAP()->mPoisonRecover);return 1;break;//mxwx 中毒恢复
		case 21: lua_pushinteger(L,player->SAP()->mMabi_prob);return 1;break; // 麻痹  几率 
		case 22: lua_pushinteger(L,player->SAP()->mMabi_dura);return 1;break; // 麻痹时间
		case 23: lua_pushinteger(L,player->SAP()->mDixiao_pres);return 1;break;//比
		case 24: lua_pushinteger(L,player->SAP()->mFuyuan_cd);return 1;break;
		case 25: lua_pushinteger(L,player->SAP()->mDropProb);return 1;break;
		case 26: lua_pushinteger(L,player->SAP()->mDoubleAttProb);return 1;break;
		case 27: lua_pushinteger(L,player->SAP()->mXishouProb);return 1;break;
		case 28: lua_pushinteger(L,player->SAP()->mXishouPres);return 1;break;
		case 29: lua_pushinteger(L, player->SAP()->mFantan_prob); return 1; break;//新加 2022年9月2日23:50:08 by zhuxijing
		case 30: lua_pushinteger(L, player->SAP()->mFantan_pres); return 1; break;
		case 31: lua_pushinteger(L,player->SAP()->mBaojiProb);return 1;break;
		case 32: lua_pushinteger(L,player->SAP()->mBaojiPres);return 1;break;
		case 33: lua_pushinteger(L,player->SAP()->mXixue_prob);return 1;break;
		case 34: lua_pushinteger(L,player->SAP()->mXixue_pres);return 1;break;
		case 35: lua_pushinteger(L,player->SAP()->mFuyuan_pres);return 1;break;
		case 36: lua_pushinteger(L,player->SAP()->mHpPres);return 1;break;
		case 37: lua_pushinteger(L,player->SAP()->mMpPres);return 1;break;
		case 38: lua_pushinteger(L,player->SAP()->mFight);return 1;break;
		case 39: lua_pushinteger(L,player->SAP()->mPkIncrement);return 1;break;
		case 40: lua_pushinteger(L,player->SAP()->mPKReduce);return 1;break;
		case 41: lua_pushinteger(L,player->SAP()->mHolyDam);return 1;break;
		case 42: lua_pushinteger(L,player->SAP()->mDamIncrement);return 1;break;
		case 43: lua_pushinteger(L,player->SAP()->mDamReduce);return 1;break;
		case 44: lua_pushinteger(L, player->SAP()->mTenacity); return 1; break;
			//2022年9月7日23:44:16 zhuxijing 新增   

		case 45: lua_pushinteger(L, player->SAP()->mlvdu_prob); return 1; break;
		case 46: lua_pushinteger(L, player->SAP()->mlvdu_dura); return 1; break;
		case 47: lua_pushinteger(L, player->SAP()->mlvdudiaoxue_dura); return 1; break;
		case 48: lua_pushinteger(L, player->SAP()->mbeigong_prob); return 1; break;
		case 49: lua_pushinteger(L, player->SAP()->mbeigong_dura); return 1; break;
		case 50: lua_pushinteger(L, player->SAP()->mBingdong_prob); return 1; break;
		case 51: lua_pushinteger(L, player->SAP()->mBingdong_pres); return 1; break;
		case 52: lua_pushinteger(L, player->SAP()->mAtkSpeed_dura); return 1; break;
		case 53: lua_pushinteger(L, player->SAP()->mAtkSpeed_prob); return 1; break;

GS暂时支持的属性获取及设置,包括了大部分属性。后期可能会修改增减。

请登录后发表评论

    没有回复内容