Project1

标题: 请问用脚本怎么减少角色经验值 [打印本页]

作者: cxd2584880    时间: 2007-7-13 04:28
提示: 作者被禁止或删除 内容自动屏蔽
作者: cxd2584880    时间: 2007-7-13 04:28
提示: 作者被禁止或删除 内容自动屏蔽
作者: 吸血鬼王族    时间: 2007-7-13 04:55
经验减少:$game_actors[编号].exp - x
等级减少:$game_actors[编号].level - x
x为数值

角色相关:以下为某编号的角色的相关属性
生命:$game_actors[编号].hp
精神:$game_actors[编号].sp
经验:$game_actors[编号].exp
等级:$game_actors[编号].level
最大生命:$game_actors[编号].maxhp
最大精神:$game_actors[编号].maxsp
力量:$game_actors[编号].str
灵巧:$game_actors[编号].dex
速度:$game_actors[编号].agi
魔力:$game_actors[编号].int
攻击力:$game_actors[编号].atk
物理防御:$game_actors[编号].pdef
魔法防御:$game_actors[编号].mdef
[LINE]1,#dddddd[/LINE]系统信息:本贴由版主真·ZERO认可为正确答案,66RPG感谢您的热情解答~




欢迎光临 Project1 (https://rpg.blue/) Powered by Discuz! X3.1