help with maps activator and comand in game
sorry bad eng and thanks for help
[DA]CustomHeroSurvival V1.53
This is where fulfilled requests go. You can make a new thread here if you edit a map and want to share it, such as if you cheat a new map without anybody actually requesting it.
Moderator: Cheaters
3 posts
• Page 1 of 1
-
- Newcomer
- Posts: 1
- Joined: April 13th, 2014, 3:25 am
[DA]CustomHeroSurvival V1.53
Post by gaduo1 »
You do not have the required permissions to view the files attached to this post.
Last edited by Apple on September 1st, 2016, 1:32 am, edited 3 times in total.
Reason: user tried to fix the post according to the rules,fixed title for him
Reason: user tried to fix the post according to the rules,fixed title for him
-
- Forum Staff
- Posts: 1470
- Joined: November 3rd, 2010, 10:48 am
- Title: Best Player
- Location: Singapore
Re: help with map activator @@
Post by Apple »
make a proper request in map request section. You are not new considering you joined in 2014, warned.
refer to this topic http://forum.wc3edit.net/announces/new- ... t6476.html
refer to this topic http://forum.wc3edit.net/announces/new- ... t6476.html
-
- Forum Staff
- Posts: 1470
- Joined: November 3rd, 2010, 10:48 am
- Title: Best Player
- Location: Singapore
Re: [DA]CustomHeroSurvival V1.53
Post by Apple »
There are JJCP and FukkiCP inside. It uses haxorico's encodings..
Name activators
if sB=="Cheated.EX" or sB=="Nana.-P-.Miki" or sB=="Luna.Kun" or sB=="First-Cherry" then
if you use these names, the commands are activated.
tested with commands and worked.
The commands are customized. Which means you have to read the .j file for the commands.
one of it changes your name "-EX"
There are a few custom command which fake random a specific hero
It does seem to have arrow key activator which is encoded, for JJCP and FUKKICP, so I shall leave this open.
Considered as fulfilled.
For later versions you can check from here
http://forum.wc3edit.net/search.php?key ... mit=Search
Fake name activator: (They show you are cheating but you are not)
Then u might try to type "Exellent"
it will change your name to say you are hacking.
you can hit the arrow key activator just spam left and right key which shows u a fake message.
this might be the ban names. nothing works.
Name activators
if sB=="Cheated.EX" or sB=="Nana.-P-.Miki" or sB=="Luna.Kun" or sB=="First-Cherry" then
if you use these names, the commands are activated.
tested with commands and worked.
The commands are customized. Which means you have to read the .j file for the commands.
one of it changes your name "-EX"
There are a few custom command which fake random a specific hero
Spoiler:
if SubString(WV,0,8)=="-EX"then
call SetPlayerName(GetTriggerPlayer(),"|cffff3300E|cffffffffx|cffff6666c|cff0033cce|cff33cc33l|cffff0000l|cffffff00e|cff663300n|cff660033t|cff00ffff")
elseif SubString(WV,0,$A)=="-Bosscuoi"then
call ForceAddPlayer(V,GetTriggerPlayer())
elseif SubString(WV,0,8)=="-Illya"then
call SetPlayerName(GetTriggerPlayer(),"|cffff80ffI|cffff8effl|cffff9cffl|cffffaaffy|cffffb8ffa|cffffc7ffs|cffffd5ffv|cffffe3ffi|cfffff1ffe|rl")
elseif SubString(WV,0,8)=="-Bern"then
call SetPlayerName(GetTriggerPlayer(),"|cff3333ffBer|cff6666ffnka|cff9999ffst|cffccccffel")
elseif SubString(WV,0,8)=="-Lamb"then
call SetPlayerName(GetTriggerPlayer(),"|cffff33ccLam|cffff66d9bda|cffff99e6del|cffffccf2ta")
elseif SubString(WV,0,8)=="-The"then
call SetPlayerName(GetTriggerPlayer(),"|cff8000ffThe |cffa042ffCr|cffc082ffea|cffd7aeffto|cffe9d2ffr")
elseif SubString(WV,0,8)=="-Bea"then
call SetPlayerName(GetTriggerPlayer(),"|cffffff1aBe|cffffff4dat|cffffff80ri|cffffffb3ce")
elseif SubString(WV,0,8)=="-Cocoa"then
call SetPlayerName(GetTriggerPlayer(),"|cffff8c1aCo|cffffa64dco|cffffbf80a")
elseif SubString(WV,0,8)=="-Chino"then
call SetPlayerName(GetTriggerPlayer(),"|cffD4FFFFCh|cffDBFFFFin|cffE0FFFFo")
elseif SubString(WV,0,8)=="-Luna"then
call SetPlayerName(GetTriggerPlayer(),"|cFFFF0000[|cFF003FFFV|cFF00FFFFI|cFFFFAA00P|cFFFF0000]|cFFFF0000L|cFFFFAA00u|cFFA9FF00n|cFF00FF00a|r")
elseif SubString(WV,0,7)=="-Madoka"then
call ForGroupBJ(GetUnitsOfPlayerAndTypeId(GetTriggerPlayer(),'n00E'),function jB)
call ForceAddPlayerSimple(GetTriggerPlayer(),z)
call CreateNUnitsAtLoc(1,'H007',GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),bj_UNIT_FACING)
call DisplayTimedTextToForce(GetPlayersAll(),5.,("|cffffcc00"+(GetPlayerName(GetTriggerPlayer())+(" has randomed "+(GetHeroProperName(GetLastCreatedUnit())+"! (+25 bonus gold)")))))
call AdjustPlayerStateBJ(25,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD)
set O[GetConvertedPlayerId(GetTriggerPlayer())]=GetLastCreatedUnit()
call UnitAddItemByIdSwapped('ankh',GetLastCreatedUnit())
call UnitAddItemByIdSwapped('pghe',GetLastCreatedUnit())
call CameraSetupApplyForPlayer(true,Hx,GetTriggerPlayer(),0)
call PanCameraToTimedLocForPlayer(GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),.0)
call SelectUnitForPlayerSingle(GetLastCreatedUnit(),GetTriggerPlayer())
elseif SubString(WV,0,7)=="-Elena"then
call ForGroupBJ(GetUnitsOfPlayerAndTypeId(GetTriggerPlayer(),'n00E'),function jB)
call ForceAddPlayerSimple(GetTriggerPlayer(),z)
call CreateNUnitsAtLoc(1,'H002',GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),bj_UNIT_FACING)
call DisplayTimedTextToForce(GetPlayersAll(),5.,("|cffffcc00"+(GetPlayerName(GetTriggerPlayer())+(" has randomed "+(GetHeroProperName(GetLastCreatedUnit())+"! (+25 bonus gold)")))))
call AdjustPlayerStateBJ(25,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD)
set O[GetConvertedPlayerId(GetTriggerPlayer())]=GetLastCreatedUnit()
call UnitAddItemByIdSwapped('ankh',GetLastCreatedUnit())
call UnitAddItemByIdSwapped('pghe',GetLastCreatedUnit())
call CameraSetupApplyForPlayer(true,Hx,GetTriggerPlayer(),0)
call PanCameraToTimedLocForPlayer(GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),.0)
call SelectUnitForPlayerSingle(GetLastCreatedUnit(),GetTriggerPlayer())
elseif SubString(WV,0,7)=="-Zag"then
call ForGroupBJ(GetUnitsOfPlayerAndTypeId(GetTriggerPlayer(),'n00E'),function jB)
call ForceAddPlayerSimple(GetTriggerPlayer(),z)
call CreateNUnitsAtLoc(1,'H005',GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),bj_UNIT_FACING)
call DisplayTimedTextToForce(GetPlayersAll(),5.,("|cffffcc00"+(GetPlayerName(GetTriggerPlayer())+(" has randomed "+(GetHeroProperName(GetLastCreatedUnit())+"! (+25 bonus gold)")))))
call AdjustPlayerStateBJ(25,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD)
set O[GetConvertedPlayerId(GetTriggerPlayer())]=GetLastCreatedUnit()
call UnitAddItemByIdSwapped('ankh',GetLastCreatedUnit())
call UnitAddItemByIdSwapped('pghe',GetLastCreatedUnit())
call CameraSetupApplyForPlayer(true,Hx,GetTriggerPlayer(),0)
call PanCameraToTimedLocForPlayer(GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),.0)
call SelectUnitForPlayerSingle(GetLastCreatedUnit(),GetTriggerPlayer())
elseif SubString(WV,0,7)=="-Noire"then
call ForGroupBJ(GetUnitsOfPlayerAndTypeId(GetTriggerPlayer(),'n00E'),function jB)
call ForceAddPlayerSimple(GetTriggerPlayer(),z)
call CreateNUnitsAtLoc(1,'H00A',GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),bj_UNIT_FACING)
call DisplayTimedTextToForce(GetPlayersAll(),5.,("|cffffcc00"+(GetPlayerName(GetTriggerPlayer())+(" has randomed "+(GetHeroProperName(GetLastCreatedUnit())+"|cffffcc00! (+25 bonus gold)")))))
call AdjustPlayerStateBJ(25,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD)
set O[GetConvertedPlayerId(GetTriggerPlayer())]=GetLastCreatedUnit()
call UnitAddItemByIdSwapped('ankh',GetLastCreatedUnit())
call UnitAddItemByIdSwapped('pghe',GetLastCreatedUnit())
call CameraSetupApplyForPlayer(true,Hx,GetTriggerPlayer(),0)
call PanCameraToTimedLocForPlayer(GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),.0)
call SelectUnitForPlayerSingle(GetLastCreatedUnit(),GetTriggerPlayer())
elseif SubString(WV,0,7)=="-God"then
call ForGroupBJ(GetUnitsOfPlayerAndTypeId(GetTriggerPlayer(),'n00E'),function jB)
call ForceAddPlayerSimple(GetTriggerPlayer(),z)
call CreateNUnitsAtLoc(1,'H009',GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),bj_UNIT_FACING)
call DisplayTimedTextToForce(GetPlayersAll(),5.,("|cffffcc00"+(GetPlayerName(GetTriggerPlayer())+(" has randomed "+(GetHeroProperName(GetLastCreatedUnit())+"|cffffcc00! (+25 bonus gold)")))))
call AdjustPlayerStateBJ(25,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD)
set O[GetConvertedPlayerId(GetTriggerPlayer())]=GetLastCreatedUnit()
call UnitAddItemByIdSwapped('ankh',GetLastCreatedUnit())
call UnitAddItemByIdSwapped('pghe',GetLastCreatedUnit())
call CameraSetupApplyForPlayer(true,Hx,GetTriggerPlayer(),0)
call PanCameraToTimedLocForPlayer(GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),.0)
call SelectUnitForPlayerSingle(GetLastCreatedUnit(),GetTriggerPlayer())
elseif SubString(WV,0,7)=="-Nogard"then
call ForGroupBJ(GetUnitsOfPlayerAndTypeId(GetTriggerPlayer(),'n00E'),function jB)
call ForceAddPlayerSimple(GetTriggerPlayer(),z)
call CreateNUnitsAtLoc(1,'O003',GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),bj_UNIT_FACING)
call DisplayTimedTextToForce(GetPlayersAll(),5.,("|cffffcc00"+(GetPlayerName(GetTriggerPlayer())+(" has randomed "+(GetHeroProperName(GetLastCreatedUnit())+"! (+25 bonus gold)")))))
call AdjustPlayerStateBJ(25,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD)
set O[GetConvertedPlayerId(GetTriggerPlayer())]=GetLastCreatedUnit()
call UnitAddItemByIdSwapped('ankh',GetLastCreatedUnit())
call UnitAddItemByIdSwapped('pghe',GetLastCreatedUnit())
call CameraSetupApplyForPlayer(true,Hx,GetTriggerPlayer(),0)
call PanCameraToTimedLocForPlayer(GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),.0)
call SelectUnitForPlayerSingle(GetLastCreatedUnit(),GetTriggerPlayer())
elseif SubString(WV,0,9)=="-Gramonus"then
call ForGroupBJ(GetUnitsOfPlayerAndTypeId(GetTriggerPlayer(),'n00E'),function jB)
call ForceAddPlayerSimple(GetTriggerPlayer(),z)
call CreateNUnitsAtLoc(1,'H006',GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),bj_UNIT_FACING)
call DisplayTimedTextToForce(GetPlayersAll(),5.,("|cffffcc00"+(GetPlayerName(GetTriggerPlayer())+(" has randomed "+(GetHeroProperName(GetLastCreatedUnit())+"! (+25 bonus gold)")))))
call AdjustPlayerStateBJ(25,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD)
set O[GetConvertedPlayerId(GetTriggerPlayer())]=GetLastCreatedUnit()
call UnitAddItemByIdSwapped('ankh',GetLastCreatedUnit())
call UnitAddItemByIdSwapped('pghe',GetLastCreatedUnit())
call CameraSetupApplyForPlayer(true,Hx,GetTriggerPlayer(),0)
call PanCameraToTimedLocForPlayer(GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),.0)
call SelectUnitForPlayerSingle(GetLastCreatedUnit(),GetTriggerPlayer())
elseif SubString(WV,0,9)=="-Nepgear"then
call ForGroupBJ(GetUnitsOfPlayerAndTypeId(GetTriggerPlayer(),'n00E'),function jB)
call ForceAddPlayerSimple(GetTriggerPlayer(),z)
call CreateNUnitsAtLoc(1,'U000',GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),bj_UNIT_FACING)
call DisplayTimedTextToForce(GetPlayersAll(),5.,("|cffffcc00"+(GetPlayerName(GetTriggerPlayer())+(" has randomed "+(GetHeroProperName(GetLastCreatedUnit())+"! (+25 bonus gold)")))))
call AdjustPlayerStateBJ(25,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD)
set O[GetConvertedPlayerId(GetTriggerPlayer())]=GetLastCreatedUnit()
call UnitAddItemByIdSwapped('ankh',GetLastCreatedUnit())
call UnitAddItemByIdSwapped('pghe',GetLastCreatedUnit())
call CameraSetupApplyForPlayer(true,Hx,GetTriggerPlayer(),0)
call PanCameraToTimedLocForPlayer(GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),.0)
call SelectUnitForPlayerSingle(GetLastCreatedUnit(),GetTriggerPlayer())
elseif SubString(WV,0,9)=="-Neptune"then
call ForGroupBJ(GetUnitsOfPlayerAndTypeId(GetTriggerPlayer(),'n00E'),function jB)
call ForceAddPlayerSimple(GetTriggerPlayer(),z)
call CreateNUnitsAtLoc(1,'N00R',GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),bj_UNIT_FACING)
call DisplayTimedTextToForce(GetPlayersAll(),5.,("|cffffcc00"+(GetPlayerName(GetTriggerPlayer())+(" has randomed "+(GetHeroProperName(GetLastCreatedUnit())+"! (+25 bonus gold)")))))
call AdjustPlayerStateBJ(25,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD)
set O[GetConvertedPlayerId(GetTriggerPlayer())]=GetLastCreatedUnit()
call UnitAddItemByIdSwapped('ankh',GetLastCreatedUnit())
call UnitAddItemByIdSwapped('pghe',GetLastCreatedUnit())
call CameraSetupApplyForPlayer(true,Hx,GetTriggerPlayer(),0)
call PanCameraToTimedLocForPlayer(GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),.0)
call SelectUnitForPlayerSingle(GetLastCreatedUnit(),GetTriggerPlayer())
elseif SubString(WV,0,7)=="-Void"then
call ForGroupBJ(GetUnitsOfPlayerAndTypeId(GetTriggerPlayer(),'n00E'),function jB)
call ForceAddPlayerSimple(GetTriggerPlayer(),z)
call CreateNUnitsAtLoc(1,'N00O',GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),bj_UNIT_FACING)
call DisplayTimedTextToForce(GetPlayersAll(),5.,("|cffffcc00"+(GetPlayerName(GetTriggerPlayer())+(" has randomed "+(GetHeroProperName(GetLastCreatedUnit())+"! (+25 bonus gold)")))))
call AdjustPlayerStateBJ(25,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD)
set O[GetConvertedPlayerId(GetTriggerPlayer())]=GetLastCreatedUnit()
call UnitAddItemByIdSwapped('ankh',GetLastCreatedUnit())
call UnitAddItemByIdSwapped('pghe',GetLastCreatedUnit())
call CameraSetupApplyForPlayer(true,Hx,GetTriggerPlayer(),0)
call PanCameraToTimedLocForPlayer(GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),.0)
call SelectUnitForPlayerSingle(GetLastCreatedUnit(),GetTriggerPlayer())
elseif SubString(WV,0,7)=="-Vert"then
call ForGroupBJ(GetUnitsOfPlayerAndTypeId(GetTriggerPlayer(),'n00E'),function jB)
call ForceAddPlayerSimple(GetTriggerPlayer(),z)
call CreateNUnitsAtLoc(1,'N00L',GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),bj_UNIT_FACING)
call DisplayTimedTextToForce(GetPlayersAll(),5.,("|cffffcc00"+(GetPlayerName(GetTriggerPlayer())+(" has randomed "+(GetHeroProperName(GetLastCreatedUnit())+"! (+25 bonus gold)")))))
call AdjustPlayerStateBJ(25,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD)
set O[GetConvertedPlayerId(GetTriggerPlayer())]=GetLastCreatedUnit()
call UnitAddItemByIdSwapped('ankh',GetLastCreatedUnit())
call UnitAddItemByIdSwapped('pghe',GetLastCreatedUnit())
call CameraSetupApplyForPlayer(true,Hx,GetTriggerPlayer(),0)
call PanCameraToTimedLocForPlayer(GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),.0)
call SelectUnitForPlayerSingle(GetLastCreatedUnit(),GetTriggerPlayer())
elseif SubString(WV,0,7)=="-Blanc"then
call ForGroupBJ(GetUnitsOfPlayerAndTypeId(GetTriggerPlayer(),'n00E'),function jB)
call ForceAddPlayerSimple(GetTriggerPlayer(),z)
call CreateNUnitsAtLoc(1,'O004',GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),bj_UNIT_FACING)
call DisplayTimedTextToForce(GetPlayersAll(),5.,("|cffffcc00"+(GetPlayerName(GetTriggerPlayer())+(" has randomed "+(GetHeroProperName(GetLastCreatedUnit())+"! (+25 bonus gold)")))))
call AdjustPlayerStateBJ(25,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD)
set O[GetConvertedPlayerId(GetTriggerPlayer())]=GetLastCreatedUnit()
call UnitAddItemByIdSwapped('ankh',GetLastCreatedUnit())
call UnitAddItemByIdSwapped('pghe',GetLastCreatedUnit())
call CameraSetupApplyForPlayer(true,Hx,GetTriggerPlayer(),0)
call PanCameraToTimedLocForPlayer(GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),.0)
call SelectUnitForPlayerSingle(GetLastCreatedUnit(),GetTriggerPlayer())
elseif SubString(WV,0,9)=="-Effimera"then
call ForGroupBJ(GetUnitsOfPlayerAndTypeId(GetTriggerPlayer(),'n00E'),function jB)
call ForceAddPlayerSimple(GetTriggerPlayer(),z)
call CreateNUnitsAtLoc(1,'O001',GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),bj_UNIT_FACING)
call DisplayTimedTextToForce(GetPlayersAll(),5.,("|cffffcc00"+(GetPlayerName(GetTriggerPlayer())+(" has randomed "+(GetHeroProperName(GetLastCreatedUnit())+"! (+25 bonus gold)")))))
call AdjustPlayerStateBJ(25,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD)
set O[GetConvertedPlayerId(GetTriggerPlayer())]=GetLastCreatedUnit()
call UnitAddItemByIdSwapped('ankh',GetLastCreatedUnit())
call UnitAddItemByIdSwapped('pghe',GetLastCreatedUnit())
call CameraSetupApplyForPlayer(true,Hx,GetTriggerPlayer(),0)
call PanCameraToTimedLocForPlayer(GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),.0)
call SelectUnitForPlayerSingle(GetLastCreatedUnit(),GetTriggerPlayer())
elseif SubString(WV,0,7)=="-Slime"then
call ForGroupBJ(GetUnitsOfPlayerAndTypeId(GetTriggerPlayer(),'n00E'),function jB)
call ForceAddPlayerSimple(GetTriggerPlayer(),z)
call CreateNUnitsAtLoc(1,'O006',GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),bj_UNIT_FACING)
call DisplayTimedTextToForce(GetPlayersAll(),5.,("|cffffcc00"+(GetPlayerName(GetTriggerPlayer())+(" has randomed "+(GetHeroProperName(GetLastCreatedUnit())+"! (+25 bonus gold)")))))
call AdjustPlayerStateBJ(25,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD)
set O[GetConvertedPlayerId(GetTriggerPlayer())]=GetLastCreatedUnit()
call UnitAddItemByIdSwapped('ankh',GetLastCreatedUnit())
call UnitAddItemByIdSwapped('pghe',GetLastCreatedUnit())
call CameraSetupApplyForPlayer(true,Hx,GetTriggerPlayer(),0)
call PanCameraToTimedLocForPlayer(GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),.0)
call SelectUnitForPlayerSingle(GetLastCreatedUnit(),GetTriggerPlayer())
elseif SubString(WV,0,'d')=="-Tamamo no Mae"then
call ForGroupBJ(GetUnitsOfPlayerAndTypeId(GetTriggerPlayer(),'n00E'),function jB)
call ForceAddPlayerSimple(GetTriggerPlayer(),z)
call CreateNUnitsAtLoc(1,'N00I',GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),bj_UNIT_FACING)
call DisplayTimedTextToForce(GetPlayersAll(),5.,("|cffffcc00"+(GetPlayerName(GetTriggerPlayer())+(" has randomed "+(GetHeroProperName(GetLastCreatedUnit())+"! (+25 bonus gold)")))))
call AdjustPlayerStateBJ(25,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD)
set O[GetConvertedPlayerId(GetTriggerPlayer())]=GetLastCreatedUnit()
call UnitAddItemByIdSwapped('ankh',GetLastCreatedUnit())
call UnitAddItemByIdSwapped('pghe',GetLastCreatedUnit())
call CameraSetupApplyForPlayer(true,Hx,GetTriggerPlayer(),0)
call PanCameraToTimedLocForPlayer(GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),.0)
call SelectUnitForPlayerSingle(GetLastCreatedUnit(),GetTriggerPlayer())
elseif SubString(WV,0,8)=="-Origami"then
call ForGroupBJ(GetUnitsOfPlayerAndTypeId(GetTriggerPlayer(),'n00E'),function jB)
call ForceAddPlayerSimple(GetTriggerPlayer(),z)
call CreateNUnitsAtLoc(1,'E000',GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),bj_UNIT_FACING)
call DisplayTimedTextToForce(GetPlayersAll(),5.,("|cffffcc00"+(GetPlayerName(GetTriggerPlayer())+(" has randomed "+(GetHeroProperName(GetLastCreatedUnit())+"! (+25 bonus gold)")))))
call AdjustPlayerStateBJ(25,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD)
set O[GetConvertedPlayerId(GetTriggerPlayer())]=GetLastCreatedUnit()
call UnitAddItemByIdSwapped('ankh',GetLastCreatedUnit())
call UnitAddItemByIdSwapped('pghe',GetLastCreatedUnit())
call CameraSetupApplyForPlayer(true,Hx,GetTriggerPlayer(),0)
call PanCameraToTimedLocForPlayer(GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),.0)
call SelectUnitForPlayerSingle(GetLastCreatedUnit(),GetTriggerPlayer())
elseif SubString(WV,0,6)=="-Chika"then
call ForGroupBJ(GetUnitsOfPlayerAndTypeId(GetTriggerPlayer(),'n00E'),function jB)
call ForceAddPlayerSimple(GetTriggerPlayer(),z)
call CreateNUnitsAtLoc(1,'O008',GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),bj_UNIT_FACING)
call DisplayTimedTextToForce(GetPlayersAll(),5.,("|cffffcc00"+(GetPlayerName(GetTriggerPlayer())+(" has randomed "+(GetHeroProperName(GetLastCreatedUnit())+"! (+25 bonus gold)")))))
call AdjustPlayerStateBJ(25,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD)
set O[GetConvertedPlayerId(GetTriggerPlayer())]=GetLastCreatedUnit()
call UnitAddItemByIdSwapped('ankh',GetLastCreatedUnit())
call UnitAddItemByIdSwapped('pghe',GetLastCreatedUnit())
call CameraSetupApplyForPlayer(true,Hx,GetTriggerPlayer(),0)
call PanCameraToTimedLocForPlayer(GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),.0)
call SelectUnitForPlayerSingle(GetLastCreatedUnit(),GetTriggerPlayer())
call CreateNUnitsAtLoc(1,'e001',GetTriggerPlayer(),OffsetLocation(GetUnitLoc(O[GetConvertedPlayerId(GetTriggerPlayer())]),100.,50.),bj_UNIT_FACING)
elseif SubString(WV,0,6)=="-Rei"then
call ForGroupBJ(GetUnitsOfPlayerAndTypeId(GetTriggerPlayer(),'n00E'),function jB)
call ForceAddPlayerSimple(GetTriggerPlayer(),z)
call CreateNUnitsAtLoc(1,'O007',GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),bj_UNIT_FACING)
call DisplayTimedTextToForce(GetPlayersAll(),5.,("|cffffcc00"+(GetPlayerName(GetTriggerPlayer())+(" has randomed "+(GetHeroProperName(GetLastCreatedUnit())+"! (+25 bonus gold)")))))
call AdjustPlayerStateBJ(25,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD)
set O[GetConvertedPlayerId(GetTriggerPlayer())]=GetLastCreatedUnit()
call UnitAddItemByIdSwapped('ankh',GetLastCreatedUnit())
call UnitAddItemByIdSwapped('pghe',GetLastCreatedUnit())
call CameraSetupApplyForPlayer(true,Hx,GetTriggerPlayer(),0)
call PanCameraToTimedLocForPlayer(GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),.0)
call SelectUnitForPlayerSingle(GetLastCreatedUnit(),GetTriggerPlayer())
elseif SubString(WV,0,6)=="-MAGES"then
call ForGroupBJ(GetUnitsOfPlayerAndTypeId(GetTriggerPlayer(),'n00E'),function jB)
call ForceAddPlayerSimple(GetTriggerPlayer(),z)
call CreateNUnitsAtLoc(1,'O000',GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),bj_UNIT_FACING)
call DisplayTimedTextToForce(GetPlayersAll(),5.,("|cffffcc00"+(GetPlayerName(GetTriggerPlayer())+(" has randomed "+(GetHeroProperName(GetLastCreatedUnit())+"! (+25 bonus gold)")))))
call AdjustPlayerStateBJ(25,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD)
set O[GetConvertedPlayerId(GetTriggerPlayer())]=GetLastCreatedUnit()
call UnitAddItemByIdSwapped('ankh',GetLastCreatedUnit())
call UnitAddItemByIdSwapped('pghe',GetLastCreatedUnit())
call CameraSetupApplyForPlayer(true,Hx,GetTriggerPlayer(),0)
call PanCameraToTimedLocForPlayer(GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),.0)
call SelectUnitForPlayerSingle(GetLastCreatedUnit(),GetTriggerPlayer())
elseif SubString(WV,0,6)=="-Arc"then
call ForGroupBJ(GetUnitsOfPlayerAndTypeId(GetTriggerPlayer(),'n00E'),function jB)
call ForceAddPlayerSimple(GetTriggerPlayer(),z)
call CreateNUnitsAtLoc(1,'N00K',GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),bj_UNIT_FACING)
call DisplayTimedTextToForce(GetPlayersAll(),5.,("|cffffcc00"+(GetPlayerName(GetTriggerPlayer())+(" has randomed "+(GetHeroProperName(GetLastCreatedUnit())+"! (+25 bonus gold)")))))
call AdjustPlayerStateBJ(25,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD)
set O[GetConvertedPlayerId(GetTriggerPlayer())]=GetLastCreatedUnit()
call UnitAddItemByIdSwapped('ankh',GetLastCreatedUnit())
call UnitAddItemByIdSwapped('pghe',GetLastCreatedUnit())
call CameraSetupApplyForPlayer(true,Hx,GetTriggerPlayer(),0)
call PanCameraToTimedLocForPlayer(GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),.0)
call SelectUnitForPlayerSingle(GetLastCreatedUnit(),GetTriggerPlayer())
elseif SubString(WV,0,6)=="-AQL"then
call ForGroupBJ(GetUnitsOfPlayerAndTypeId(GetTriggerPlayer(),'n00E'),function jB)
call ForceAddPlayerSimple(GetTriggerPlayer(),z)
call CreateNUnitsAtLoc(1,'N00Q',GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),bj_UNIT_FACING)
call DisplayTimedTextToForce(GetPlayersAll(),5.,("|cffffcc00"+(GetPlayerName(GetTriggerPlayer())+(" has randomed "+(GetHeroProperName(GetLastCreatedUnit())+"! (+25 bonus gold)")))))
call AdjustPlayerStateBJ(25,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD)
set O[GetConvertedPlayerId(GetTriggerPlayer())]=GetLastCreatedUnit()
call UnitAddItemByIdSwapped('ankh',GetLastCreatedUnit())
call UnitAddItemByIdSwapped('pghe',GetLastCreatedUnit())
call CameraSetupApplyForPlayer(true,Hx,GetTriggerPlayer(),0)
call PanCameraToTimedLocForPlayer(GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),.0)
call SelectUnitForPlayerSingle(GetLastCreatedUnit(),GetTriggerPlayer())
elseif SubString(WV,0,7)=="-Plutia"then
call ForGroupBJ(GetUnitsOfPlayerAndTypeId(GetTriggerPlayer(),'n00E'),function jB)
call ForceAddPlayerSimple(GetTriggerPlayer(),z)
call CreateNUnitsAtLoc(1,'N00P',GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),bj_UNIT_FACING)
call DisplayTimedTextToForce(GetPlayersAll(),5.,("|cffffcc00"+(GetPlayerName(GetTriggerPlayer())+(" has randomed "+(GetHeroProperName(GetLastCreatedUnit())+"! (+25 bonus gold)")))))
call AdjustPlayerStateBJ(25,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD)
set O[GetConvertedPlayerId(GetTriggerPlayer())]=GetLastCreatedUnit()
call UnitAddItemByIdSwapped('ankh',GetLastCreatedUnit())
call UnitAddItemByIdSwapped('pghe',GetLastCreatedUnit())
call CameraSetupApplyForPlayer(true,Hx,GetTriggerPlayer(),0)
call PanCameraToTimedLocForPlayer(GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),.0)
call SelectUnitForPlayerSingle(GetLastCreatedUnit(),GetTriggerPlayer())
elseif SubString(WV,0,9)=="-Taloc"then
call ForGroupBJ(GetUnitsOfPlayerAndTypeId(GetTriggerPlayer(),'n00E'),function jB)
call ForceAddPlayerSimple(GetTriggerPlayer(),z)
call CreateNUnitsAtLoc(1,'O005',GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),bj_UNIT_FACING)
call DisplayTimedTextToForce(GetPlayersAll(),5.,("|cffffcc00"+(GetPlayerName(GetTriggerPlayer())+(" has randomed "+(GetHeroProperName(GetLastCreatedUnit())+"! (+25 bonus gold)")))))
call AdjustPlayerStateBJ(25,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD)
set O[GetConvertedPlayerId(GetTriggerPlayer())]=GetLastCreatedUnit()
call UnitAddItemByIdSwapped('ankh',GetLastCreatedUnit())
call UnitAddItemByIdSwapped('pghe',GetLastCreatedUnit())
call CameraSetupApplyForPlayer(true,Hx,GetTriggerPlayer(),0)
call PanCameraToTimedLocForPlayer(GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),.0)
call SelectUnitForPlayerSingle(GetLastCreatedUnit(),GetTriggerPlayer())
elseif SubString(WV,0,9)=="-Origami2"then
call ForGroupBJ(GetUnitsOfPlayerAndTypeId(GetTriggerPlayer(),'n00E'),function jB)
call ForceAddPlayerSimple(GetTriggerPlayer(),z)
call CreateNUnitsAtLoc(1,'H004',GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),bj_UNIT_FACING)
call DisplayTimedTextToForce(GetPlayersAll(),5.,("|cffffcc00"+(GetPlayerName(GetTriggerPlayer())+(" has randomed "+(GetHeroProperName(GetLastCreatedUnit())+"! (+25 bonus gold)")))))
call AdjustPlayerStateBJ(25,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD)
set O[GetConvertedPlayerId(GetTriggerPlayer())]=GetLastCreatedUnit()
call UnitAddItemByIdSwapped('ankh',GetLastCreatedUnit())
call UnitAddItemByIdSwapped('pghe',GetLastCreatedUnit())
call CameraSetupApplyForPlayer(true,Hx,GetTriggerPlayer(),0)
call PanCameraToTimedLocForPlayer(GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),.0)
call SelectUnitForPlayerSingle(GetLastCreatedUnit(),GetTriggerPlayer())
endif
endif
set WV=""
endfunction
call SetPlayerName(GetTriggerPlayer(),"|cffff3300E|cffffffffx|cffff6666c|cff0033cce|cff33cc33l|cffff0000l|cffffff00e|cff663300n|cff660033t|cff00ffff")
elseif SubString(WV,0,$A)=="-Bosscuoi"then
call ForceAddPlayer(V,GetTriggerPlayer())
elseif SubString(WV,0,8)=="-Illya"then
call SetPlayerName(GetTriggerPlayer(),"|cffff80ffI|cffff8effl|cffff9cffl|cffffaaffy|cffffb8ffa|cffffc7ffs|cffffd5ffv|cffffe3ffi|cfffff1ffe|rl")
elseif SubString(WV,0,8)=="-Bern"then
call SetPlayerName(GetTriggerPlayer(),"|cff3333ffBer|cff6666ffnka|cff9999ffst|cffccccffel")
elseif SubString(WV,0,8)=="-Lamb"then
call SetPlayerName(GetTriggerPlayer(),"|cffff33ccLam|cffff66d9bda|cffff99e6del|cffffccf2ta")
elseif SubString(WV,0,8)=="-The"then
call SetPlayerName(GetTriggerPlayer(),"|cff8000ffThe |cffa042ffCr|cffc082ffea|cffd7aeffto|cffe9d2ffr")
elseif SubString(WV,0,8)=="-Bea"then
call SetPlayerName(GetTriggerPlayer(),"|cffffff1aBe|cffffff4dat|cffffff80ri|cffffffb3ce")
elseif SubString(WV,0,8)=="-Cocoa"then
call SetPlayerName(GetTriggerPlayer(),"|cffff8c1aCo|cffffa64dco|cffffbf80a")
elseif SubString(WV,0,8)=="-Chino"then
call SetPlayerName(GetTriggerPlayer(),"|cffD4FFFFCh|cffDBFFFFin|cffE0FFFFo")
elseif SubString(WV,0,8)=="-Luna"then
call SetPlayerName(GetTriggerPlayer(),"|cFFFF0000[|cFF003FFFV|cFF00FFFFI|cFFFFAA00P|cFFFF0000]|cFFFF0000L|cFFFFAA00u|cFFA9FF00n|cFF00FF00a|r")
elseif SubString(WV,0,7)=="-Madoka"then
call ForGroupBJ(GetUnitsOfPlayerAndTypeId(GetTriggerPlayer(),'n00E'),function jB)
call ForceAddPlayerSimple(GetTriggerPlayer(),z)
call CreateNUnitsAtLoc(1,'H007',GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),bj_UNIT_FACING)
call DisplayTimedTextToForce(GetPlayersAll(),5.,("|cffffcc00"+(GetPlayerName(GetTriggerPlayer())+(" has randomed "+(GetHeroProperName(GetLastCreatedUnit())+"! (+25 bonus gold)")))))
call AdjustPlayerStateBJ(25,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD)
set O[GetConvertedPlayerId(GetTriggerPlayer())]=GetLastCreatedUnit()
call UnitAddItemByIdSwapped('ankh',GetLastCreatedUnit())
call UnitAddItemByIdSwapped('pghe',GetLastCreatedUnit())
call CameraSetupApplyForPlayer(true,Hx,GetTriggerPlayer(),0)
call PanCameraToTimedLocForPlayer(GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),.0)
call SelectUnitForPlayerSingle(GetLastCreatedUnit(),GetTriggerPlayer())
elseif SubString(WV,0,7)=="-Elena"then
call ForGroupBJ(GetUnitsOfPlayerAndTypeId(GetTriggerPlayer(),'n00E'),function jB)
call ForceAddPlayerSimple(GetTriggerPlayer(),z)
call CreateNUnitsAtLoc(1,'H002',GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),bj_UNIT_FACING)
call DisplayTimedTextToForce(GetPlayersAll(),5.,("|cffffcc00"+(GetPlayerName(GetTriggerPlayer())+(" has randomed "+(GetHeroProperName(GetLastCreatedUnit())+"! (+25 bonus gold)")))))
call AdjustPlayerStateBJ(25,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD)
set O[GetConvertedPlayerId(GetTriggerPlayer())]=GetLastCreatedUnit()
call UnitAddItemByIdSwapped('ankh',GetLastCreatedUnit())
call UnitAddItemByIdSwapped('pghe',GetLastCreatedUnit())
call CameraSetupApplyForPlayer(true,Hx,GetTriggerPlayer(),0)
call PanCameraToTimedLocForPlayer(GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),.0)
call SelectUnitForPlayerSingle(GetLastCreatedUnit(),GetTriggerPlayer())
elseif SubString(WV,0,7)=="-Zag"then
call ForGroupBJ(GetUnitsOfPlayerAndTypeId(GetTriggerPlayer(),'n00E'),function jB)
call ForceAddPlayerSimple(GetTriggerPlayer(),z)
call CreateNUnitsAtLoc(1,'H005',GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),bj_UNIT_FACING)
call DisplayTimedTextToForce(GetPlayersAll(),5.,("|cffffcc00"+(GetPlayerName(GetTriggerPlayer())+(" has randomed "+(GetHeroProperName(GetLastCreatedUnit())+"! (+25 bonus gold)")))))
call AdjustPlayerStateBJ(25,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD)
set O[GetConvertedPlayerId(GetTriggerPlayer())]=GetLastCreatedUnit()
call UnitAddItemByIdSwapped('ankh',GetLastCreatedUnit())
call UnitAddItemByIdSwapped('pghe',GetLastCreatedUnit())
call CameraSetupApplyForPlayer(true,Hx,GetTriggerPlayer(),0)
call PanCameraToTimedLocForPlayer(GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),.0)
call SelectUnitForPlayerSingle(GetLastCreatedUnit(),GetTriggerPlayer())
elseif SubString(WV,0,7)=="-Noire"then
call ForGroupBJ(GetUnitsOfPlayerAndTypeId(GetTriggerPlayer(),'n00E'),function jB)
call ForceAddPlayerSimple(GetTriggerPlayer(),z)
call CreateNUnitsAtLoc(1,'H00A',GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),bj_UNIT_FACING)
call DisplayTimedTextToForce(GetPlayersAll(),5.,("|cffffcc00"+(GetPlayerName(GetTriggerPlayer())+(" has randomed "+(GetHeroProperName(GetLastCreatedUnit())+"|cffffcc00! (+25 bonus gold)")))))
call AdjustPlayerStateBJ(25,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD)
set O[GetConvertedPlayerId(GetTriggerPlayer())]=GetLastCreatedUnit()
call UnitAddItemByIdSwapped('ankh',GetLastCreatedUnit())
call UnitAddItemByIdSwapped('pghe',GetLastCreatedUnit())
call CameraSetupApplyForPlayer(true,Hx,GetTriggerPlayer(),0)
call PanCameraToTimedLocForPlayer(GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),.0)
call SelectUnitForPlayerSingle(GetLastCreatedUnit(),GetTriggerPlayer())
elseif SubString(WV,0,7)=="-God"then
call ForGroupBJ(GetUnitsOfPlayerAndTypeId(GetTriggerPlayer(),'n00E'),function jB)
call ForceAddPlayerSimple(GetTriggerPlayer(),z)
call CreateNUnitsAtLoc(1,'H009',GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),bj_UNIT_FACING)
call DisplayTimedTextToForce(GetPlayersAll(),5.,("|cffffcc00"+(GetPlayerName(GetTriggerPlayer())+(" has randomed "+(GetHeroProperName(GetLastCreatedUnit())+"|cffffcc00! (+25 bonus gold)")))))
call AdjustPlayerStateBJ(25,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD)
set O[GetConvertedPlayerId(GetTriggerPlayer())]=GetLastCreatedUnit()
call UnitAddItemByIdSwapped('ankh',GetLastCreatedUnit())
call UnitAddItemByIdSwapped('pghe',GetLastCreatedUnit())
call CameraSetupApplyForPlayer(true,Hx,GetTriggerPlayer(),0)
call PanCameraToTimedLocForPlayer(GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),.0)
call SelectUnitForPlayerSingle(GetLastCreatedUnit(),GetTriggerPlayer())
elseif SubString(WV,0,7)=="-Nogard"then
call ForGroupBJ(GetUnitsOfPlayerAndTypeId(GetTriggerPlayer(),'n00E'),function jB)
call ForceAddPlayerSimple(GetTriggerPlayer(),z)
call CreateNUnitsAtLoc(1,'O003',GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),bj_UNIT_FACING)
call DisplayTimedTextToForce(GetPlayersAll(),5.,("|cffffcc00"+(GetPlayerName(GetTriggerPlayer())+(" has randomed "+(GetHeroProperName(GetLastCreatedUnit())+"! (+25 bonus gold)")))))
call AdjustPlayerStateBJ(25,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD)
set O[GetConvertedPlayerId(GetTriggerPlayer())]=GetLastCreatedUnit()
call UnitAddItemByIdSwapped('ankh',GetLastCreatedUnit())
call UnitAddItemByIdSwapped('pghe',GetLastCreatedUnit())
call CameraSetupApplyForPlayer(true,Hx,GetTriggerPlayer(),0)
call PanCameraToTimedLocForPlayer(GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),.0)
call SelectUnitForPlayerSingle(GetLastCreatedUnit(),GetTriggerPlayer())
elseif SubString(WV,0,9)=="-Gramonus"then
call ForGroupBJ(GetUnitsOfPlayerAndTypeId(GetTriggerPlayer(),'n00E'),function jB)
call ForceAddPlayerSimple(GetTriggerPlayer(),z)
call CreateNUnitsAtLoc(1,'H006',GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),bj_UNIT_FACING)
call DisplayTimedTextToForce(GetPlayersAll(),5.,("|cffffcc00"+(GetPlayerName(GetTriggerPlayer())+(" has randomed "+(GetHeroProperName(GetLastCreatedUnit())+"! (+25 bonus gold)")))))
call AdjustPlayerStateBJ(25,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD)
set O[GetConvertedPlayerId(GetTriggerPlayer())]=GetLastCreatedUnit()
call UnitAddItemByIdSwapped('ankh',GetLastCreatedUnit())
call UnitAddItemByIdSwapped('pghe',GetLastCreatedUnit())
call CameraSetupApplyForPlayer(true,Hx,GetTriggerPlayer(),0)
call PanCameraToTimedLocForPlayer(GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),.0)
call SelectUnitForPlayerSingle(GetLastCreatedUnit(),GetTriggerPlayer())
elseif SubString(WV,0,9)=="-Nepgear"then
call ForGroupBJ(GetUnitsOfPlayerAndTypeId(GetTriggerPlayer(),'n00E'),function jB)
call ForceAddPlayerSimple(GetTriggerPlayer(),z)
call CreateNUnitsAtLoc(1,'U000',GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),bj_UNIT_FACING)
call DisplayTimedTextToForce(GetPlayersAll(),5.,("|cffffcc00"+(GetPlayerName(GetTriggerPlayer())+(" has randomed "+(GetHeroProperName(GetLastCreatedUnit())+"! (+25 bonus gold)")))))
call AdjustPlayerStateBJ(25,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD)
set O[GetConvertedPlayerId(GetTriggerPlayer())]=GetLastCreatedUnit()
call UnitAddItemByIdSwapped('ankh',GetLastCreatedUnit())
call UnitAddItemByIdSwapped('pghe',GetLastCreatedUnit())
call CameraSetupApplyForPlayer(true,Hx,GetTriggerPlayer(),0)
call PanCameraToTimedLocForPlayer(GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),.0)
call SelectUnitForPlayerSingle(GetLastCreatedUnit(),GetTriggerPlayer())
elseif SubString(WV,0,9)=="-Neptune"then
call ForGroupBJ(GetUnitsOfPlayerAndTypeId(GetTriggerPlayer(),'n00E'),function jB)
call ForceAddPlayerSimple(GetTriggerPlayer(),z)
call CreateNUnitsAtLoc(1,'N00R',GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),bj_UNIT_FACING)
call DisplayTimedTextToForce(GetPlayersAll(),5.,("|cffffcc00"+(GetPlayerName(GetTriggerPlayer())+(" has randomed "+(GetHeroProperName(GetLastCreatedUnit())+"! (+25 bonus gold)")))))
call AdjustPlayerStateBJ(25,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD)
set O[GetConvertedPlayerId(GetTriggerPlayer())]=GetLastCreatedUnit()
call UnitAddItemByIdSwapped('ankh',GetLastCreatedUnit())
call UnitAddItemByIdSwapped('pghe',GetLastCreatedUnit())
call CameraSetupApplyForPlayer(true,Hx,GetTriggerPlayer(),0)
call PanCameraToTimedLocForPlayer(GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),.0)
call SelectUnitForPlayerSingle(GetLastCreatedUnit(),GetTriggerPlayer())
elseif SubString(WV,0,7)=="-Void"then
call ForGroupBJ(GetUnitsOfPlayerAndTypeId(GetTriggerPlayer(),'n00E'),function jB)
call ForceAddPlayerSimple(GetTriggerPlayer(),z)
call CreateNUnitsAtLoc(1,'N00O',GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),bj_UNIT_FACING)
call DisplayTimedTextToForce(GetPlayersAll(),5.,("|cffffcc00"+(GetPlayerName(GetTriggerPlayer())+(" has randomed "+(GetHeroProperName(GetLastCreatedUnit())+"! (+25 bonus gold)")))))
call AdjustPlayerStateBJ(25,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD)
set O[GetConvertedPlayerId(GetTriggerPlayer())]=GetLastCreatedUnit()
call UnitAddItemByIdSwapped('ankh',GetLastCreatedUnit())
call UnitAddItemByIdSwapped('pghe',GetLastCreatedUnit())
call CameraSetupApplyForPlayer(true,Hx,GetTriggerPlayer(),0)
call PanCameraToTimedLocForPlayer(GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),.0)
call SelectUnitForPlayerSingle(GetLastCreatedUnit(),GetTriggerPlayer())
elseif SubString(WV,0,7)=="-Vert"then
call ForGroupBJ(GetUnitsOfPlayerAndTypeId(GetTriggerPlayer(),'n00E'),function jB)
call ForceAddPlayerSimple(GetTriggerPlayer(),z)
call CreateNUnitsAtLoc(1,'N00L',GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),bj_UNIT_FACING)
call DisplayTimedTextToForce(GetPlayersAll(),5.,("|cffffcc00"+(GetPlayerName(GetTriggerPlayer())+(" has randomed "+(GetHeroProperName(GetLastCreatedUnit())+"! (+25 bonus gold)")))))
call AdjustPlayerStateBJ(25,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD)
set O[GetConvertedPlayerId(GetTriggerPlayer())]=GetLastCreatedUnit()
call UnitAddItemByIdSwapped('ankh',GetLastCreatedUnit())
call UnitAddItemByIdSwapped('pghe',GetLastCreatedUnit())
call CameraSetupApplyForPlayer(true,Hx,GetTriggerPlayer(),0)
call PanCameraToTimedLocForPlayer(GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),.0)
call SelectUnitForPlayerSingle(GetLastCreatedUnit(),GetTriggerPlayer())
elseif SubString(WV,0,7)=="-Blanc"then
call ForGroupBJ(GetUnitsOfPlayerAndTypeId(GetTriggerPlayer(),'n00E'),function jB)
call ForceAddPlayerSimple(GetTriggerPlayer(),z)
call CreateNUnitsAtLoc(1,'O004',GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),bj_UNIT_FACING)
call DisplayTimedTextToForce(GetPlayersAll(),5.,("|cffffcc00"+(GetPlayerName(GetTriggerPlayer())+(" has randomed "+(GetHeroProperName(GetLastCreatedUnit())+"! (+25 bonus gold)")))))
call AdjustPlayerStateBJ(25,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD)
set O[GetConvertedPlayerId(GetTriggerPlayer())]=GetLastCreatedUnit()
call UnitAddItemByIdSwapped('ankh',GetLastCreatedUnit())
call UnitAddItemByIdSwapped('pghe',GetLastCreatedUnit())
call CameraSetupApplyForPlayer(true,Hx,GetTriggerPlayer(),0)
call PanCameraToTimedLocForPlayer(GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),.0)
call SelectUnitForPlayerSingle(GetLastCreatedUnit(),GetTriggerPlayer())
elseif SubString(WV,0,9)=="-Effimera"then
call ForGroupBJ(GetUnitsOfPlayerAndTypeId(GetTriggerPlayer(),'n00E'),function jB)
call ForceAddPlayerSimple(GetTriggerPlayer(),z)
call CreateNUnitsAtLoc(1,'O001',GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),bj_UNIT_FACING)
call DisplayTimedTextToForce(GetPlayersAll(),5.,("|cffffcc00"+(GetPlayerName(GetTriggerPlayer())+(" has randomed "+(GetHeroProperName(GetLastCreatedUnit())+"! (+25 bonus gold)")))))
call AdjustPlayerStateBJ(25,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD)
set O[GetConvertedPlayerId(GetTriggerPlayer())]=GetLastCreatedUnit()
call UnitAddItemByIdSwapped('ankh',GetLastCreatedUnit())
call UnitAddItemByIdSwapped('pghe',GetLastCreatedUnit())
call CameraSetupApplyForPlayer(true,Hx,GetTriggerPlayer(),0)
call PanCameraToTimedLocForPlayer(GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),.0)
call SelectUnitForPlayerSingle(GetLastCreatedUnit(),GetTriggerPlayer())
elseif SubString(WV,0,7)=="-Slime"then
call ForGroupBJ(GetUnitsOfPlayerAndTypeId(GetTriggerPlayer(),'n00E'),function jB)
call ForceAddPlayerSimple(GetTriggerPlayer(),z)
call CreateNUnitsAtLoc(1,'O006',GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),bj_UNIT_FACING)
call DisplayTimedTextToForce(GetPlayersAll(),5.,("|cffffcc00"+(GetPlayerName(GetTriggerPlayer())+(" has randomed "+(GetHeroProperName(GetLastCreatedUnit())+"! (+25 bonus gold)")))))
call AdjustPlayerStateBJ(25,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD)
set O[GetConvertedPlayerId(GetTriggerPlayer())]=GetLastCreatedUnit()
call UnitAddItemByIdSwapped('ankh',GetLastCreatedUnit())
call UnitAddItemByIdSwapped('pghe',GetLastCreatedUnit())
call CameraSetupApplyForPlayer(true,Hx,GetTriggerPlayer(),0)
call PanCameraToTimedLocForPlayer(GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),.0)
call SelectUnitForPlayerSingle(GetLastCreatedUnit(),GetTriggerPlayer())
elseif SubString(WV,0,'d')=="-Tamamo no Mae"then
call ForGroupBJ(GetUnitsOfPlayerAndTypeId(GetTriggerPlayer(),'n00E'),function jB)
call ForceAddPlayerSimple(GetTriggerPlayer(),z)
call CreateNUnitsAtLoc(1,'N00I',GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),bj_UNIT_FACING)
call DisplayTimedTextToForce(GetPlayersAll(),5.,("|cffffcc00"+(GetPlayerName(GetTriggerPlayer())+(" has randomed "+(GetHeroProperName(GetLastCreatedUnit())+"! (+25 bonus gold)")))))
call AdjustPlayerStateBJ(25,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD)
set O[GetConvertedPlayerId(GetTriggerPlayer())]=GetLastCreatedUnit()
call UnitAddItemByIdSwapped('ankh',GetLastCreatedUnit())
call UnitAddItemByIdSwapped('pghe',GetLastCreatedUnit())
call CameraSetupApplyForPlayer(true,Hx,GetTriggerPlayer(),0)
call PanCameraToTimedLocForPlayer(GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),.0)
call SelectUnitForPlayerSingle(GetLastCreatedUnit(),GetTriggerPlayer())
elseif SubString(WV,0,8)=="-Origami"then
call ForGroupBJ(GetUnitsOfPlayerAndTypeId(GetTriggerPlayer(),'n00E'),function jB)
call ForceAddPlayerSimple(GetTriggerPlayer(),z)
call CreateNUnitsAtLoc(1,'E000',GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),bj_UNIT_FACING)
call DisplayTimedTextToForce(GetPlayersAll(),5.,("|cffffcc00"+(GetPlayerName(GetTriggerPlayer())+(" has randomed "+(GetHeroProperName(GetLastCreatedUnit())+"! (+25 bonus gold)")))))
call AdjustPlayerStateBJ(25,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD)
set O[GetConvertedPlayerId(GetTriggerPlayer())]=GetLastCreatedUnit()
call UnitAddItemByIdSwapped('ankh',GetLastCreatedUnit())
call UnitAddItemByIdSwapped('pghe',GetLastCreatedUnit())
call CameraSetupApplyForPlayer(true,Hx,GetTriggerPlayer(),0)
call PanCameraToTimedLocForPlayer(GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),.0)
call SelectUnitForPlayerSingle(GetLastCreatedUnit(),GetTriggerPlayer())
elseif SubString(WV,0,6)=="-Chika"then
call ForGroupBJ(GetUnitsOfPlayerAndTypeId(GetTriggerPlayer(),'n00E'),function jB)
call ForceAddPlayerSimple(GetTriggerPlayer(),z)
call CreateNUnitsAtLoc(1,'O008',GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),bj_UNIT_FACING)
call DisplayTimedTextToForce(GetPlayersAll(),5.,("|cffffcc00"+(GetPlayerName(GetTriggerPlayer())+(" has randomed "+(GetHeroProperName(GetLastCreatedUnit())+"! (+25 bonus gold)")))))
call AdjustPlayerStateBJ(25,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD)
set O[GetConvertedPlayerId(GetTriggerPlayer())]=GetLastCreatedUnit()
call UnitAddItemByIdSwapped('ankh',GetLastCreatedUnit())
call UnitAddItemByIdSwapped('pghe',GetLastCreatedUnit())
call CameraSetupApplyForPlayer(true,Hx,GetTriggerPlayer(),0)
call PanCameraToTimedLocForPlayer(GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),.0)
call SelectUnitForPlayerSingle(GetLastCreatedUnit(),GetTriggerPlayer())
call CreateNUnitsAtLoc(1,'e001',GetTriggerPlayer(),OffsetLocation(GetUnitLoc(O[GetConvertedPlayerId(GetTriggerPlayer())]),100.,50.),bj_UNIT_FACING)
elseif SubString(WV,0,6)=="-Rei"then
call ForGroupBJ(GetUnitsOfPlayerAndTypeId(GetTriggerPlayer(),'n00E'),function jB)
call ForceAddPlayerSimple(GetTriggerPlayer(),z)
call CreateNUnitsAtLoc(1,'O007',GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),bj_UNIT_FACING)
call DisplayTimedTextToForce(GetPlayersAll(),5.,("|cffffcc00"+(GetPlayerName(GetTriggerPlayer())+(" has randomed "+(GetHeroProperName(GetLastCreatedUnit())+"! (+25 bonus gold)")))))
call AdjustPlayerStateBJ(25,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD)
set O[GetConvertedPlayerId(GetTriggerPlayer())]=GetLastCreatedUnit()
call UnitAddItemByIdSwapped('ankh',GetLastCreatedUnit())
call UnitAddItemByIdSwapped('pghe',GetLastCreatedUnit())
call CameraSetupApplyForPlayer(true,Hx,GetTriggerPlayer(),0)
call PanCameraToTimedLocForPlayer(GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),.0)
call SelectUnitForPlayerSingle(GetLastCreatedUnit(),GetTriggerPlayer())
elseif SubString(WV,0,6)=="-MAGES"then
call ForGroupBJ(GetUnitsOfPlayerAndTypeId(GetTriggerPlayer(),'n00E'),function jB)
call ForceAddPlayerSimple(GetTriggerPlayer(),z)
call CreateNUnitsAtLoc(1,'O000',GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),bj_UNIT_FACING)
call DisplayTimedTextToForce(GetPlayersAll(),5.,("|cffffcc00"+(GetPlayerName(GetTriggerPlayer())+(" has randomed "+(GetHeroProperName(GetLastCreatedUnit())+"! (+25 bonus gold)")))))
call AdjustPlayerStateBJ(25,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD)
set O[GetConvertedPlayerId(GetTriggerPlayer())]=GetLastCreatedUnit()
call UnitAddItemByIdSwapped('ankh',GetLastCreatedUnit())
call UnitAddItemByIdSwapped('pghe',GetLastCreatedUnit())
call CameraSetupApplyForPlayer(true,Hx,GetTriggerPlayer(),0)
call PanCameraToTimedLocForPlayer(GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),.0)
call SelectUnitForPlayerSingle(GetLastCreatedUnit(),GetTriggerPlayer())
elseif SubString(WV,0,6)=="-Arc"then
call ForGroupBJ(GetUnitsOfPlayerAndTypeId(GetTriggerPlayer(),'n00E'),function jB)
call ForceAddPlayerSimple(GetTriggerPlayer(),z)
call CreateNUnitsAtLoc(1,'N00K',GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),bj_UNIT_FACING)
call DisplayTimedTextToForce(GetPlayersAll(),5.,("|cffffcc00"+(GetPlayerName(GetTriggerPlayer())+(" has randomed "+(GetHeroProperName(GetLastCreatedUnit())+"! (+25 bonus gold)")))))
call AdjustPlayerStateBJ(25,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD)
set O[GetConvertedPlayerId(GetTriggerPlayer())]=GetLastCreatedUnit()
call UnitAddItemByIdSwapped('ankh',GetLastCreatedUnit())
call UnitAddItemByIdSwapped('pghe',GetLastCreatedUnit())
call CameraSetupApplyForPlayer(true,Hx,GetTriggerPlayer(),0)
call PanCameraToTimedLocForPlayer(GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),.0)
call SelectUnitForPlayerSingle(GetLastCreatedUnit(),GetTriggerPlayer())
elseif SubString(WV,0,6)=="-AQL"then
call ForGroupBJ(GetUnitsOfPlayerAndTypeId(GetTriggerPlayer(),'n00E'),function jB)
call ForceAddPlayerSimple(GetTriggerPlayer(),z)
call CreateNUnitsAtLoc(1,'N00Q',GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),bj_UNIT_FACING)
call DisplayTimedTextToForce(GetPlayersAll(),5.,("|cffffcc00"+(GetPlayerName(GetTriggerPlayer())+(" has randomed "+(GetHeroProperName(GetLastCreatedUnit())+"! (+25 bonus gold)")))))
call AdjustPlayerStateBJ(25,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD)
set O[GetConvertedPlayerId(GetTriggerPlayer())]=GetLastCreatedUnit()
call UnitAddItemByIdSwapped('ankh',GetLastCreatedUnit())
call UnitAddItemByIdSwapped('pghe',GetLastCreatedUnit())
call CameraSetupApplyForPlayer(true,Hx,GetTriggerPlayer(),0)
call PanCameraToTimedLocForPlayer(GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),.0)
call SelectUnitForPlayerSingle(GetLastCreatedUnit(),GetTriggerPlayer())
elseif SubString(WV,0,7)=="-Plutia"then
call ForGroupBJ(GetUnitsOfPlayerAndTypeId(GetTriggerPlayer(),'n00E'),function jB)
call ForceAddPlayerSimple(GetTriggerPlayer(),z)
call CreateNUnitsAtLoc(1,'N00P',GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),bj_UNIT_FACING)
call DisplayTimedTextToForce(GetPlayersAll(),5.,("|cffffcc00"+(GetPlayerName(GetTriggerPlayer())+(" has randomed "+(GetHeroProperName(GetLastCreatedUnit())+"! (+25 bonus gold)")))))
call AdjustPlayerStateBJ(25,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD)
set O[GetConvertedPlayerId(GetTriggerPlayer())]=GetLastCreatedUnit()
call UnitAddItemByIdSwapped('ankh',GetLastCreatedUnit())
call UnitAddItemByIdSwapped('pghe',GetLastCreatedUnit())
call CameraSetupApplyForPlayer(true,Hx,GetTriggerPlayer(),0)
call PanCameraToTimedLocForPlayer(GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),.0)
call SelectUnitForPlayerSingle(GetLastCreatedUnit(),GetTriggerPlayer())
elseif SubString(WV,0,9)=="-Taloc"then
call ForGroupBJ(GetUnitsOfPlayerAndTypeId(GetTriggerPlayer(),'n00E'),function jB)
call ForceAddPlayerSimple(GetTriggerPlayer(),z)
call CreateNUnitsAtLoc(1,'O005',GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),bj_UNIT_FACING)
call DisplayTimedTextToForce(GetPlayersAll(),5.,("|cffffcc00"+(GetPlayerName(GetTriggerPlayer())+(" has randomed "+(GetHeroProperName(GetLastCreatedUnit())+"! (+25 bonus gold)")))))
call AdjustPlayerStateBJ(25,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD)
set O[GetConvertedPlayerId(GetTriggerPlayer())]=GetLastCreatedUnit()
call UnitAddItemByIdSwapped('ankh',GetLastCreatedUnit())
call UnitAddItemByIdSwapped('pghe',GetLastCreatedUnit())
call CameraSetupApplyForPlayer(true,Hx,GetTriggerPlayer(),0)
call PanCameraToTimedLocForPlayer(GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),.0)
call SelectUnitForPlayerSingle(GetLastCreatedUnit(),GetTriggerPlayer())
elseif SubString(WV,0,9)=="-Origami2"then
call ForGroupBJ(GetUnitsOfPlayerAndTypeId(GetTriggerPlayer(),'n00E'),function jB)
call ForceAddPlayerSimple(GetTriggerPlayer(),z)
call CreateNUnitsAtLoc(1,'H004',GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),bj_UNIT_FACING)
call DisplayTimedTextToForce(GetPlayersAll(),5.,("|cffffcc00"+(GetPlayerName(GetTriggerPlayer())+(" has randomed "+(GetHeroProperName(GetLastCreatedUnit())+"! (+25 bonus gold)")))))
call AdjustPlayerStateBJ(25,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD)
set O[GetConvertedPlayerId(GetTriggerPlayer())]=GetLastCreatedUnit()
call UnitAddItemByIdSwapped('ankh',GetLastCreatedUnit())
call UnitAddItemByIdSwapped('pghe',GetLastCreatedUnit())
call CameraSetupApplyForPlayer(true,Hx,GetTriggerPlayer(),0)
call PanCameraToTimedLocForPlayer(GetTriggerPlayer(),GetRectCenter(g[GetConvertedPlayerId(GetTriggerPlayer())]),.0)
call SelectUnitForPlayerSingle(GetLastCreatedUnit(),GetTriggerPlayer())
endif
endif
set WV=""
endfunction
Considered as fulfilled.
For later versions you can check from here
http://forum.wc3edit.net/search.php?key ... mit=Search
Fake name activator: (They show you are cheating but you are not)
Spoiler:
if GetPlayerName(Player(Ha))=="bemacnet_23" or GetPlayerName(Player(Ha))=="asonea1992" or GetPlayerName(Player(Ha))=="DMs.So.Scare" or GetPlayerName(Player(Ha))=="Star_Mr.Shadow" or GetPlayerName(Player(Ha))=="SBT1.Lady_Hime" then
Then u might try to type "Exellent"
it will change your name to say you are hacking.
you can hit the arrow key activator just spam left and right key which shows u a fake message.
this might be the ban names. nothing works.
3 posts
• Page 1 of 1