private void AbsorbResult() { int npcCount = 0; foreach (Living p in Game.FindAppointDeGreeNpc(1)) { p.Die(); Game.RemoveLiving(p.Id); npcCount++; } if (npcCount == 0) { int index = Game.Random.Next(0, AbsorbERRChat.Length); Body.Say(AbsorbERRChat[index], 1, 1000); m_giddyCount = 2; } else { int index = Game.Random.Next(0, AbsorbOKChat.Length); Body.Say(AbsorbOKChat[index], 1, 1000); Body.AddBlood(npcCount * 3000 + npcCount * 1000); m_damagePlus += m_damagePlus / 2; //Body.ChangeAttack(Body.NpcInfo.Attack / 2); if (npcCount == 3) { m_isRunAttack = true; } } }
private void Healing() { int index = Game.Random.Next(0, AddBooldChat.Length); Body.Say(AddBooldChat[index], 1, 0); Body.SyncAtTime = true; Body.AddBlood(5000); Body.PlayMovie("", 1000, 4500); }
public void Healing() { Body.SyncAtTime = true; Body.AddBlood(5000); Body.Say(LanguageMgr.GetTranslation("GameServerScript.AI.NPC.HardKingZhen.msg20"), 1, 0); }
public void Healing() { Body.SyncAtTime = true; Body.AddBlood(5000); Body.Say("哈哈,我又充满力量了!", 1, 0); }