dhanielst wrote:
function SbrDefBinding takes player sbrp1 returns nothing
local string sbrs1=I2S(GetPlayerId(sbrp1))
local integer sbri1=200+GetPlayerId(sbrp1)
local integer sbri2=0
call StoreString(SabRaC,sbrs1,"ud","}/aa:AIsx=20}/pa=20}/ph=20}/pm=20")
call StoreString(SabRaC,sbrs1,"esc","}/go:a=100`all")
call StoreString(SabRaC,sbrs1,"ptrl","}/gr:a=105`all}xr:a=110`all")
call StoreString(SabRaC,sbrs1,"move","}/ic@1=10")
call StoreString(SabRaC,sbrs1,"hold","}/ic@1=3")
loop
call EnableTrigger(LoadTriggerHandle(sbrht,sbri1,sbri2))
set sbri2=sbri2+1
exitwhen sbri2==9
endloop
endfunction
It's work but u will don't see it cause number of command is too small.
/aa:AIsx=20 : add AIsx ability
/pa=20 : increase attack damage for selected unit in 20% (the damage will not shown)
/ph=20 : reduce damage received for selected unit in 20%
/pm=20 : reduce mana used for casting a spell for selected unit in 20%
/go:a=100`all : give 100 gold for all
/gr:a=105`all : set gold rate to 105 (default is 100)
/xr:a=110`all : set xp rate too 110 (default is 100)
/ic@1=10 : change item in slot 1 to 10 ( ex: u have 1 illusion item in slot 1 , after u use this command u have 10 illusion items in slot 1 )