2010-04-09 11:37

新浪游戏 > 单机游戏 > 游戏攻略 已有_COUNT_条评论

《火炬之光》从源文件谈Dog与Cat的区别

  研究原MOD中发现的:

  Dog的属性

  [UNIT]

  <STRING>UNITTYPE:PET

  <STRING>NAME:Dog

  <STRING>RESOURCEDIRECTORY:media/models/dog

  <STRING>MESHFILE:dog

  <FLOAT>MINHP:160.000000

  <INTEGER>ARMOR:150

  <INTEGER>MINDAMAGE:80

  <INTEGER>MAXDAMAGE:120

  <FLOAT>WALKINGSPEED:1.400000

  <FLOAT>RUNNINGSPEED:6.500000

  <FLOAT>ATTACKSPEED:100.000000

  <FLOAT>REACH_BONUS:0.750000

  <INTEGER>RARITY:0

  <FLOAT>SCALE:0.850000

  <BOOL>CANMATCHSPEED:true

  <STRING>ATTACK_SOUND:DogAttack

  <STRING>STRIKE_SOUND:DogBite

  <STRING>ROAR_SOUND:DogRoar

  <STRING>MISS_SOUND:Miss

  <STRING>STEP_SOUND:FootstepDog

  <STRING>PARTICLE_GETHIT:BLOODHIT

  <BOOL>INVINCIBLE:true

  <UNSIGNED INT>UNIQUE_GUID:12

  <STRING>UNIT_GUID:-3195029593784249890

  <FLOAT>DAMAGE_REACT_RADIUS:20.000000

  <TRANSLATE>DISPLAYNAME:Dog

  <INTEGER>ARMOR_POISON:120

  <INTEGER>ARMOR_ELECTRIC:120

  <INTEGER>ARMOR_ICE:120

  <INTEGER>ARMOR_FIRE:120

  <STRING>ARMOR_GRAPH:Armor_Minion_byLevel

  <STRING>DAMAGE_GRAPH:Damage_Minion_byLevel

  <STRING>HEALTH_GRAPH:Health_Minion_byLevel

  <FLOAT>MAXHP:160.000000

  [/UNIT]

  Cat的属性

  [UNIT]

  <STRING>UNITTYPE:PET

  <STRING>NAME:Cat

  <STRING>RESOURCEDIRECTORY:media/models/cat

  <STRING>MESHFILE:cat

  <FLOAT>MINHP:160.000000

  <INTEGER>ARMOR:150

  <INTEGER>MINDAMAGE:80

  <INTEGER>MAXDAMAGE:120

  <FLOAT>WALKINGSPEED:1.900000

  <FLOAT>RUNNINGSPEED:6.500000

  <FLOAT>ATTACKSPEED:100.000000

  <FLOAT>REACH_BONUS:0.750000

  <INTEGER>RARITY:0

  <FLOAT>SCALE:0.750000

  <BOOL>CANMATCHSPEED:true

  <STRING>ATTACK_SOUND:CatAttack

  <STRING>STRIKE_SOUND:DogBite

  <STRING>IDLE_SOUND:CatIdle

  <STRING>ROAR_SOUND:CatRoar

  <STRING>MISS_SOUND:Miss

  <STRING>STEP_SOUND:FootstepDog

  <STRING>PARTICLE_GETHIT:BLOODHIT

  <BOOL>INVINCIBLE:true

  <STRING>UNIT_GUID:6655120081984033246

  <TRANSLATE>DISPLAYNAME:Cat

  <INTEGER>ARMOR_FIRE:120

  <INTEGER>ARMOR_ICE:120

  <INTEGER>ARMOR_ELECTRIC:120

  <INTEGER>ARMOR_POISON:120

  <STRING>ARMOR_GRAPH:Armor_Minion_byLevel

  <STRING>DAMAGE_GRAPH:Damage_Minion_byLevel

  <STRING>HEALTH_GRAPH:Health_Minion_byLevel

  <FLOAT>MAXHP:160.000000

  <FLOAT>DAMAGE_REACT_RADIUS:20.000000

  [/UNIT]

  从代码看有几个地方不同:

  Cat的体型小一些,运动速度大一些,攻击范围宽一些

  与Dog相同参数作比较

  C/D的体型比为0.85

  C/D的速度比为1.357,D/C为0.73

  这说明相对于体积比来说,体型比较大,那实际速度Cat的比Dog略大.....................。.

  Cat的攻击范围加了20%,而体型比是0.85,也就是说Cat的攻击范围比Dog略大...........。.

  结论:Cat比Dog跑的快,攻击范围大........。.

相关新闻