Archived copy of war3source.com, the War3Source forum (2009–2020), rebuilt from the Internet Archive by wc3mods.net. This page was captured on 2012-10-25 (original capture). Forum · All archived topics · Wiki · Bug tracker · Blog

War3:Source

Important => SuperHero:Source Temporary Board => Topic started by: gghh3322 on September 05, 2010, 07:39:56 AM



Title: Hulk
Post by: gghh3322 on September 05, 2010, 07:39:56 AM
Hulk Power stomp skill is like my Warcraft race Mountain King....So copyed it and modify
How much cool down.
Sry for my bad English


Title: Re: Scyther I make Hulk
Post by: Ownz on September 05, 2010, 07:42:38 AM
yea may need a cooldown. are you asking how to make cooldowns?


Title: Re: Scyther I make Hulk
Post by: gghh3322 on September 05, 2010, 07:46:41 AM
Yes I don't know add cooldown.
I know only in war3source..


Title: Re: Scyther I make Hulk
Post by: Ownz on September 05, 2010, 07:47:08 AM
the same thing, except pass 0 as skillnumber


Title: Re: Scyther I make Hulk
Post by: gghh3322 on September 05, 2010, 08:06:01 AM
Code:
public OnPowerCommand(client,herotarget,bool:pressed){
//PrintToChatAll("%d",herotarget);
if(SHHasHero(client,herotarget)&&herotarget==thisRaceID){
//PrintToChatAll("1");
if(pressed && War3_SkillNotInCooldown(client,thisRaceID,0,true)){
new Float:dist = 360.0;
new ClaperTeam = GetClientTeam(client);
new Float:ClaperPos[3];
GetClientAbsOrigin(client,ClaperPos);
new Float:VecPos[3];
PrintHintText(client,"Used Stomp!!");
TE_SetupBeamRingPoint(ClaperPos, 10.0, dist, BeamSprite, HaloSprite, 0, 15, 0.5, 50.0, 10.0, {255,69,0,255}, 700, 0);
TE_SendToAll();
for(new i=1;i<=MaxClients;i++)
{
if(ValidPlayer(i,true)&& (GetClientTeam(i)!=ClaperTeam || GetClientTeam(i)==ClaperTeam) )
{
GetClientAbsOrigin(i,VecPos);
if(GetVectorDistance(ClaperPos,VecPos)<=dist)
{
War3_DealDamage(i,30,client,_,"powestomp",W3DMGORIGIN_ULTIMATE,W3DMGTYPE_PHYSICAL);
if(GetClientTeam(i)!=ClaperTeam){
PrintHintText(i,"Attacked by Power Stomp -30HP , Slow");
}
War3_SetBuff(i,bStunned,thisRaceID,true);
CreateTimer(3.0,EndStunned,i);
}
}
}
War3_CooldownMGR(client,20,thisRaceID,0,_,_,_,"Power Stomp");
}
}
}
Like this??


Title: Re: Scyther I make Hulk
Post by: Ownz on September 05, 2010, 08:07:34 AM
yea

20.0 not 20


Title: Re: Scyther I make Hulk
Post by: gghh3322 on September 05, 2010, 08:32:35 AM
I add sound. and cooldown
Cooldown = 20sec
dmg = 30
effect = stun
sound = ThunderClap in warcraft3

P.s I fixed power stomp apply on my teammate!
P.s I refixed power stomp apply on my teammate!


Title: Re: Hulk
Post by: Scyther on September 05, 2010, 03:14:40 PM
imo it shouldnt do damage (then again thats 1.6 version damage might be more helpful :P) Thanks once again for a good hero :)