Merge branch 'dev' of http://git.legu.cc/liwei_3d/go_dreamfactory into dev
This commit is contained in:
commit
77c3f7531a
@ -204,11 +204,11 @@ func (this *ModelHero) resetJuexingProperty(hero *pb.DBHero) {
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
for _, v := range awakenData.Phasebonus {
|
for _, v := range awakenData.Phasebonus {
|
||||||
value, err := strconv.Atoi(v.S)
|
_, err := strconv.Atoi(v.S)
|
||||||
if err == nil {
|
if err == nil {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
value := v.D
|
||||||
switch v.S {
|
switch v.S {
|
||||||
case comm.Hp:
|
case comm.Hp:
|
||||||
hero.JuexProperty[comm.Hp] += int32(value)
|
hero.JuexProperty[comm.Hp] += int32(value)
|
||||||
|
Loading…
Reference in New Issue
Block a user