Home > Back-end >  C
C

Time:01-17

Name: shadow Lord of the flow of name: fairy harp retinues na name: high winds jianhao
Gender: male sex: female gender: male
Career: assassins career, the mage: warrior
HP: 579 life value: 482 life value: 517.76
Damage: 54 damage: 50 damage: 55.376
Attack speed attack speed attack speed: 0.644:0.644:0.67
Hero ability: displacement hero ability: slow down, treatment hero ability: shield that displacement
Online time: the 2012-11-13 on-line time: 2010-9-20 online time: 2010-9-20
2. To add an attribute to all heroes: crit, value is 2% ~ 20% (random values)
Who can help me, this how to write?

CodePudding user response:

Add a class member attribute crit bai, the constructor initializes the random values in the 2% to 20%