public override void doClick() { Debug.Log("click a barrel"); if (this.getIsEmpty()) { messageUI.showMessage("保险箱里面没有值得注意的物品。"); } else { NPC chara = (NPC)roundController.getCurrentRoundChar(); if (chara.getActionPoint() >= SystemConstant.InverstActionPoint) { if (chara.getAbilityInfo()[2] >= 7) { messageUI.showMessage("你明锐的观察到密码键里有几个已经掉漆的数字,尝试了一会就打开了。"); chara.getBag().insertItem(this.getItem()); } else { messageUI.showMessage("你发现保险箱是有密码的,你想用概率学进行密码穷举法破解,需要知识进行检测大于6才能打开保险箱。"); this.maxValue = 6; this.phase = 1; listenRoll = true; } chara.updateActionPoint(chara.getActionPoint() - SystemConstant.InverstActionPoint); } else { messageUI.ShowMessge("行动力不足,不能进行调查。", 1); } } }
public override void doClick() { Debug.Log("click a barrel"); if (this.getIsEmpty()) { messageUI.showMessage("电脑里已经没有特别的图片。"); } else { NPC chara = (NPC)roundController.getCurrentRoundChar(); if (chara.getActionPoint() >= SystemConstant.InverstActionPoint) { if (chara.getAbilityInfo()[3] >= 4) { messageUI.showMessage("一张监控图片引起了你的注意。"); chara.getBag().insertItem(this.getItem()); } else { messageUI.showMessage("恐惧让你无法注意到电脑里的照片。"); chara.getBag().insertItem(this.getItem()); } chara.updateActionPoint(chara.getActionPoint() - SystemConstant.InverstActionPoint); } else { messageUI.ShowMessge("行动力不足,不能进行调查。", 1); } } }
public override void doClick() { Debug.Log("click a barrel"); if (this.getIsEmpty()) { messageUI.showMessage("桌子上没有值得注意的物品。"); } else { NPC chara = (NPC)roundController.getCurrentRoundChar(); if (chara.getActionPoint() >= SystemConstant.InverstActionPoint) { if (chara.getAbilityInfo()[2] >= 4) { messageUI.showMessage("你注意到一瓶药水上面贴着蜘蛛的图标。"); chara.getBag().insertItem(this.getItem()); } else { messageUI.showMessage("桌子上一堆药品但是没有一个是你认识的。"); chara.getBag().insertItem(this.getItem()); } chara.updateActionPoint(chara.getActionPoint() - SystemConstant.InverstActionPoint); } else { messageUI.ShowMessge("行动力不足,不能进行调查。", 1); } } }
public void OnPointerClick(PointerEventData eventData) { if (ply.ActionPointrolled()) { RollDiceParam para = new RollDiceParam(this.ply.getAbilityInfo()[1] + this.ply.getDiceNumberBuffer()); // rollUI.setRollDiceParam(para); ply.updateActionPoint(rollUI.showRollDiceImmediately(para) + this.ply.getDiceValueBuffer()); ply.setActionPointrolled(false); isRoll = true; } else { isRoll = false; msgUI.ShowMessge("你已经丢过行动力骰子了", 0); } }
public override void doClick() { Debug.Log("click a barrel"); if (this.getIsEmpty()) { messageUI.showMessage("安全柜子是空的。"); } else { NPC chara = (NPC)roundController.getCurrentRoundChar(); if (chara.getActionPoint() >= SystemConstant.InverstActionPoint) { if (chara.getAbilityInfo()[3] >= 8) { messageUI.showMessage("你平静地看着瓶子里还未孵化出来的蛛卵,小心翼翼地把它拿了出来。"); chara.getBag().insertItem(this.getItem()); } else if (chara.getAbilityInfo()[3] >= 6) { messageUI.showMessage("瓶子里未孵化出的蛛卵让你感到恐惧,你需要下很大的决心才能把它取出来。"); this.maxValue = 7; this.phase = 1; listenRoll = true; } else if (chara.getAbilityInfo()[3] >= 4) { messageUI.showMessage("你似乎看见瓶子的蛛卵像人的心脏一样还在微微跳动,吓得你赶紧关上的柜门。"); this.maxValue = 7; this.phase = 1; listenRoll = true; } else { messageUI.showMessage("你看见未孵化的蛛卵像你的兄弟一样,你毫不犹豫地拿出了瓶子。"); chara.getBag().insertItem(this.getItem()); } chara.updateActionPoint(chara.getActionPoint() - SystemConstant.InverstActionPoint); } else { messageUI.ShowMessge("行动力不足,不能进行调查。", 1); } } }
public override void doClick() { Debug.Log("click a barrel"); if (this.getIsEmpty()) { messageUI.showMessage("尸体已经被处理干净了。"); } else { NPC chara = (NPC)roundController.getCurrentRoundChar(); if (chara.getActionPoint() >= SystemConstant.InverstActionPoint) { if (chara.getAbilityInfo()[3] >= 7) { messageUI.showMessage("你很镇静地看着尸体手臂上残留的脓包,然后用旁边的手术刀把残留物装进了瓶子里。"); chara.getBag().insertItem(this.getItem()); } else if (chara.getAbilityInfo()[3] >= 4) { messageUI.showMessage("你感觉到一阵恶心,但是你强忍住用旁边的手术刀试图把残留物收集起来,你需要对理智进行检测 大于6 才能收集残留物。"); this.maxValue = 6; this.phase = 1; listenRoll = true; } else { messageUI.showMessage("尸体手臂上的脓包残留物让你感觉到一种亲切感。你小心翼翼地用手把它们收集起来"); chara.getBag().insertItem(this.getItem()); } chara.updateActionPoint(chara.getActionPoint() - SystemConstant.InverstActionPoint); } else { messageUI.ShowMessge("行动力不足,不能进行调查。", 1); } } }
public override void doClick() { Debug.Log("click a barrel"); if (this.getIsEmpty()) { messageUI.showMessage("柜子里面是空的。"); } else { NPC chara = (NPC)roundController.getCurrentRoundChar(); if (chara.getActionPoint() >= SystemConstant.InverstActionPoint) { if (chara.getAbilityInfo()[0] >= 7) { messageUI.showMessage("你感觉很轻松的就打开的柜子。"); chara.getBag().insertItem(this.getItem()); } else if (chara.getAbilityInfo()[2] >= 5) { messageUI.showMessage("打开柜子似乎有点费力,你需要对力量进行检测 大于5 才能取出里面的物品。"); this.maxValue = 5; this.phase = 1; listenRoll = true; } else { messageUI.showMessage("你试图打开柜子,但是发现门很紧,你无法打开。"); } chara.updateActionPoint(chara.getActionPoint() - SystemConstant.InverstActionPoint); } else { messageUI.ShowMessge("行动力不足,不能进行调查。", 1); } } }
public override void doClick() { Debug.Log("click a barrel"); if (getIsEmpty()) { messageUI.ShowMessge("里面是空的", 1); } else { NPC chara = (NPC)roundController.getCurrentRoundChar(); if (chara.getActionPoint() >= 2) { if (chara.getAbilityInfo()[2] >= 7) { messageUI.ShowMessge("因为你的知识丰富,很容易就发现了带血的书", 1); chara.getBag().insertItem(this.getItem()); } else if (chara.getAbilityInfo()[2] >= 3) { messageUI.ShowMessge("你注意到了带血的黑书,你需要对知识进行判断 大于5 才能看懂书的内容", 1); this.maxValue = 7; this.phase = 1; listenRoll = true; } else { messageUI.ShowMessge("因为你的知识低下的关系,没能看懂任何内容", 1); } chara.updateActionPoint(chara.getActionPoint() - 2); } else { messageUI.ShowMessge("行动力不足,不能进行调查.", 1); } } }
public override void doClick() { Debug.Log("click a barrel"); if (this.getIsEmpty()) { messageUI.ShowMessge("里面是空的", 1); } else { NPC chara = (NPC)roundController.getCurrentRoundChar(); if (chara.getActionPoint() >= 2) { if (chara.getAbilityInfo()[2] >= 1) { messageUI.ShowMessge("因为你的注意力高度集中,很容易就发现了药水道具", 1); chara.getBag().insertItem(this.getItem()); } else if (chara.getAbilityInfo()[2] >= 0) { messageUI.ShowMessge("你注意桶底有点黑色的物品,你需要对力量进行判断 大于5 才能取出那个物品", 1); this.maxValue = 5; this.phase = 1; listenRoll = true; } else { messageUI.ShowMessge("因为你的注意力低下的关系,没能找到任何道具", 1); } chara.updateActionPoint(chara.getActionPoint() - 2); } else { messageUI.ShowMessge("行动力不足,不能进行调查.", 1); } } }