Experiance with BX-TRSII is needed to solve my problem(remove str and add an integer)

DKigorDK

New Member
Reaction score
6
Hey.

i cant really figur out what im doing wrong, and it is extremly annoying, so i hope you guys can maybe in the right direction ;)

this is the code as it is from the orginal system.

JASS:
function TRSPerStr takes nothing returns nothing
    local integer i=GetRandomInt(TRSMinS,TRSMaxS)
 if IsUnitType(TRSUnit,UNIT_TYPE_HERO) then
    call SetHeroStr(TRSUnit,GetHeroStr(TRSUnit,false)+i,true)
 endif
endfunction

function TRSPerAgi takes nothing returns nothing
    local integer i=GetRandomInt(TRSMinS,TRSMaxS)
 if IsUnitType(TRSUnit,UNIT_TYPE_HERO) then
    call SetHeroAgi(TRSUnit,GetHeroAgi(TRSUnit,false)+i,true)
 endif
endfunction

function TRSPerInt takes nothing returns nothing
    local integer i=GetRandomInt(TRSMinS,TRSMaxS)
 if IsUnitType(TRSUnit,UNIT_TYPE_HERO) then
    call SetHeroInt(TRSUnit,GetHeroInt(TRSUnit,false)+i,true)
 endif
endfunction


now this is what i wanted it to be

JASS:
function TRSPerStr takes nothing returns nothing
    local integer i=GetRandomInt(TRSMinS,TRSMaxS)
 if IsUnitType(TRSUnit,UNIT_TYPE_HERO) then
    set udg_GetHeroMig = (TRSUnit,GetHeroStr(TRSUnit,false)+i,true)
 endif
endfunction

function TRSPerAgi takes nothing returns nothing
    local integer i=GetRandomInt(TRSMinS,TRSMaxS)
 if IsUnitType(TRSUnit,UNIT_TYPE_HERO) then
    set udg_GetHeroSta = (TRSUnit,GetHeroAgi(TRSUnit,false)+i,true)
 endif
endfunction

function TRSPerInt takes nothing returns nothing
    local integer i=GetRandomInt(TRSMinS,TRSMaxS)
 if IsUnitType(TRSUnit,UNIT_TYPE_HERO) then
    set udg_GetHeroWil = (TRSUnit,GetHeroInt(TRSUnit,false)+i,true)
 endif
endfunction


i have created the variables (integer)

GetHeroMig
GetHeroSta
GetHeroWil


here is the full code of this section

JASS:
//#######################################################
//    I T E M   B O N U S E S
//#######################################################

function TRSPawnItemRate takes nothing returns real
    return 0.5
endfunction

function TRSMaxItemCostReduction takes nothing returns real
    return 50.
endfunction

function TRSMaxItemTradingSkill takes nothing returns real
    return 50.
endfunction

function TRSExInvId takes nothing returns integer
    return 'A00U'
endfunction

function TRSInitAbilitys takes nothing returns nothing
    call InitSubAbilBR(1,"^Size=16;Rarity=2.25;maxval=32768;minval=-32768;-32768='Ta00';-16384='Ta01';-8192='Ta02';-4096='Ta03';-2048='Ta04';-1024='Ta05';-512='Ta06';-256='Ta07';-128='Ta08';-64='Ta09';-32='Ta10';-16='Ta11';-8='Ta12';-4='Ta13';-2='Ta14';-1='Ta15';1='Ta16';2='Ta17';4='Ta18';8='Ta19';16='Ta20';32='Ta21';64='Ta22';128='Ta23';256='Ta24';512='Ta25';1024='Ta26';2048='Ta27';4096='Ta28';8192='Ta29';16384='Ta30';32768='Ta31';") // - dmg
    call InitSubAbilBR(2,"^Size=16;Rarity=1.85;maxval=32768;minval=-32768;-32768='Tb00';-16384='Tb01';-8192='Tb02';-4096='Tb03';-2048='Tb04';-1024='Tb05';-512='Tb06';-256='Tb07';-128='Tb08';-64='Tb09';-32='Tb10';-16='Tb11';-8='Tb12';-4='Tb13';-2='Tb14';-1='Tb15';1='Tb16';2='Tb17';4='Tb18';8='Tb19';16='Tb20';32='Tb21';64='Tb22';128='Tb23';256='Tb24';512='Tb25';1024='Tb26';2048='Tb27';4096='Tb28';8192='Tb29';16384='Tb30';32768='Tb31';") // - def
    call InitSubAbilBR(3,"^Size=16;Rarity=4.0;maxval=32768;minval=-32768;-32768='Tc00';-16384='Tc01';-8192='Tc02';-4096='Tc03';-2048='Tc04';-1024='Tc05';-512='Tc06';-256='Tc07';-128='Tc08';-64='Tc09';-32='Tc10';-16='Tc11';-8='Tc12';-4='Tc13';-2='Tc14';-1='Tc15';1='Tc16';2='Tc17';4='Tc18';8='Tc19';16='Tc20';32='Tc21';64='Tc22';128='Tc23';256='Tc24';512='Tc25';1024='Tc26';2048='Tc27';4096='Tc28';8192='Tc29';16384='Tc30';32768='Tc31';") // - HP
    call InitSubAbilBR(4,"^Size=16;Rarity=1.95;maxval=32768;minval=-32768;-32768='Td00';-16384='Td01';-8192='Td02';-4096='Td03';-2048='Td04';-1024='Td05';-512='Td06';-256='Td07';-128='Td08';-64='Td09';-32='Td10';-16='Td11';-8='Td12';-4='Td13';-2='Td14';-1='Td15';1='Td16';2='Td17';4='Td18';8='Td19';16='Td20';32='Td21';64='Td22';128='Td23';256='Td24';512='Td25';1024='Td26';2048='Td27';4096='Td28';8192='Td29';16384='Td30';32768='Td31';") // - mana
    call InitSubAbilBR(5,"^Size=16;Rarity=1.6;maxval=32768;minval=-32768;-32768='Te00';-16384='Te01';-8192='Te02';-4096='Te03';-2048='Te04';-1024='Te05';-512='Te06';-256='Te07';-128='Te08';-64='Te09';-32='Te10';-16='Te11';-8='Te12';-4='Te13';-2='Te14';-1='Te15';1='Te16';2='Te17';4='Te18';8='Te19';16='Te20';32='Te21';64='Te22';128='Te23';256='Te24';512='Te25';1024='Te26';2048='Te27';4096='Te28';8192='Te29';16384='Te30';32768='Te31';") // - str
    call InitSubAbilBR(6,"^Size=16;Rarity=1.6;maxval=32768;minval=-32768;-32768='Tf00';-16384='Tf01';-8192='Tf02';-4096='Tf03';-2048='Tf04';-1024='Tf05';-512='Tf06';-256='Tf07';-128='Tf08';-64='Tf09';-32='Tf10';-16='Tf11';-8='Tf12';-4='Tf13';-2='Tf14';-1='Tf15';1='Tf16';2='Tf17';4='Tf18';8='Tf19';16='Tf20';32='Tf21';64='Tf22';128='Tf23';256='Tf24';512='Tf25';1024='Tf26';2048='Tf27';4096='Tf28';8192='Tf29';16384='Tf30';32768='Tf31';") // - int
    call InitSubAbilBR(7,"^Size=16;Rarity=1.6;maxval=32768;minval=-32768;-32768='Tg00';-16384='Tg01';-8192='Tg02';-4096='Tg03';-2048='Tg04';-1024='Tg05';-512='Tg06';-256='Tg07';-128='Tg08';-64='Tg09';-32='Tg10';-16='Tg11';-8='Tg12';-4='Tg13';-2='Tg14';-1='Tg15';1='Tg16';2='Tg17';4='Tg18';8='Tg19';16='Tg20';32='Tg21';64='Tg22';128='Tg23';256='Tg24';512='Tg25';1024='Tg26';2048='Tg27';4096='Tg28';8192='Tg29';16384='Tg30';32768='Tg31';") // - agi
    call InitSubAbilBR(8,"^Size=16;Rarity=1.1;maxval=32768;minval=-32768;-32768='Th00';-16384='Th01';-8192='Th02';-4096='Th03';-2048='Th04';-1024='Th05';-512='Th06';-256='Th07';-128='Th08';-64='Th09';-32='Th10';-16='Th11';-8='Th12';-4='Th13';-2='Th14';-1='Th15';1='Th16';2='Th17';4='Th18';8='Th19';16='Th20';32='Th21';64='Th22';128='Th23';256='Th24';512='Th25';1024='Th26';2048='Th27';4096='Th28';8192='Th29';16384='Th30';32768='Th31';") // - lifelich
    call InitSubAbilBR(9,"^Size=16;Rarity=1.2;maxval=32768;minval=-32768;-32768='Ti00';-16384='Ti01';-8192='Ti02';-4096='Ti03';-2048='Ti04';-1024='Ti05';-512='Ti06';-256='Ti07';-128='Ti08';-64='Ti09';-32='Ti10';-16='Ti11';-8='Ti12';-4='Ti13';-2='Ti14';-1='Ti15';1='Ti16';2='Ti17';4='Ti18';8='Ti19';16='Ti20';32='Ti21';64='Ti22';128='Ti23';256='Ti24';512='Ti25';1024='Ti26';2048='Ti27';4096='Ti28';8192='Ti29';16384='Ti30';32768='Ti31';") // - ias
    call InitSubAbilBR(10,"^Size=16;Rarity=1.35;maxval=32768;minval=-32768;-32768='Tj00';-16384='Tj01';-8192='Tj02';-4096='Tj03';-2048='Tj04';-1024='Tj05';-512='Tj06';-256='Tj07';-128='Tj08';-64='Tj09';-32='Tj10';-16='Tj11';-8='Tj12';-4='Tj13';-2='Tj14';-1='Tj15';1='Tj16';2='Tj17';4='Tj18';8='Tj19';16='Tj20';32='Tj21';64='Tj22';128='Tj23';256='Tj24';512='Tj25';1024='Tj26';2048='Tj27';4096='Tj28';8192='Tj29';16384='Tj30';32768='Tj31';") // - lifereg
    call InitSubAbilBR(11,"^Size=16;Rarity=1.2;maxval=32768;minval=-32768;-32768='Tk00';-16384='Tk01';-8192='Tk02';-4096='Tk03';-2048='Tk04';-1024='Tk05';-512='Tk06';-256='Tk07';-128='Tk08';-64='Tk09';-32='Tk10';-16='Tk11';-8='Tk12';-4='Tk13';-2='Tk14';-1='Tk15';1='Tk16';2='Tk17';4='Tk18';8='Tk19';16='Tk20';32='Tk21';64='Tk22';128='Tk23';256='Tk24';512='Tk25';1024='Tk26';2048='Tk27';4096='Tk28';8192='Tk29';16384='Tk30';32768='Tk31';") // - reg mana
    call InitSubAbilBR(12,"^Size=16;Rarity=1.5;maxval=32768;minval=-32768;-32768='Tl00';-16384='Tl01';-8192='Tl02';-4096='Tl03';-2048='Tl04';-1024='Tl05';-512='Tl06';-256='Tl07';-128='Tl08';-64='Tl09';-32='Tl10';-16='Tl11';-8='Tl12';-4='Tl13';-2='Tl14';-1='Tl15';1='Tl16';2='Tl17';4='Tl18';8='Tl19';16='Tl20';32='Tl21';64='Tl22';128='Tl23';256='Tl24';512='Tl25';1024='Tl26';2048='Tl27';4096='Tl28';8192='Tl29';16384='Tl30';32768='Tl31';") // - move speed
    call InitSubAbilBR(13,"^Size=5;Rarity=1.3;maxval=16;minval=-16;-16='Tm00';-8='Tm01';-4='Tm02';-2='Tm03';-1='Tm04';1='Tm05';2='Tm06';4='Tm07';8='Tm08';16='Tm09';") // - light
    call InitSubAbilBR(14,"^Size=7;Rarity=1.12;maxval=64;minval=-64;-64='Tn00';-32='Tn01';-16='Tn02';-8='Tn03';-4='Tn04';-2='Tn05';-1='Tn06';1='Tn07';2='Tn08';4='Tn09';8='Tn10';16='Tn11';32='Tn12';64='Tn13';") // - sda
//Don't add bonus to unit abils
    call SetupBR(0x3E77,"^21=1;22=1;23=1;24=1;")
//AbilType
    call SetupBR(0x3E78,"^1=1;2=1;3=1;4=1;5=1;6=1;7=1;8=1;9=1;10=1;11=1;12=1;13=1;14=1;15=3;16=1;17=6;18=5;19=6;20=3;21=5;22=5;23=5;24=5;25=1;26=1;27=2;28=2;29=2;30=2;31=1;32=1;33=1;34=1;35=1;36=1;37=1;38=1;39=1;40=1;41=1;42=1;43=1;44=2;45=2;46=2;47=2;48=1;49=1;50=1;51=1;52=1;53=1;54=1;55=1;56=1;57=1;58=1;59=1;60=1;61=1;62=1;63=1;64=1;65=1;66=1;67=1;68=1;69=1;70=1;71=1;72=1;73=1;74=1;75=1;76=1;77=1;78=1;79=1;80=1;81=1;82=1;83=1;84=1;85=1;86=1;87=1;88=1;89=1;90=1;91=1;92=1;93=1;94=1;95=1;96=1;97=1;98=1;99=1;100=1;101=1;102=1;103=1;104=1;105=1;106=1;107=1;108=1;109=1;110=1;111=1;112=1;113=1;114=1;115=1;116=1;117=1;118=1;119=1;120=1;121=1;122=1;123=1;")
//Don't Display Stat
    call InitDisplayNoDispBR("^19=1;")
//Don't Display Requires
    call InitDisplayNoReqDispBR("^")
//Requiers alias
    call SetupBR(0x3E79,"^1=$lvl;2=$str;3=$agi;4=$int;5=$utype;6=$uabil;") 
    call SetupBR(0x3E79,"^lvl=1;str=2;agi=3;int=4;utype=5;uabil=6;") 
//Abils alias
  //>
    call SetupBR(0x3E80,"^1=$dmg;2=$def;3=$HP;4=$mana;5=$str;6=$int;7=$agi;8=$lich;9=$ias;10=$lifereg;11=$manareg;12=$move;13=$light;14=$sda;15=$onstruck;16=$sock;17=$AddAbil;18=$Cus;19=$AbilSil;20=$onhit;21=$PotHP;22=$pstr;23=$pagi;24=$pint;25=$cheap;26=$trade;27=$dmgpois;28=$dmgcold;29=$dmgltng;30=$dmgfire;31=$dmg%;32=$def%;33=$HP%;34=$mana%;35=$str%;36=$int%;37=$agi%;38=$ias%;39=$lifereg%;40=$manareg%;41=$move%;42=$light%;43=$sda%;44=$dmgmag;45=$dmgholy;46=$dmgdark;47=$dmgphys;48=$coldlen;49=$poislen;50=$firemin;51=$coldmin;52=$ltngmin;53=$poismin;54=$magmin;55=$holymin;56=$darkmin;57=$physmin;58=$firemax;59=$coldmax;60=$ltngmax;61=$poismax;62=$magmax;63=$holymax;64=$darkmax;65=$physmax;66=$dmgfire%;67=$dmgcold%;68=$dmgltng%;69=$dmgpois%;70=$dmgmag%;71=$dmgholy%;72=$dmgdark%;73=$dmgphys%;74=$piercefire;75=$piercecold;76=$pierceltng;77=$piercepois;78=$piercemag;79=$pierceholy;")
    call SetupBR(0x3E80,"^80=$piercedark;81=$piercefire%;82=$piercecold%;83=$pierceltng%;84=$piercepois%;85=$piercemag%;86=$pierceholy%;87=$piercedark%;88=$resfire;89=$rescold;90=$resltng;91=$respois;92=$resmag;93=$resholy;94=$resdark;95=$resfiremax;96=$rescoldmax;97=$resltngmax;98=$respoismax;99=$resmagmax;100=$resholymax;101=$resdarkmax;102=$resall;103=$resallmax;104=$absfire;105=$abscold;106=$absltng;107=$abspois;108=$absmag;109=$absholy;110=$absdark;111=$absfire%;112=$abscold%;113=$absltng%;114=$abspois%;115=$absmag%;116=$absholy%;117=$absdark%;118=$redpois;119=$redcold;120=$nofreeze;121=$redstun;122=$block;123=$crit;")   
  //<
    call SetupBR(0x3E80,"^dmg=1;def=2;HP=3;mana=4;str=5;int=6;agi=7;lich=8;ias=9;lifereg=10;manareg=11;move=12;light=13;sda=14;onstruck=15;sock=16;AddAbil=17;Cus=18;AbilSil=19;onhit=20;PotHP=21;pstr=22;pagi=23;pint=24;cheap=25;trade=26;dmgpois=27;dmgcold=28;dmgltng=29;dmgfire=30;dmg%=31;def%=32;HP%=33;mana%=34;str%=35;int%=36;agi%=37;ias%=38;lifereg%=39;manareg%=40;move%=41;light%=42;sda%=43;dmgmag=44;dmgholy=45;dmgdark=46;dmgphys=47;coldlen=48;poislen=49;firemin=50;coldmin=51;ltngmin=52;poismin=53;magmin=54;holymin=55;darkmin=56;physmin=57;firemax=58;coldmax=59;ltngmax=60;poismax=61;magmax=62;holymax=63;darkmax=64;physmax=65;dmgfire%=66;dmgcold%=67;dmgltng%=68;dmgpois%=69;dmgmag%=70;dmgholy%=71;dmgdark%=72;dmgphys%=73;piercefire=74;piercecold=75;pierceltng=76;piercepois=77;piercemag=78;pierceholy=79;piercedark=80;piercefire%=81;piercecold%=82;pierceltng%=83;piercepois%=84;")
    call SetupBR(0x3E80,"^piercemag%=85;pierceholy%=86;piercedark%=87;resfire=88;rescold=89;resltng=90;respois=91;resmag=92;resholy=93;resdark=94;resfiremax=95;rescoldmax=96;resltngmax=97;respoismax=98;resmagmax=99;resholymax=100;resdarkmax=101;resall=102;resallmax=103;absfire=104;abscold=105;absltng=106;abspois=107;absmag=108;absholy=109;absdark=110;absfire%=111;abscold%=112;absltng%=113;abspois%=114;absmag%=115;absholy%=116;absdark%=117;redpois=118;redcold=119;nofreeze=120;redstun=121;block=122;crit=123;")
//Pow Based Abils Multiplier Names
    call InitCusAbilMultBR("^1=$Prop31Par;2=$Prop32Par;3=$Prop33Par;4=$Prop34Par;5=$Prop35Par;6=$Prop36Par;7=$Prop37Par;9=$Prop38Par;10=$Prop39Par;11=$Prop40Par;12=$Prop41Par;13=$Prop42Par;14=$Prop43Par;")
//Special Strings Id's alias
    call SetupBR(0x3E81,"^4000=$blizzard;4001=$inferno;4002=$acid;")
    call SetupBR(0x3E81,"^blizzard=4000;inferno=4001;acid=4002;")
  // Custom funcs alias
    call SetupBR(0x3E81,"^1=$Hallo;")
    call SetupBR(0x3E81,"^Hallo=1;")
//Special Strings Ex alias (Display names)
    call SetupBR(0x3E82,"^4000=$Blizzard;4001=$Inferno;4002=$Acid Bomb;")
//Item Type Strings (For Gems)
    call SetupBR(0x3E83,"^weapon=$Weapons;helm=$Helms;armor=$Armor;shield=$Shields;shoulder=$Pauldrons;")
//Item Type Strings (For Display)
    call SetupBR(0x3E84,"^weapon=$Item type: Weapon;helm=$Item type: Helm;armor=$Item type: Armor;shield=$Item type: Shield;gems=$Can be inserted into socketed items;charm=$Keep in Inventory to gain bonus;belt=$Item type: Belt;charged=$Can be actively used;amulet=$Item type: Amulet;shoulder=$Item type: Pauldron;gloves=$Item type: Gloves;bracers=$Item type: Bracers;pants=$Item type: Pants;boots=$Item type: Boots;ring=$Item type: Ring;")
//Item Class Strings (For Display)
    call SetupBR(0x3E85,"^sword1h=$Class: One-Hand Sword;sword2h=$Class: Two-Hand Sword;axe1h=$Class: One-Hand Axe;axe2h=$Class: Two-Hand Axe;rune=$Class: Rune;armor=$Class: Armor;helm=$Class: Helm;shield=$Class: Shield;charm=$Class: Charm;belt=$Class: Belt;potion=$Class: Potion;shoulder=$Class: Pauldron;gloves=$Class: Gloves;bracers=$Class: Bracers;pants=$Class: Pants;boots=$Class: Boots;ring=$Class: Ring;amulet=$Class: Amulet;")
//Inv Slot discriptions 
    call SetupBR(0x3E86,"^charged=$Charged Item Slot;armor=$Armor Slot;amulet=$Amulet Slot;shoulder=$Pauldron Slot;weapon=$Main Hand Slot;shield=$Secondary Hand Slot;helm=$Helm Slot;gloves=$Gloves Slot;belt=$Belt Slot;bracers=$Bracers Slot;pants=$Pants Slot;boots=$Boots Slot;ring=$Ring Slot;pagedown=$Inventory Page Down;pageup=$Inventory Page Up;exit=$Exit Inventory;drop=$Drop Current Selected Item;pagedownmerch=$Next Page;pageupmerch=$Previous Page;sellitem=$Sell Current Selected Item;buyitem=$Buy Current Selected Item;")
//Special Funcs Names alias
    call InitCusFuncsBaseBR("^1=$TestHallo;2=$FullDTSet;3=$TRSPotionsRestoreHP;4=$TRSPerStr;5=$TRSPerAgi;6=$TRSPerInt;7=$AddEffectToTarget;")
endfunction

function TestHallo takes nothing returns nothing
  if TRSMod==1 and not TRSInsert then
    call DestroyEffect(AddSpecialEffectTarget("Abilities\\Spells\\Human\\Avatar\\AvatarCaster.mdl",TRSUnit,"origin"))
  elseif TRSMod==2 and not TRSInsert then
    call DestroyEffect(AddSpecialEffectTarget("Abilities\\Spells\\NightElf\\Blink\\BlinkCaster.mdl",TRSUnit,"origin"))
  endif
endfunction

function FullDTSet takes nothing returns nothing
  if TRSMod==1 and not TRSInsert then
    call DestroyEffect(AddSpecialEffectTarget("Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl",TRSUnit,"origin"))
    call DestroyEffect(AddSpecialEffectTarget("Abilities\\Spells\\Other\\Levelup\\LevelupCaster.mdl",TRSUnit,"origin"))
    call DestroyEffect(AddSpecialEffectTarget("Abilities\\Spells\\Human\\Resurrect\\ResurrectTarget.mdl",TRSUnit,"origin"))
 if GetOwningPlayer(TRSUnit)==GetLocalPlayer() then
    call DisplayTimedTextToPlayer(GetLocalPlayer(),0,0,128,"|cfffedaac                  T H E Y   R U L E S  ! ! !|r")
    call DisplayTimedTextToPlayer(GetLocalPlayer(),0,0,0.1," ")
 endif
  endif
endfunction

function AddEffectToTarget takes nothing returns nothing
  if TRSMod==1 and not TRSInsert then
   if InvCurSide=="left" then
    //call UnitAddAbility(TRSUnit,udg_CustomAttachEffectsLeft[TRSMin])
    //call UnitMakeAbilityPermanent(TRSUnit,true,udg_CustomAttachEffectsRight[TRSMin])
   elseif InvCurSide=="right" then
    //call UnitAddAbility(TRSUnit,udg_CustomAttachEffectsRight[TRSMin])
    //call UnitMakeAbilityPermanent(TRSUnit,true,udg_CustomAttachEffectsRight[TRSMin])
   endif
  elseif  TRSMod==2 and not TRSInsert then
  if TRSMin<1 then
   if InvCurSide=="left" then
    //call UnitRemoveAbility(TRSUnit,udg_CustomAttachEffectsLeft[TRSMinS])
   elseif InvCurSide=="right" then
    //call UnitRemoveAbility(TRSUnit,udg_CustomAttachEffectsRight[TRSMinS])
   endif
   endif
  endif
endfunction

function TRSPotionsRestoreHP takes nothing returns nothing
    local integer i=GetRandomInt(TRSMinS,TRSMaxS)
    local effect e=AddSpecialEffectTarget("Abilities\\Spells\\Human\\Heal\\HealTarget.mdl",TRSUnit,"origin")
    call SetUnitState(TRSUnit,UNIT_STATE_LIFE,GetUnitState(TRSUnit,UNIT_STATE_LIFE)+i)
    call TriggerSleepAction(1)
    call DestroyEffect(e)
    set e=null
endfunction

function TRSPerStr takes nothing returns nothing
    local integer i=GetRandomInt(TRSMinS,TRSMaxS)
 if IsUnitType(TRSUnit,UNIT_TYPE_HERO) then
    call SetHeroStr(TRSUnit,GetHeroStr(TRSUnit,false)+i,true)
    call DisplayTextToForce( GetPlayersAll(), GetHeroStr )
 endif
endfunction

function TRSPerAgi takes nothing returns nothing
    local integer i=GetRandomInt(TRSMinS,TRSMaxS)
 if IsUnitType(TRSUnit,UNIT_TYPE_HERO) then
    call SetHeroAgi(TRSUnit,GetHeroAgi(TRSUnit,false)+i,true)
    call DisplayTextToForce( GetPlayersAll(), GetHeroAgi )
 endif
endfunction

function TRSPerInt takes nothing returns nothing
    local integer i=GetRandomInt(TRSMinS,TRSMaxS)
 if IsUnitType(TRSUnit,UNIT_TYPE_HERO) then
    call SetHeroInt(TRSUnit,GetHeroInt(TRSUnit,false)+i,true)
    call DisplayTextToForce( GetPlayersAll(), GetHeroInt )
 endif
endfunction



thanks in advance
 

Renendaru

(Evol)ution is nothing without love.
Reaction score
309
What errors are you getting anyway?
 

DKigorDK

New Member
Reaction score
6
I got alot of errors

list is here

Undeclared function InitSubAbilBR
Undeclared function InitSubAbilBR
Undeclared function InitSubAbilBR
Undeclared function InitSubAbilBR
Undeclared function InitSubAbilBR
Undeclared function InitSubAbilBR
Undeclared function InitSubAbilBR
Undeclared function InitSubAbilBR
Undeclared function InitSubAbilBR
Undeclared function InitSubAbilBR
Undeclared function InitSubAbilBR
Undeclared function InitSubAbilBR
Undeclared function InitSubAbilBR
Undeclared function InitSubAbilBR

JASS:
call InitSubAbilBR(1,"^Size=16;Rarity=2.25;maxval=32768;minval=-32768;-32768='Ta00';-16384='Ta01';-8192='Ta02';-4096='Ta03';-2048='Ta04';-1024='Ta05';-512='Ta06';-256='Ta07';-128='Ta08';-64='Ta09';-32='Ta10';-16='Ta11';-8='Ta12';-4='Ta13';-2='Ta14';-1='Ta15';1='Ta16';2='Ta17';4='Ta18';8='Ta19';16='Ta20';32='Ta21';64='Ta22';128='Ta23';256='Ta24';512='Ta25';1024='Ta26';2048='Ta27';4096='Ta28';8192='Ta29';16384='Ta30';32768='Ta31';") // - dmg
    call InitSubAbilBR(2,"^Size=16;Rarity=1.85;maxval=32768;minval=-32768;-32768='Tb00';-16384='Tb01';-8192='Tb02';-4096='Tb03';-2048='Tb04';-1024='Tb05';-512='Tb06';-256='Tb07';-128='Tb08';-64='Tb09';-32='Tb10';-16='Tb11';-8='Tb12';-4='Tb13';-2='Tb14';-1='Tb15';1='Tb16';2='Tb17';4='Tb18';8='Tb19';16='Tb20';32='Tb21';64='Tb22';128='Tb23';256='Tb24';512='Tb25';1024='Tb26';2048='Tb27';4096='Tb28';8192='Tb29';16384='Tb30';32768='Tb31';") // - def
    call InitSubAbilBR(3,"^Size=16;Rarity=4.0;maxval=32768;minval=-32768;-32768='Tc00';-16384='Tc01';-8192='Tc02';-4096='Tc03';-2048='Tc04';-1024='Tc05';-512='Tc06';-256='Tc07';-128='Tc08';-64='Tc09';-32='Tc10';-16='Tc11';-8='Tc12';-4='Tc13';-2='Tc14';-1='Tc15';1='Tc16';2='Tc17';4='Tc18';8='Tc19';16='Tc20';32='Tc21';64='Tc22';128='Tc23';256='Tc24';512='Tc25';1024='Tc26';2048='Tc27';4096='Tc28';8192='Tc29';16384='Tc30';32768='Tc31';") // - HP
    call InitSubAbilBR(4,"^Size=16;Rarity=1.95;maxval=32768;minval=-32768;-32768='Td00';-16384='Td01';-8192='Td02';-4096='Td03';-2048='Td04';-1024='Td05';-512='Td06';-256='Td07';-128='Td08';-64='Td09';-32='Td10';-16='Td11';-8='Td12';-4='Td13';-2='Td14';-1='Td15';1='Td16';2='Td17';4='Td18';8='Td19';16='Td20';32='Td21';64='Td22';128='Td23';256='Td24';512='Td25';1024='Td26';2048='Td27';4096='Td28';8192='Td29';16384='Td30';32768='Td31';") // - mana
    call InitSubAbilBR(5,"^Size=16;Rarity=1.6;maxval=32768;minval=-32768;-32768='Te00';-16384='Te01';-8192='Te02';-4096='Te03';-2048='Te04';-1024='Te05';-512='Te06';-256='Te07';-128='Te08';-64='Te09';-32='Te10';-16='Te11';-8='Te12';-4='Te13';-2='Te14';-1='Te15';1='Te16';2='Te17';4='Te18';8='Te19';16='Te20';32='Te21';64='Te22';128='Te23';256='Te24';512='Te25';1024='Te26';2048='Te27';4096='Te28';8192='Te29';16384='Te30';32768='Te31';") // - str
    call InitSubAbilBR(6,"^Size=16;Rarity=1.6;maxval=32768;minval=-32768;-32768='Tf00';-16384='Tf01';-8192='Tf02';-4096='Tf03';-2048='Tf04';-1024='Tf05';-512='Tf06';-256='Tf07';-128='Tf08';-64='Tf09';-32='Tf10';-16='Tf11';-8='Tf12';-4='Tf13';-2='Tf14';-1='Tf15';1='Tf16';2='Tf17';4='Tf18';8='Tf19';16='Tf20';32='Tf21';64='Tf22';128='Tf23';256='Tf24';512='Tf25';1024='Tf26';2048='Tf27';4096='Tf28';8192='Tf29';16384='Tf30';32768='Tf31';") // - int
    call InitSubAbilBR(7,"^Size=16;Rarity=1.6;maxval=32768;minval=-32768;-32768='Tg00';-16384='Tg01';-8192='Tg02';-4096='Tg03';-2048='Tg04';-1024='Tg05';-512='Tg06';-256='Tg07';-128='Tg08';-64='Tg09';-32='Tg10';-16='Tg11';-8='Tg12';-4='Tg13';-2='Tg14';-1='Tg15';1='Tg16';2='Tg17';4='Tg18';8='Tg19';16='Tg20';32='Tg21';64='Tg22';128='Tg23';256='Tg24';512='Tg25';1024='Tg26';2048='Tg27';4096='Tg28';8192='Tg29';16384='Tg30';32768='Tg31';") // - agi
    call InitSubAbilBR(8,"^Size=16;Rarity=1.1;maxval=32768;minval=-32768;-32768='Th00';-16384='Th01';-8192='Th02';-4096='Th03';-2048='Th04';-1024='Th05';-512='Th06';-256='Th07';-128='Th08';-64='Th09';-32='Th10';-16='Th11';-8='Th12';-4='Th13';-2='Th14';-1='Th15';1='Th16';2='Th17';4='Th18';8='Th19';16='Th20';32='Th21';64='Th22';128='Th23';256='Th24';512='Th25';1024='Th26';2048='Th27';4096='Th28';8192='Th29';16384='Th30';32768='Th31';") // - lifelich
    call InitSubAbilBR(9,"^Size=16;Rarity=1.2;maxval=32768;minval=-32768;-32768='Ti00';-16384='Ti01';-8192='Ti02';-4096='Ti03';-2048='Ti04';-1024='Ti05';-512='Ti06';-256='Ti07';-128='Ti08';-64='Ti09';-32='Ti10';-16='Ti11';-8='Ti12';-4='Ti13';-2='Ti14';-1='Ti15';1='Ti16';2='Ti17';4='Ti18';8='Ti19';16='Ti20';32='Ti21';64='Ti22';128='Ti23';256='Ti24';512='Ti25';1024='Ti26';2048='Ti27';4096='Ti28';8192='Ti29';16384='Ti30';32768='Ti31';") // - ias
    call InitSubAbilBR(10,"^Size=16;Rarity=1.35;maxval=32768;minval=-32768;-32768='Tj00';-16384='Tj01';-8192='Tj02';-4096='Tj03';-2048='Tj04';-1024='Tj05';-512='Tj06';-256='Tj07';-128='Tj08';-64='Tj09';-32='Tj10';-16='Tj11';-8='Tj12';-4='Tj13';-2='Tj14';-1='Tj15';1='Tj16';2='Tj17';4='Tj18';8='Tj19';16='Tj20';32='Tj21';64='Tj22';128='Tj23';256='Tj24';512='Tj25';1024='Tj26';2048='Tj27';4096='Tj28';8192='Tj29';16384='Tj30';32768='Tj31';") // - lifereg
    call InitSubAbilBR(11,"^Size=16;Rarity=1.2;maxval=32768;minval=-32768;-32768='Tk00';-16384='Tk01';-8192='Tk02';-4096='Tk03';-2048='Tk04';-1024='Tk05';-512='Tk06';-256='Tk07';-128='Tk08';-64='Tk09';-32='Tk10';-16='Tk11';-8='Tk12';-4='Tk13';-2='Tk14';-1='Tk15';1='Tk16';2='Tk17';4='Tk18';8='Tk19';16='Tk20';32='Tk21';64='Tk22';128='Tk23';256='Tk24';512='Tk25';1024='Tk26';2048='Tk27';4096='Tk28';8192='Tk29';16384='Tk30';32768='Tk31';") // - reg mana
    call InitSubAbilBR(12,"^Size=16;Rarity=1.5;maxval=32768;minval=-32768;-32768='Tl00';-16384='Tl01';-8192='Tl02';-4096='Tl03';-2048='Tl04';-1024='Tl05';-512='Tl06';-256='Tl07';-128='Tl08';-64='Tl09';-32='Tl10';-16='Tl11';-8='Tl12';-4='Tl13';-2='Tl14';-1='Tl15';1='Tl16';2='Tl17';4='Tl18';8='Tl19';16='Tl20';32='Tl21';64='Tl22';128='Tl23';256='Tl24';512='Tl25';1024='Tl26';2048='Tl27';4096='Tl28';8192='Tl29';16384='Tl30';32768='Tl31';") // - move speed
    call InitSubAbilBR(13,"^Size=5;Rarity=1.3;maxval=16;minval=-16;-16='Tm00';-8='Tm01';-4='Tm02';-2='Tm03';-1='Tm04';1='Tm05';2='Tm06';4='Tm07';8='Tm08';16='Tm09';") // - light
    call InitSubAbilBR(14,"^Size=7;Rarity=1.12;maxval=64;minval=-64;-64='Tn00';-32='Tn01';-16='Tn02';-8='Tn03';-4='Tn04';-2='Tn05';-1='Tn06';1='Tn07';2='Tn08';4='Tn09';8='Tn10';16='Tn11';32='Tn12';64='Tn13';") // - sda


Undeclared function InitDisplayNoDispBR

JASS:
function InitDisplayNoDispBR takes string STR returns nothing
   set esx31=STR
   call ExecuteFunc("InitDisplayNoDispExecBR")
endfunction


Undeclared function InitDisplayNoReqDispBR

JASS:
function InitDisplayNoReqDispBR takes string STR returns nothing
   set esx31=STR
   call ExecuteFunc("InitDisplayNoReqDispExecBR")
endfunction


Undeclared function InitCusAbilMultBR

JASS:
function InitCusAbilMultBR takes string STR returns nothing
   set esx31=STR
   call ExecuteFunc("InitCusAbilMultExecBR")
endfunction


Undeclared function InitCusFuncsBaseBR

JASS:
function InitCusFuncsBaseBR takes string STR returns nothing
   set esx31=STR
   call ExecuteFunc("InitCusFuncsBaseExecBR")
endfunction


Missing ')'

JASS:
No Idea :S


Syntax error

JASS:
No Idea :S


it is quite a list :S
 

DKigorDK

New Member
Reaction score
6
But im already using NewGen :/

but hey i found out that when i got that long list of error, it was when i used "syntax check"

when i just save the map it says

Line 2859: Syntax Error

JASS:
set udg_GetHeroMig = (TRSUnit, GetHeroStr(TRSUnit,false)+i,ture)


any idea's what i shall check for?
 

CaptDeath

New Member
Reaction score
103
well dont bother with syntax check
lol easy fix
JASS:
set udg_GetHeroMig = (TRSUnit, GetHeroStr(TRSUnit,false)+i,ture)

should be
JASS:
set udg_GetHeroMig = (TRSUnit, GetHeroStr(TRSUnit,false)+i,true)
 

CaptDeath

New Member
Reaction score
103
well you have to give it a value right and not just arguments(that's the word i think)
like
JASS:
set udg_GetHeroMig = 10000

shouldn't you have something like?
JASS:
set udg_GetHeroMig = SomeFunc(TRSUnit, GetHeroStr(TRSUnit,false)+i,true)
 

DKigorDK

New Member
Reaction score
6
yes i might need another variable but not sure which one

maybe integer array?

i will try and see what happens ;)

im gonna post if it goes totaly wrong :p
 

DKigorDK

New Member
Reaction score
6
i think i have found out what is wrong.

tell me if im getting closer :p

normal code

JASS:
function TRSPerStr takes nothing returns nothing
    local integer i=GetRandomInt(TRSMinS,TRSMaxS)
 if IsUnitType(TRSUnit,UNIT_TYPE_HERO) then
    call SetHeroStr(TRSUnit,GetHeroStr(TRSUnit,false)+i,true)
 endif
endfunction


local integer i=GetRandomInt(TRSMinS,TRSMaxS)

the intger i=GetRandomInt(TRSMinS,TRSMaxS) is where i shall be looking to change it into my integer right?

call SetHeroStr(TRSUnit,GetHeroStr(TRSUnit,false)+i,true)

this call function only calls to see if the hero have the req str to use this item

GetHeroStr leads to

JASS:
function TRSReqCheckStr takes nothing returns boolean
if eax12>0 and eax11>0 then
    set esx30="Required Strength: "+I2S(eax11)
endif
if IsUnitType(eux10,UNIT_TYPE_HERO) then
    return GetHeroStr(eux10,true)>=eax11
endif
    return false
endfunction


hope im right at this point :/
 

DKigorDK

New Member
Reaction score
6
I have found out where i need to change, but i cant just set in variables? or can i..

JASS:
  call InitSubAbilBR(1,"^Size=16;Rarity=2.25;maxval=32768;minval=-32768;-32768='Ta00';-16384='Ta01';-8192='Ta02';-4096='Ta03';-2048='Ta04';-1024='Ta05';-512='Ta06';-256='Ta07';-128='Ta08';-64='Ta09';-32='Ta10';-16='Ta11';-8='Ta12';-4='Ta13';-2='Ta14';-1='Ta15';1='Ta16';2='Ta17';4='Ta18';8='Ta19';16='Ta20';32='Ta21';64='Ta22';128='Ta23';256='Ta24';512='Ta25';1024='Ta26';2048='Ta27';4096='Tb28';8192='Tb29';16384='Tb30';32768='Tb31';") // - dmg
    call InitSubAbilBR(2,"^Size=16;Rarity=1.85;maxval=32768;minval=-32768;-32768='Tb00';-16384='Tb01';-8192='Tb02';-4096='Tb03';-2048='Tb04';-1024='Tb05';-512='Tb06';-256='Tb07';-128='Tb08';-64='Tb09';-32='Tb10';-16='Tb11';-8='Tb12';-4='Tb13';-2='Tb14';-1='Tb15';1='Tb16';2='Tb17';4='Tb18';8='Tb19';16='Tb20';32='Tb21';64='Tb22';128='Tb23';256='Tb24';512='Tb25';1024='Tb26';2048='Tb27';4096='Tb28';8192='Tb29';16384='Tb30';32768='Tb31';") // - def
    call InitSubAbilBR(3,"^Size=16;Rarity=4.0;maxval=32768;minval=-32768;-32768='Tc00';-16384='Tc01';-8192='Tc02';-4096='Tc03';-2048='Tc04';-1024='Tc05';-512='Tc06';-256='Tc07';-128='Tc08';-64='Tc09';-32='Tc10';-16='Tc11';-8='Tc12';-4='Tc13';-2='Tc14';-1='Tc15';1='Tc16';2='Tc17';4='Tc18';8='Tc19';16='Tc20';32='Tc21';64='Tc22';128='Tc23';256='Tc24';512='Tc25';1024='Tc26';2048='Tc27';4096='Tc28';8192='Tc29';16384='Tc30';32768='Tc31';") // - HP
    call InitSubAbilBR(4,"^Size=16;Rarity=1.95;maxval=32768;minval=-32768;-32768='Td00';-16384='Td01';-8192='Td02';-4096='Td03';-2048='Td04';-1024='Td05';-512='Td06';-256='Td07';-128='Td08';-64='Td09';-32='Td10';-16='Td11';-8='Td12';-4='Td13';-2='Td14';-1='Td15';1='Td16';2='Td17';4='Td18';8='Td19';16='Td20';32='Td21';64='Td22';128='Td23';256='Td24';512='Td25';1024='Td26';2048='Td27';4096='Td28';8192='Td29';16384='Td30';32768='Td31';") // - mana
    call InitSubAbilBR(5,"^Size=16;Rarity=1.6;maxval=32768;minval=-32768;-32768='Te00';-16384='Te01';-8192='Te02';-4096='Te03';-2048='Te04';-1024='Te05';-512='Te06';-256='Te07';-128='Te08';-64='Te09';-32='Te10';-16='Te11';-8='Te12';-4='Te13';-2='Te14';-1='Te15';1='Te16';2='Te17';4='Te18';8='Te19';16='Te20';32='Te21';64='Te22';128='Te23';256='Te24';512='Te25';1024='Te26';2048='Te27';4096='Te28';8192='Te29';16384='Te30';32768='Te31';") // - str
    call InitSubAbilBR(6,"^Size=16;Rarity=1.6;maxval=32768;minval=-32768;-32768='Tf00';-16384='Tf01';-8192='Tf02';-4096='Tf03';-2048='Tf04';-1024='Tf05';-512='Tf06';-256='Tf07';-128='Tf08';-64='Tf09';-32='Tf10';-16='Tf11';-8='Tf12';-4='Tf13';-2='Tf14';-1='Tf15';1='Tf16';2='Tf17';4='Tf18';8='Tf19';16='Tf20';32='Tf21';64='Tf22';128='Tf23';256='Tf24';512='Tf25';1024='Tf26';2048='Tf27';4096='Tf28';8192='Tf29';16384='Tf30';32768='Tf31';") // - int
    call InitSubAbilBR(7,"^Size=16;Rarity=1.6;maxval=32768;minval=-32768;-32768='Tg00';-16384='Tg01';-8192='Tg02';-4096='Tg03';-2048='Tg04';-1024='Tg05';-512='Tg06';-256='Tg07';-128='Tg08';-64='Tg09';-32='Tg10';-16='Tg11';-8='Tg12';-4='Tg13';-2='Tg14';-1='Tg15';1='Tg16';2='Tg17';4='Tg18';8='Tg19';16='Tg20';32='Tg21';64='Tg22';128='Tg23';256='Tg24';512='Tg25';1024='Tg26';2048='Tg27';4096='Tg28';8192='Tg29';16384='Tg30';32768='Tg31';") // - agi
    call InitSubAbilBR(8,"^Size=16;Rarity=1.1;maxval=32768;minval=-32768;-32768='Th00';-16384='Th01';-8192='Th02';-4096='Th03';-2048='Th04';-1024='Th05';-512='Th06';-256='Th07';-128='Th08';-64='Th09';-32='Th10';-16='Th11';-8='Th12';-4='Th13';-2='Th14';-1='Th15';1='Th16';2='Th17';4='Th18';8='Th19';16='Th20';32='Th21';64='Th22';128='Th23';256='Th24';512='Th25';1024='Th26';2048='Th27';4096='Th28';8192='Th29';16384='Th30';32768='Th31';") // - lifelich
    call InitSubAbilBR(9,"^Size=16;Rarity=1.2;maxval=32768;minval=-32768;-32768='Ti00';-16384='Ti01';-8192='Ti02';-4096='Ti03';-2048='Ti04';-1024='Ti05';-512='Ti06';-256='Ti07';-128='Ti08';-64='Ti09';-32='Ti10';-16='Ti11';-8='Ti12';-4='Ti13';-2='Ti14';-1='Ti15';1='Ti16';2='Ti17';4='Ti18';8='Ti19';16='Ti20';32='Ti21';64='Ti22';128='Ti23';256='Ti24';512='Ti25';1024='Ti26';2048='Ti27';4096='Ti28';8192='Ti29';16384='Ti30';32768='Ti31';") // - ias
    call InitSubAbilBR(10,"^Size=16;Rarity=1.35;maxval=32768;minval=-32768;-32768='Tj00';-16384='Tj01';-8192='Tj02';-4096='Tj03';-2048='Tj04';-1024='Tj05';-512='Tj06';-256='Tj07';-128='Tj08';-64='Tj09';-32='Tj10';-16='Tj11';-8='Tj12';-4='Tj13';-2='Tj14';-1='Tj15';1='Tj16';2='Tj17';4='Tj18';8='Tj19';16='Tj20';32='Tj21';64='Tj22';128='Tj23';256='Tj24';512='Tj25';1024='Tj26';2048='Tj27';4096='Tj28';8192='Tj29';16384='Tj30';32768='Tj31';") // - lifereg
    call InitSubAbilBR(11,"^Size=16;Rarity=1.2;maxval=32768;minval=-32768;-32768='Tk00';-16384='Tk01';-8192='Tk02';-4096='Tk03';-2048='Tk04';-1024='Tk05';-512='Tk06';-256='Tk07';-128='Tk08';-64='Tk09';-32='Tk10';-16='Tk11';-8='Tk12';-4='Tk13';-2='Tk14';-1='Tk15';1='Tk16';2='Tk17';4='Tk18';8='Tk19';16='Tk20';32='Tk21';64='Tk22';128='Tk23';256='Tk24';512='Tk25';1024='Tk26';2048='Tk27';4096='Tk28';8192='Tk29';16384='Tk30';32768='Tk31';") // - reg mana
    call InitSubAbilBR(12,"^Size=16;Rarity=1.5;maxval=32768;minval=-32768;-32768='Tl00';-16384='Tl01';-8192='Tl02';-4096='Tl03';-2048='Tl04';-1024='Tl05';-512='Tl06';-256='Tl07';-128='Tl08';-64='Tl09';-32='Tl10';-16='Tl11';-8='Tl12';-4='Tl13';-2='Tl14';-1='Tl15';1='Tl16';2='Tl17';4='Tl18';8='Tl19';16='Tl20';32='Tl21';64='Tl22';128='Tl23';256='Tl24';512='Tl25';1024='Tl26';2048='Tl27';4096='Tl28';8192='Tl29';16384='Tl30';32768='Tl31';") // - move speed
    call InitSubAbilBR(13,"^Size=5;Rarity=1.3;maxval=16;minval=-16;-16='Tm00';-8='Tm01';-4='Tm02';-2='Tm03';-1='Tm04';1='Tm05';2='Tm06';4='Tm07';8='Tm08';16='Tm09';") // - light
    call InitSubAbilBR(14,"^Size=7;Rarity=1.12;maxval=64;minval=-64;-64='Tn00';-32='Tn01';-16='Tn02';-8='Tn03';-4='Tn04';-2='Tn05';-1='Tn06';1='Tn07';2='Tn08';4='Tn09';8='Tn10';16='Tn11';32='Tn12';64='Tn13';") // - sda
//Don't add bonus to unit abils
    call SetupBR(0x3E77,"^21=1;22=1;23=1;24=1;")


all the ta00 to ta30 and so on. is from a custom abilitydata.slk

so can i just change the ta00 out with a integer

JASS:
call InitSubAbilBR(1,"^Size=16;Rarity=2.25;maxval=32768;minval=-32768;-32768='Dmg01';-16384='Dmg01';-8192='Dmg02';-4096='Dmg03';-2048='Dmg04';-1024='Dmg05';-512='Dmg06';-256='Dmg07';-128='Dmg08';-64='Dmg09';-32='Dmg10';-16=Dmg11';-8='Dmg12';-4='Dmg13';-2='Dmg14';-1='Dmg15';1='Dmg16';2='Dmg17';4='Dmg18';8='Dmg19';16='Dmg20';32='Dmg21';64='Dmg22';128='Dmg23';256='Dmg24';512='Dmg25';1024='Dmg26';2048='Ta27';4096='Tb28';8192='Tb29';16384='Tb30';32768='Tb31';") // - dmg



The Slk file

JASS:
alias	code	comments            version	useInEditor	hero	item	sort	race	checkDep	levels	reqLevel	levelSkip	priority	targs1	Cast1	Dur1	HeroDur1	Cool1	Cost1	Area1	Rng1	DataA1	DataB1	DataC1	DataD1	DataE1	DataF1	DataG1	DataH1	DataI1	UnitID1	BuffID1	EfctID1	targs2	Cast2	Dur2	HeroDur2	Cool2	Cost2	Area2	Rng2	DataA2	DataB2	DataC2	DataD2	DataE2	DataF2	DataG2	DataH2	DataI2	UnitID2	BuffID2	EfctID2	targs3	Cast3	Dur3	HeroDur3	Cool3	Cost3	Area3	Rng3	DataA3	DataB3	DataC3	DataD3	DataE3	DataF3	DataG3	DataH3	DataI3	UnitID3	BuffID3	EfctID3	targs4	Cast4	Dur4	HeroDur4	Cool4	Cost4	Area4	Rng4	DataA4	DataB4	DataC4	DataD4	DataE4	DataF4	DataG4	DataH4	DataI4	UnitID4

Ta00	AIat	                    1           1	         0      0	item	other	0	1	0	0	0	_	0	0	0	0	0			-32768									Nrob			_																	Nrob			_																	Nrob			_																	Nrob
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    Howdy
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top