Quantcast

fix in taiwanese

Sidoine De Wispelaere [11-04-10 - 19:36]
fix in taiwanese
blood dk: fixes

git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@327 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Filename
Locale-zhTW.lua
defaut/Chevalier.lua
diff --git a/Locale-zhTW.lua b/Locale-zhTW.lua
index 988658e..147de2d 100644
--- a/Locale-zhTW.lua
+++ b/Locale-zhTW.lua
@@ -23,9 +23,9 @@ L["Affichage numérique"] = "數字顯示"
 L["Affiche le temps de recharge sous forme numérique"] = "技能剩餘時間以數字顯示"
 L["Si cible uniquement"] = "如果有目標"
 L["Verrouiller position"] = "鎖定圖示位置"
-L["Vertical"] = 垂直
+L["Vertical"] = "垂直"
 L["Marge entre deux icônes"] = "圖示間距"
-L["Focus"] = 專注目標
+L["Focus"] = "專注目標"
 L["Apparence"] = "框架外觀設定"
 L["Cacher bouton vide"] = "隱藏空按鈕"
 L["Cacher si cible amicale ou morte"] = "隱藏友好或死亡的目標"
diff --git a/defaut/Chevalier.lua b/defaut/Chevalier.lua
index da3c574..67eefac 100644
--- a/defaut/Chevalier.lua
+++ b/defaut/Chevalier.lua
@@ -3,6 +3,7 @@ Ovale.defaut["DEATHKNIGHT"] = [[
 Define(ARMYOFTHEDEAD 42650)
 	SpellInfo(ARMYOFTHEDEAD cd=600)
 Define(BLOODBOIL 48721)
+	SpellAddTargetDebuff(BLOODBOIL SCARLETFEVER=30)
 Define(BLOODPRESENCE 48263)
 Define(BLOODSTRIKE 45902)
 	SpellInfo(BLOODSTRIKE blood=-1)
@@ -90,10 +91,10 @@ AddIcon help=main mastery=1

 	if BuffExpires(strengthagility 2) and CheckBoxOn(horn) Spell(HORNOFWINTER)
 	if TargetDebuffExpires(lowerphysicaldamage) and CheckBoxOn(scarlet) and TargetClassification(worldboss)
-		if Runes(blood1) or BuffPresent(BLOODSWARM) Spell(BLOODBOIL)
+		if Runes(blood 1) or BuffPresent(BLOODSWARM) Spell(BLOODBOIL)
 	Spell(RUNESTRIKE usable=1)

-	if Runes(unholy 1 frost 1) and BuffExpires(BLOODSHIELD) Spell(DEATHSTRIKE)
+	if Runes(unholy 1 frost 1) and {BuffExpires(BLOODSHIELD) or TargetTargetIsPlayer(no)} Spell(DEATHSTRIKE)
 	if Runes(blood 1) Spell(HEARTSTRIKE)

 	if Mana(more 39) Spell(DEATHCOIL usable=1)
@@ -209,7 +210,7 @@ AddIcon help=cd
 	unless BuffPresent(BONESHIELD) Spell(BONESHIELD)
 	if BuffPresent(BLOODPRESENCE)
 	{
-		if TotemPresent(ghoul) Spell(DEATHPACT)
+		if TotemPresent(ghoul) and LifePercent(less 61) and Mana(more 39) Spell(DEATHPACT)
 		Spell(VAMPIRICBLOOD)
 		Spell(RUNETAP)
 		Spell(UNBREAKABLEARMOR)