Jump to content

Нужен скрипт


tillko

Recommended Posts

Нужен скрипт который в чат группы пишет время в которое мне был сбит каст, относительно начала каста.

Либо настройки для аддона

Link to comment
Share on other sites

сделал для tellmewhen:

^1^T^SLoseContolTypes^T ^SSCHOOL_INTERRUPT^N127 ^t^SType^Slosecontrol ^SEvents^T ^N1^T ^SType^SAnnouncements ^SChannel^SPARTY ^SLocation^SGeneral ^SOnlyShown^B ^SShowIconTex^b ^SText^SI~`was~`Interrupted:~`[CastName]~`at~`[CastStartDuration:TMWFormatDuration]/[(CastEndDuration~`+~`CastStartDuration):TMWFormatDuration]~`([(100~`*~`(CastStartDuration~`/~`(CastEndDuration~`+~`CastStartDuration))):Round(2)]%) ^SEvent^SOnShow ^t^Sn^N1 ^t^SSettingsPerView^T ^Sicon^T ^STexts^T ^N2^S ^t^t^t^SCustomTex^Sblank ^SEnabled^B ^t^N70086^S~`~| ^Sicon^^

  • Like 2
Link to comment
Share on other sites

нужен скрипт' date=' чтобы кикать всегда[/quote']

 

/run function Kick(self, elapsed) local spell, _, _, _, _, endTime, _, _, interrupt = UnitCastingInfo("target") local enabled = GetSpellCooldown("Заморозка разума") local inRange = IsSpellInRange("[color="#B22222"][b]ЧЕМ?[/b][/color]", "target") if spell then if interrupt == false and enabled == 0 and inRange == 1 then RunMacroText("/cast [b][color="#B22222"]ЧЕМ?[/color][/b]") end end end CreateFrame("Frame", "KickFrame") KickFrame:SetScript("OnUpdate", Kick)  

Ток луа анлокер найди себе. :troll1:

Link to comment
Share on other sites

/run function Kick(self, elapsed) local spell, _, _, _, _, endTime, _, _, interrupt = UnitCastingInfo("target") local enabled = GetSpellCooldown("Заморозка разума") local inRange = IsSpellInRange("[color="#B22222"][b]ЧЕМ?[/b][/color]", "target") if spell then if interrupt == false and enabled == 0 and inRange == 1 then RunMacroText("/cast [b][color="#B22222"]ЧЕМ?[/color][/b]") end end end CreateFrame("Frame", "KickFrame") KickFrame:SetScript("OnUpdate", Kick)  

Ток луа анлокер найди себе. :troll1:

 

Распространение скриптов на форуме.

Или лаунчер банит за анлокер?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...