Game_Enemy 这个里面 的id=33只是针对的一个敌人吧
要修改其他id的敌人还需要复制下面的内容,把id改一下就可以了吗?
<#--------------------------------------------------------------------------
# ● 获取基本 MaxHP
#--------------------------------------------------------------------------
def base_maxhp
#突破
if @enemy_id==33
return 99999999
end
return $data_enemies[@enemy_id].maxhp
end
#--------------------------------------------------------------------------
# ● 获取基本 MaxSP
#--------------------------------------------------------------------------
def base_maxsp
#突破
if @enemy_id==33
return 99999999
end
return $data_enemies[@enemy_id].maxsp
end
#--------------------------------------------------------------------------
# ● 获取基本力量
#--------------------------------------------------------------------------
def base_str
#突破
if @enemy_id==33
return 9999
end
return $data_enemies[@enemy_id].str
end
#--------------------------------------------------------------------------
# ● 获取基本灵巧
#--------------------------------------------------------------------------
def base_dex
#突破
if @enemy_id==33
return 9999
end
return $data_enemies[@enemy_id].dex
end
#--------------------------------------------------------------------------
# ● 获取基本速度
#--------------------------------------------------------------------------
def base_agi
#突破
if @enemy_id==33
return 9999
end
return $data_enemies[@enemy_id].agi
end
#--------------------------------------------------------------------------
# ● 获取基本魔力
#--------------------------------------------------------------------------
def base_int
#突破
if @enemy_id==33
return 9999
end
return $data_enemies[@enemy_id].int
end
#--------------------------------------------------------------------------
# ● 获取基本攻击力
#--------------------------------------------------------------------------
def base_atk
#突破
if @enemy_id==33
return 9999
end
return $data_enemies[@enemy_id].atk
end
#--------------------------------------------------------------------------
# ● 获取基本物理防御
#--------------------------------------------------------------------------
def base_pdef
#突破
if @enemy_id==33
return 9999
end
return $data_enemies[@enemy_id].pdef
end
#--------------------------------------------------------------------------
# ● 获取基本魔法防御
#--------------------------------------------------------------------------
def base_mdef
#突破!
if @enemy_id==33
return 9999
end
return $data_enemies[@enemy_id].mdef
end
#--------------------------------------------------------------------------
# ● 获取基本回避修正
#--------------------------------------------------------------------------
def base_eva
#突破!
if @enemy_id==33
return 9999
end
return $data_enemies[@enemy_id].eva
end> 作者: 我不是字母君 时间: 2011-10-8 17:49 本帖最后由 我不是字母君 于 2011-10-8 18:00 编辑
复制一下,改下ID就可以.求认可!!!
另:强烈不推荐楼上数字君的那个脚本。会导致角色属性紊乱。不信你试试。
你可以建立一个队伍,和太上老君对战一次。你会发现多高的等级都无法打败他
比如说让34号敌人强力化:
def base_maxhp
#突破
if @enemy_id==33
return 99999999
end
if @enemy_id==34
return 12345678
end
return $data_enemies[@enemy_id].maxhp
end
#--------------------------------------------------------------------------
# ● 获取基本 MaxSP
#--------------------------------------------------------------------------
def base_maxsp
#突破
if @enemy_id==33
return 99999999
end
if @enemy_id==34
return 12345678
end
return $data_enemies[@enemy_id].maxsp
end
#--------------------------------------------------------------------------
# ● 获取基本力量
#--------------------------------------------------------------------------
def base_str
#突破
if @enemy_id==33
return 9999
end
if @enemy_id==34
return 1234
end
return $data_enemies[@enemy_id].str
end
#--------------------------------------------------------------------------
# ● 获取基本灵巧
#--------------------------------------------------------------------------
def base_dex
#突破
if @enemy_id==33
return 9999
end
if @enemy_id==34
return 1234
end
return $data_enemies[@enemy_id].dex
end
#--------------------------------------------------------------------------
# ● 获取基本速度
#--------------------------------------------------------------------------
def base_agi
#突破
if @enemy_id==33
return 9999
end
if @enemy_id==34
return 1234
end
return $data_enemies[@enemy_id].agi
end
#--------------------------------------------------------------------------
# ● 获取基本魔力
#--------------------------------------------------------------------------
def base_int
#突破
if @enemy_id==33
return 9999
end
if @enemy_id==34
return 1234
end
return $data_enemies[@enemy_id].int
end
#--------------------------------------------------------------------------
# ● 获取基本攻击力
#--------------------------------------------------------------------------
def base_atk
#突破
if @enemy_id==33
return 9999
end
if @enemy_id==34
return 1234
end
return $data_enemies[@enemy_id].atk
end
#--------------------------------------------------------------------------
# ● 获取基本物理防御
#--------------------------------------------------------------------------
def base_pdef
#突破
if @enemy_id==33
return 9999
end
if @enemy_id==34
return 1234
end
return $data_enemies[@enemy_id].pdef
end
#--------------------------------------------------------------------------
# ● 获取基本魔法防御
#--------------------------------------------------------------------------
def base_mdef
#突破!
if @enemy_id==33
return 9999
end
if @enemy_id==34
return 1234
end
return $data_enemies[@enemy_id].mdef
end
#--------------------------------------------------------------------------
# ● 获取基本回避修正
#--------------------------------------------------------------------------
def base_eva
#突破!
if @enemy_id==33
return 9999
end
if @enemy_id==34
return 1234
end
return $data_enemies[@enemy_id].eva
end作者: summer依恋 时间: 2011-10-8 22:25