From 2dff35c3ff54bb82b190fc1f58215659f22b91a2 Mon Sep 17 00:00:00 2001 From: gaoxin Date: Tue, 3 Nov 2020 15:26:29 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=88=98=E6=96=97=E3=80=91=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E6=88=98=E6=96=97=E5=86=85=E5=90=8D=E7=A7=B0=E4=B8=8D?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E5=92=8C=E6=88=91=E6=96=B9=E5=85=83=E7=B4=A0?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E9=94=99=E8=AF=AF=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/Battle/View/Unit/EnemyView.lua | 2 +- .../~Lua/Modules/Battle/View/Unit/PlayerView.lua | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Battle/View/Unit/EnemyView.lua b/Assets/ManagedResources/~Lua/Modules/Battle/View/Unit/EnemyView.lua index c8c2a66684..10ab48d98e 100644 --- a/Assets/ManagedResources/~Lua/Modules/Battle/View/Unit/EnemyView.lua +++ b/Assets/ManagedResources/~Lua/Modules/Battle/View/Unit/EnemyView.lua @@ -42,7 +42,7 @@ function EnemyView:onCreate(go, role, position, root) self.spAtkTime = RoleConfig[role.roleData.roleId].CastingSkills/1000 self.atkSoundTime = RoleConfig[role.roleData.roleId].CastingAudio/1000 self.attackSound = RoleConfig[role.roleData.roleId].sond - self.readingName = HeroConfig[role.roleData.roleId].readingName + self.readingName = HeroConfig[role.roleData.roleId].ReadingName -- self.nameText.text = self.readingName diff --git a/Assets/ManagedResources/~Lua/Modules/Battle/View/Unit/PlayerView.lua b/Assets/ManagedResources/~Lua/Modules/Battle/View/Unit/PlayerView.lua index 02ac1e639d..6a409f1a12 100644 --- a/Assets/ManagedResources/~Lua/Modules/Battle/View/Unit/PlayerView.lua +++ b/Assets/ManagedResources/~Lua/Modules/Battle/View/Unit/PlayerView.lua @@ -45,11 +45,11 @@ function PlayerView:onCreate(go, role, position, root) self.spAtkTime = RoleConfig[role.roleData.roleId].CastingSkills/1000 self.atkSoundTime = RoleConfig[role.roleData.roleId].CastingAudio/1000 self.attackSound = RoleConfig[role.roleData.roleId].sond - self.readingName = HeroConfig[role.roleData.roleId].readingName + self.readingName = HeroConfig[role.roleData.roleId].ReadingName self.nameText.text = self.readingName self.level.text = role:GetRoleData(RoleDataName.Level) - self.sprite = Util.LoadSprite(GetProStrImageByProNum(role.roleData.element)) + self.elementImg.sprite = Util.LoadSprite(GetProStrImageByProNum(role.roleData.element)) self.bg1.sprite = Util.LoadSprite(GetBattleHeroCardStarBg[role.roleData.star]) self.bg2.sprite = Util.LoadSprite(GetHeroCardStarFg[role.roleData.star]) local starGrid = Util.GetGameObject(go, "StarGrid")