public ThiefPassive2(int level, SkillThief set) : base(set) { targetNum = 1; targetTag = TARGETTAG.SELF; type = SKILLTYPE.PAS; image = "battle/Thief/Skill/ThiefPassive2"; name = "sharp-eye (Ver.Rogue)"; explain = ""; this.level = level; coef = 1; }
public ThiefPassive3(int level, SkillThief set) : base(set) { targetNum = 1; targetTag = TARGETTAG.SELF; type = SKILLTYPE.PAS; image = "battle/Thief/Skill/ThiefPassive3"; name = "Confusion"; explain = ""; this.level = level; coef = 1; }
public ThiefPassive1(int level, SkillThief set) : base(set) { targetNum = 1; targetTag = TARGETTAG.SELF; type = SKILLTYPE.PAS; image = "battle/Thief/Skill/ThiefPassive1"; name = "preceding movement"; explain = ""; this.level = level; coef = 1; }
public ThiefPassive5(int level, SkillThief set) : base(set) { targetNum = 1; targetTag = TARGETTAG.SELF; type = SKILLTYPE.PAS; image = "battle/Thief/Skill/ThiefPassive5"; name = "final blow"; explain = ""; this.level = level; coef = 1; atkNum = 0; }
public ThiefPassive4(int level, SkillThief set) : base(set) { targetNum = 1; targetTag = TARGETTAG.SELF; type = SKILLTYPE.PAS; image = "battle/Thief/Skill/ThiefPassive4"; name = "Explosive Trap"; explain = ""; this.level = level; coef = 1; debuff = new List <Buff>(); enemies = new List <BattleChar>(); }
public ThiefActive3(int level, SkillThief set) : base(set) { targetNum = 1; targetTag = TARGETTAG.ENEMY; type = SKILLTYPE.ACT; image = "battle/Thief/Skill/ThiefActive3"; name = "throwingPoisonDart"; explain = ""; this.level = level; coef = 1; basicMana = 6; incMana = 2; key = "act3"; }
public ThiefActive2(int level, SkillThief set) : base(set) { targetNum = 1; targetTag = TARGETTAG.ENEMY; type = SKILLTYPE.ACT; image = "battle/Thief/Skill/ThiefActive2"; name = "backstab"; explain = ""; this.level = level; coef = 1; basicMana = 5; incMana = 2; key = "act2"; }
public ThiefActive1(int level, SkillThief set) : base(set) { targetNum = 1; targetTag = TARGETTAG.ENEMY; type = SKILLTYPE.ACT; image = "battle/Thief/Skill/ThiefActive1"; name = "Assassination"; explain = ""; this.level = level; coef = 1; basicMana = 9; incMana = 3; key = "act1"; }
/// <summary> /// 发动偷窃技能 /// </summary> /// <param name="qqid"></param> /// <returns></returns> public static ThiefAttack ThiefSkillAttack(string qqid) { SkillThief skillThief = new SkillThief(); skillThief = CurdToDB.SearchSkillThiefFromDB(qqid); if (skillThief == null) { //没有技能 return(null); } else { Random random = new Random(); double iLuckyAddon = LuckyAddon.GetiLuckyAddon(qqid); int iChance = (int)(int.Parse(skillThief.SkillChance) * iLuckyAddon); int iResult = random.Next(1, 101); //测试 //iResult = 2; // if (iResult >= 1 && iResult < iChance) { //判定成功 ThiefAttack thiefAttack = new ThiefAttack(); int thiefGold = random.Next(int.Parse(skillThief.EffLower), int.Parse(skillThief.EffUpper) + 1); List <string> qqIdList = CurdToDB.SearchGoldListFromDB(thiefGold); int attNum = random.Next(0, qqIdList.Count); int oldGold = CurdToDB.SearchGoldFromDB(qqIdList[attNum]); CurdToDB.UpdateGoldToDB(qqIdList[attNum], oldGold, -thiefGold); int ioldGold = CurdToDB.SearchGoldFromDB(qqid); CurdToDB.UpdateGoldToDB(qqid, ioldGold, thiefGold); thiefAttack.QQid = qqIdList[attNum]; thiefAttack.ThiefGold = thiefGold; return(thiefAttack); } else { //未触发 return(null); } } }
public ThiefActive5(int level, SkillThief set) : base(set) { targetNum = 1; targetTag = TARGETTAG.ENEMY; type = SKILLTYPE.ACT; image = "battle/Thief/Skill/ThiefActive5"; name = "Vengeance"; explain = ""; this.level = level; coef = 1; basicMana = 5; incMana = 3; counter = new List <ThiefActive5Damaged>(); friends = new List <BattleChar>(); key = "act5"; }
public ThiefActive4(int level, SkillThief set) : base(set) { targetNum = 1; targetTag = TARGETTAG.ENEMYALL; type = SKILLTYPE.ACT; image = "battle/Thief/Skill/ThiefActive4"; name = "bloodthirsthy"; explain = ""; this.level = level; coef = 1; basicMana = 5; incMana = 3; debuff = new List <Buff>(); enemies = new List <BattleChar>(); key = "act4"; }
public ThiefActive3(int level, SkillThief set) : base(set) { targetNum = 1; targetTag = TARGETTAG.ENEMY; type = SKILLTYPE.ACT; image = "battle/Thief/Skill/ThiefActive3"; name = "Throwing poison Dart"; explain = ""; this.level = level; coef = 1; basicMana = 6; incMana = 2; debuff = new List <ThiefAct3Buff>(); enemies = new List <BattleChar>(); key = "act3"; }
public ThiefPassives(SkillThief set) : base(set) { }
//public new SkillThief set; public ThiefActives(SkillThief set) : base(set) { }