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-24 (original capture). Forum · All archived topics · Wiki · Bug tracker · Blog

War3:Source

War3Source Races => [Oddity]TeacherCreature's work => Topic started by: [Oddity]TeacherCreature on November 12, 2010, 10:04:04 AM



Title: [Whacky, FiveSeven Race, Finished] Grunt
Post by: [Oddity]TeacherCreature on November 12, 2010, 10:04:04 AM
This is the Orc Grunt  FIVE SEVEN RACE
(http://classic.battle.net/war3/images/orc/units/portraits/grunt.gif)
Grunts are the first and last line of the Horde's defense. These powerful fighters arm themselves with mighty battle-axes and display all of the savagery and cunning of their race. In past generations, Grunts were characterized by their depravity and brutality. But now, under the visionary leadership of Thrall, the Grunts more closely resemble their savage, yet noble ancestors.
(http://classic.battle.net/war3/images/orc/units/animations/grunt.gif)
SKills:
(http://classic.battle.net/war3/images/orc/spells/pillage.gif)PILLAGE: Steal gold upon attack
(http://classic.battle.net/war3/images/orc/upgrades/arcaniteunitarmor.gif)BESERKER HEALTH + more health
(http://classic.battle.net/war3/images/orc/upgrades/berserkerrage.gif)BESERKER STRENGTH + more damage
(http://classic.battle.net/war3/images/orc/upgrades/arcanitemeleeweapons.gif)ARCANITE WEAPONS + nearby allies get more damage

This is a basic race with not a ton of unique skills but is fun, and pilllage relies on GOLD for shopmenu if you have Money for shopmenu you could replace it with steal money but I think GOLD is the obviously more unique system and recommend it to all.


NOTES: I have been teaching one of my players to make races and we did this together, I will be sharing our work along with my own... You will want to rename this race and remove the [BETA] tag that is something I use for races during testing.


Title: Re: [Whacky, FiveSeven Race, Finished] Grunt
Post by: nvn on November 14, 2010, 12:18:11 PM
Is the gold stealing chanse should be like this 0.0, 0.6, 0.9, 0.6, 0.9, 1.0 ?:)


Title: Re: [Whacky, FiveSeven Race, Finished] Grunt
Post by: [Oddity]TeacherCreature on November 14, 2010, 09:27:19 PM
um nto sure why or what you mean/


Title: Re: [Whacky, FiveSeven Race, Finished] Grunt
Post by: nvn on November 15, 2010, 12:13:39 AM
skill chance of "PILLAGE" skills is
0 lvl = 0
1 = 60%
2 = 90%
3 = 60%
4 = 90%
5 lvl = 100%

Is it how u what it to be? Proc Chance on 2nd lvl = 4th lvl, the same way as 1 and 3.


Title: Re: [Whacky, FiveSeven Race, Finished] Grunt
Post by: xzodia on February 15, 2012, 12:11:18 PM
What be I doin wrong to get this messege?



Title: Re: [Whacky, FiveSeven Race, Finished] Grunt
Post by: Revan on February 16, 2012, 01:09:13 AM
Change this:
Code:
public OnRaceSelected(client,  newrace)
{
if(newrace != thisRaceID)
{
War3_WeaponRestrictTo(client,thisRaceID,"");
}
if(newrace == thisRaceID)
{
War3_WeaponRestrictTo(client,thisRaceID,"weapon_knife,weapon_fiveseven");
if(ValidPlayer(client,true))
{
GivePlayerItem(client,"weapon_fiveseven");
HPbonus(client);
}
}
}
to:
Code:
public OnRaceChanged(client,  newrace, oldrace)
{
if(oldrace == thisRaceID)
{
War3_WeaponRestrictTo(client,thisRaceID,"");
}
if(newrace == thisRaceID)
{
War3_WeaponRestrictTo(client,thisRaceID,"weapon_knife,weapon_fiveseven");
if(ValidPlayer(client,true))
{
GivePlayerItem(client,"weapon_fiveseven");
HPbonus(client);
}
}
}

and
War3_SetMaxHP(client,War3_GetMaxHP(client)+hpadd);
to
War3_SetBuff(client,iAdditionalMaxHealth,thisRaceID,hpadd);