how to know what variables used on skills.?

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

htmlmaster
Newcomer
Posts: 19
Joined: October 4th, 2009, 8:22 am

Re: how to know what variables used on skills.?

Post by htmlmaster »

here it is..
You do not have the required permissions to view the files attached to this post.
initialD wrote:He has got 2 characteristic on one mind. Some kind of mentally illness.
isomania wrote:
initialD wrote:
isomania wrote::1st- i tpye "-orge<space><space>" not includingthe space i type
then i type "-orge 4" and "-(orge) 4"doesn't activate it
zzzz.. MAN. ogre is not orge. orge is not ogre
so just watch your spellings.
wtf?

oohk will try again ... TQ
LOL
User avatar
Hillo
Forum Staff
Posts: 615
Joined: June 9th, 2008, 9:51 am
Location: Finland

Re: how to know what variables used on skills.?

Post by Hillo »

Ok I'll take Moonlight Shadow - A0KU - 1093684053 as an example.

Code: Select all

function S3O takes nothing returns nothing
local unit COI=GetTriggerUnit()
local group JPI=BGI()
local timer t=CreateTimer()
local string BNI=(I2S(API((t))))
local integer DXI=GetUnitAbilityLevel(COI,(1093684053))
local real WEI=5+2*DXI
set KO=DXI
call GroupEnumUnitsInRange(JPI,0,0,9999,Condition(function SIO))
call ForGroup(JPI,function S1O)
if ynd!=0 and mumu==true then
call StoreInteger(XO,(BNI),("Group"),0)
call SyncStoredInteger(XO,(BNI),("Group"))
endif
call StoreInteger(XO,(BNI),("Group"),API((JPI)))
call TimerStart(t,WEI,false,function S2O)
endfunction

Code: Select all

if ynd!=0 and mumu==true then
call StoreInteger(XO,(BNI),("Group"),0)
call SyncStoredInteger(XO,(BNI),("Group"))
endif
This is the part that checks if cheats are enabled and then after the group (allied heroes) have received the permanent invisibility buff, it makes the group null (empty) so that after the duration is over the buff isn't removed

Code: Select all

local integer DXI=GetUnitAbilityLevel(COI,(1093684053))
This one checks for the level of Moonlight Shadow but it's kind of irrelevant in this one, because the duration is permanent anyway.
Image
htmlmaster
Newcomer
Posts: 19
Joined: October 4th, 2009, 8:22 am

Re: how to know what variables used on skills.?

Post by htmlmaster »

oh! now i get it..!!


thanks mate i owe you..
initialD wrote:He has got 2 characteristic on one mind. Some kind of mentally illness.
isomania wrote:
initialD wrote:
isomania wrote::1st- i tpye "-orge<space><space>" not includingthe space i type
then i type "-orge 4" and "-(orge) 4"doesn't activate it
zzzz.. MAN. ogre is not orge. orge is not ogre
so just watch your spellings.
wtf?

oohk will try again ... TQ
LOL