Skip to content

Instantly share code, notes, and snippets.

@arieh
Created May 10, 2018 20:49
Show Gist options
  • Save arieh/788f3d9f96432776afb9afdffe7c4a03 to your computer and use it in GitHub Desktop.
Save arieh/788f3d9f96432776afb9afdffe7c4a03 to your computer and use it in GitHub Desktop.
^1^T^SPoint^T ^Sy^F4982309702860793 ^f-44^SrelativePoint ^SBOTTOMLEFT^Sx ^F4725488912170997^f-42 ^t^SScale^N1.1416677236557 ^SRows^N2 ^SEnabledSpecs^T ^N270^b ^N269^b ^t^SGUID^STMW:group:1QzAtJBAo3I4 ^SColumns^N1 ^SIcons^T ^N1^T ^SShowTimer^B ^SType^Scooldown ^SShowTimerText^B ^SName^STranscendence ^SEvents^T ^N1^T ^SType^SLua ^SLua^S--~`<Untitled~`Lua~`Code>~J ~J local~`icon~`=~`...~J ~J --Your~`code~`goes~`here:~J ~J ~J local~`x,y~`=~`~`GetPlayerMapPosition("player")~J TMW._trans_location~`=~`{x=x*1000,~`y=~`y~`*~`1000}~`~J ~J ^SEvent^SOnCondition ^SOnConditionConditions^T ^N1^T ^SType^SSPELLCD ^SOperator^S> ^SLevel^N9 ^SName^STranscendence ^t^Sn^N1 ^t^t^Sn^N1 ^t^SSettingsPerView^T ^Sicon^T ^STexts^T ^N1^S ^t^t^t^SStates^T ^N1^T ^t^N2^T ^SAlpha^N0.5 ^t^N3^T ^t^N4^T ^t^N102^T ^SAlpha^N0.5 ^t^t^SEnabled^B ^t^N2^T ^SShowTimer^B ^SType^Scooldown ^SConditions^T ^N1^T ^SType^SLUA ^SName^Slocal~`x,y~`=~`GetPlayerMapPosition("player")~J ~J local~`current~`=~`{x=x*1000,~`y=~`y~`*~`1000}~J ~J ~J ~J local~`last~`=~`TMW._trans_location~`~J ~J if~`(not~`last)~`then~`return~`false~`end~J ~J local~`distance~`=~`math.sqrt(~`~J ~`~`~`~`math.abs(~J ~`~`~`~`~`~`~`~`(current.x~`-~`last.x)~}2~`+~`(current.y~`-~`last.y)~}2~J ~`~`~`~`)~`~`~`~`~J )~J ~J return~`distance~`<~`40 ^t^Sn^N1 ^t^SShowTimerText^B ^SName^STranscendence:~`Transfer ^SEnabled^B ^SSettingsPerView^T ^Sicon^T ^STexts^T ^N1^S ^t^t^t^SStates^T ^N1^T ^t^N2^T ^SAlpha^N0.5 ^t^N3^T ^t^N4^T ^t^N102^T ^SAlpha^N0.5 ^t^t^t^N3^T ^SStates^T ^N1^T ^t^N3^T ^t^N4^T ^t^t^t^N4^T ^SStates^T ^N1^T ^t^N3^T ^t^N4^T ^t^t^t^t^SSettingsPerView^T ^Sicon^T ^SSpacingX^N4 ^SSpacingY^N4 ^t^t^t^N84305^S~`~| ^Sgroup^N33 ^^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment