【MapPlayerView】随机方法修改

dev_chengFeng
JLIOSM1 2021-07-21 16:41:33 +08:00
parent 3027e991c9
commit e694302cac
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
require("Modules/Map/Logic/TileMapView")
require("Modules/Map/Logic/TileMapView")
local this = {}
local ctrlView = require("Modules/Map/View/MapControllView")
@ -22,7 +22,7 @@ local idleFunc = function()
this.NpcGO:SetWalkDir(WALK_DIR.IDLE_FRONT)
end
end
local index = Random.Range(9,11)
local index = math.random(9,11)
local AnimTimer = Timer.New(function ()
if not isRoleWalk and this.leader then--SkeletonGraphic and
PlayUIAnim(Util.GetGameObject(this.leader, "root/ui/arrow"))