示例#1
0
 public override float GetProperty(BuffProperty property)
 {
     if (property == BuffProperty.speed)
     {
         return(GameConst.JUMP_FORCE * val);
     }
     return(0);
 }
示例#2
0
 public override float GetProperty(BuffProperty property)
 {
     if (property == BuffProperty.hurt)
     {
         return 1;
     }
     return 0;
 }
示例#3
0
 public virtual float GetProperty(BuffProperty property)
 {
     return(0f);
 }