注册 | 登录

游侠NETSHOW论坛





游侠NETSHOW论坛 游侠NETSHOW论坛 金书江湖 生命上限怎么改不了呢?
查看: 1768|回复: 11
打印 上一主题 下一主题

[求助] 生命上限怎么改不了呢?  关闭 [复制链接]

帖子
109
精华
0
积分
55
金钱
805
荣誉
0
人气
0
评议
0
跳转到指定楼层
楼主
发表于 2016-1-27 19:34:24 |只看该作者 |倒序浏览
改了999个九转熊蛇,四万多的生命值

可是一旦战斗或者学习武功后,就又重新跌倒19999了


使用道具 举报

帖子
109
精华
0
积分
55
金钱
805
荣誉
0
人气
0
评议
0
沙发
发表于 2016-1-27 19:35:49 |只看该作者
0.83版本

使用道具 举报

帖子
145
精华
0
积分
73
金钱
1198
荣誉
0
人气
2
评议
0
板凳
发表于 2016-1-27 19:58:43 |只看该作者
佩服大侠,修改游戏的居然还能到论坛求助。。。

使用道具 举报

帖子
109
精华
0
积分
55
金钱
805
荣誉
0
人气
0
评议
0
地板
发表于 2016-1-27 20:02:22 |只看该作者
who961 发表于 2016-1-27 19:58
佩服大侠,修改游戏的居然还能到论坛求助。。。


使用道具 举报

帖子
121
精华
0
积分
61
金钱
119
荣誉
0
人气
1
评议
0
5#
发表于 2016-1-27 20:35:53 |只看该作者
渣渣

使用道具 举报

帖子
247
精华
0
积分
136
金钱
4129
荣誉
1
人气
24
评议
0
6#
发表于 2016-1-27 20:42:58 |只看该作者
一句话,傻逼滚

使用道具 举报

帖子
5
精华
0
积分
3
金钱
69
荣誉
0
人气
0
评议
0
7#
发表于 2016-1-27 20:48:09 |只看该作者
{:13_463:}修改退散

使用道具 举报

帖子
671
精华
0
积分
337
金钱
10363
荣誉
0
人气
16
评议
0
8#
发表于 2016-1-27 21:49:07 |只看该作者
怎么可以如此为难色大的信徒啊。血内的极限是19999(不装备内功、特技、身法时)

使用道具 举报

帖子
61
精华
0
积分
31
金钱
558
荣誉
0
人气
3
评议
0
9#
发表于 2016-1-27 21:53:11 |只看该作者
其实也没必要那么严苛,毕竟已经是第N版了,许多人都玩过好多次,老实说,这游戏前期已经变得极其无聊了,而且极为冗长,若不是想要体验一下新增剧情,真没信心重开了,所以说,改改也没啥。

使用道具 举报

帖子
61
精华
0
积分
31
金钱
558
荣誉
0
人气
3
评议
0
10#
发表于 2016-1-27 21:58:47 |只看该作者
一款游戏而言,随着版本号的提高,适当提供一些DIY包括修改的机会,也是增强游戏生命力的有效手段,比如暗荣就深谙此道,PK版一般都提供了官方修改。

使用道具 举报

帖子
109
精华
0
积分
55
金钱
805
荣誉
0
人气
0
评议
0
11#
发表于 2016-1-27 22:48:02 |只看该作者
须臾花满径2 发表于 2016-1-27 21:58
一款游戏而言,随着版本号的提高,适当提供一些DIY包括修改的机会,也是增强游戏生命力的有效手段,比如暗 ...

改了半天了,始终都是19999和999
求高手指导

# ● 获取 MaxHP
  #--------------------------------------------------------------------------
  def maxhp
    if self.id == 1
    n = [[base_maxhp+cx_plus(1)+ @maxhp_plus, 1].max, 999999].min
    else
     n = [[base_maxhp+@maxhp_plus, 1].max, 999999].min
    end
    for i in @states  #BUFF用 增加值=mdef_rate-100/技能LV
       if skill_learn?(i) and $data_states.hold_turn == 9999
       y = self.skill.level
       n *= (y*($data_states.maxhp_rate - 100.0)/1000.0)+1
       # y /= 10
       #n *= (y+100.0)/ 100.0
       else #debuff
       n *= $data_states.maxhp_rate/100.0
       end
    end
    n = [[Integer(n), 1].max, 999999].min
    return n
  end

  #--------------------------------------------------------------------------
  # ● 获取 MaxSP
  #--------------------------------------------------------------------------
  def maxsp
   if self.id == 1
    n = [[base_maxsp+cx_plus(2)+ @maxsp_plus, 1].max, 999999].min
   else
    n = [[base_maxsp + @maxsp_plus, 1].max, 999999].min
   end
     for i in @states  #BUFF用 增加值=mdef_rate-100/技能LV
       if skill_learn?(i) and $data_states.hold_turn == 9999
       y = self.skill.level
       n *= (y*($data_states.maxsp_rate - 100.0)/1000.0)+1
       # y /= 10
       #n *= (y+100.0)/ 100.0
       else #debuff
       n *= $data_states.maxsp_rate/100.0
       end
    end
    n = [[Integer(n), 1].max, 999999].min
    return n
  end

使用道具 举报

帖子
109
精华
0
积分
55
金钱
805
荣誉
0
人气
0
评议
0
12#
发表于 2016-1-27 22:48:32 |只看该作者
a1259a 发表于 2016-1-27 21:49
怎么可以如此为难色大的信徒啊。血内的极限是19999(不装备内功、特技、身法时) ...

改了半天了,始终都是19999和999
求高手指导

# ● 获取 MaxHP
  #--------------------------------------------------------------------------
  def maxhp
    if self.id == 1
    n = [[base_maxhp+cx_plus(1)+ @maxhp_plus, 1].max, 999999].min
    else
     n = [[base_maxhp+@maxhp_plus, 1].max, 999999].min
    end
    for i in @states  #BUFF用 增加值=mdef_rate-100/技能LV
       if skill_learn?(i) and $data_states.hold_turn == 9999
       y = self.skill.level
       n *= (y*($data_states.maxhp_rate - 100.0)/1000.0)+1
       # y /= 10
       #n *= (y+100.0)/ 100.0
       else #debuff
       n *= $data_states.maxhp_rate/100.0
       end
    end
    n = [[Integer(n), 1].max, 999999].min
    return n
  end

  #--------------------------------------------------------------------------
  # ● 获取 MaxSP
  #--------------------------------------------------------------------------
  def maxsp
   if self.id == 1
    n = [[base_maxsp+cx_plus(2)+ @maxsp_plus, 1].max, 999999].min
   else
    n = [[base_maxsp + @maxsp_plus, 1].max, 999999].min
   end
     for i in @states  #BUFF用 增加值=mdef_rate-100/技能LV
       if skill_learn?(i) and $data_states.hold_turn == 9999
       y = self.skill.level
       n *= (y*($data_states.maxsp_rate - 100.0)/1000.0)+1
       # y /= 10
       #n *= (y+100.0)/ 100.0
       else #debuff
       n *= $data_states.maxsp_rate/100.0
       end
    end
    n = [[Integer(n), 1].max, 999999].min
    return n
  end

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

手机版|Archiver|游侠NETSHOW论坛 ( 苏ICP备2023007791号 )

GMT+8, 2025-10-5 15:55 , Processed in 0.333377 second(s), 11 queries , Gzip On, Memcache On.

Powered by Discuz! X2

© 2001-2011 Comsenz Inc.

分享到