超级玩家
![Rank: 5](static/image/common/star_level3.gif) ![Rank: 5](static/image/common/star_level1.gif)
- 贡献度
- 90
- 金元
- 4973
- 积分
- 857
- 精华
- 0
- 注册时间
- 2009-3-18
|
就两段代码
像这样
-- Part of Reddawg99's Modifications
if IsPlayer then
local TimeUntilRepeat = 0.1
if not IsPlayer then
local TimeUntilRepeat = mdata_GetTimeOut(MeasureID)
end
end
if not ai_StartInteraction("", "Destination", 500, InteractionDistance) then
StopMeasure()
return
end
-- -------------------
-- BlockSocialMeasures
-- -------------------
function BlockSocialMeasures(ActorAlias, TimeOut)
local IsPlayer = dyn_IsLocalPlayer("")
if IsPlayer then
TimeOut = 0.1
if not IsPlayer then
if TimeOut == nil then
TimeOut = 2
end
end
end
SetRepeatTimer(ActorAlias, GetMeasureRepeatName2("Flirt"), TimeOut)
SetRepeatTimer(ActorAlias, GetMeasureRepeatName2("HugCharacter"), TimeOut)
SetRepeatTimer(ActorAlias, GetMeasureRepeatName2("KissCharacter"), TimeOut)
SetRepeatTimer(ActorAlias, GetMeasureRepeatName2("MakeACompliment"), TimeOut)
end
提取出来然后移植
其他技能也可以这样用
测试么 你自己来吧 |
|