• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Please Help me make a skill

Status
Not open for further replies.
Level 2
Joined
Aug 29, 2012
Messages
17
excuse me,
can you all help me make a skill?

the skill is summon many monster (3 or more) like beastmaster (Rexxar) skill

and metamorphosis but have a chance like : 15% chance into dragon, 65% into bird and 20% into wolf

ond one thing again help me if i kill a enemy, it will summon a monster but with chance again....

hehe...

sorry if my english is bad
 
Level 12
Joined
Mar 24, 2011
Messages
1,082
It would be based on chanel (dummy skill). The summon is easy juts when the ability is cast creat X monsters at point with distance 200 in front of the caster.
For the metamorphosis part you would need 4 skills 1 to be cast,1 for dragon, 1 for bird, 1 for wolf
If random number betwen 1 and 100 is less than 15 give the caster dragon and order him to cast it. You get the concept for the reest. At the end of the trigger remove the 3 abilities.
 

Kusanagi Kuro

Hosted Project: SC
Level 10
Joined
Mar 11, 2012
Messages
708
CAn still understand though. :D
For ur 1st skill, if u want to create 2 units, base it on Carrion Beetles. If u want to create more, u must use trigger. U have to create 2 or more spell that base on Carrion Beetles (each spell can only summon 2 type of unit), one of them is ur base spell that u give to the heroes, the other are unit spell. Create dummy units to cast the dummy summonning spell for u.
For ur 2nd skill, u need to create 4 spells. 3 of them are based on metamorphosis and they are unit spell (remember this). When the hero cast the base spell (the 4th spell), u will set the random number variable between 0 to 100, if the random number is between 0 to 15, add the drgon metamorphosis to the casting hero and order the casting hero to cast it (also remove the base spell), if the random number is between 15.01 to 80, add the bird metamorphosis to the casting hero and order the casting hero to cast it (also remove the base spell), if the number is between 80.01 to 100, add the wolf metamorphosis to the casting hero and order the casting hero to cast it (also remove the base spell). After casting the metamorphosis ability, remove it and add the base spell back to the casting hero.

Sorry for a long reply. I will make for u a test map as soon as I can.
 
Level 12
Joined
Mar 24, 2011
Messages
1,082
Oh that were 2 separate spells -_- silly me.
Edit// Triggers if you got too confused.
  • Metamorphosis
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Metamorphosisi wuhahaha
    • Actions
      • Set CASTER = (Triggering unit)
      • Set Temp_Integer = (Random integer number between 1 and 100)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Temp_Integer Less than 16
        • Then - Actions
          • Unit - Add Dragon to CASTER
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • Temp_Integer Greater than 79
            • Then - Actions
              • Unit - Add Wolf to CASTER
            • Else - Actions
              • Unit - Add Bird to CASTER
      • Unit - Order CASTER to Night Elf Demon Hunter - Metamorphosis
      • Unit - Remove Wolf from CASTER
      • Unit - Remove Bird from CASTER
      • Unit - Remove Dragon from CASTER
  • Summon
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Summon
    • Actions
      • Set CASTER = (Triggering unit)
      • Set Temp_Point = (Position of CASTER)
      • Set Temp_Point = (Temp_Point offset by 250.00 towards (Facing of CASTER) degrees)
      • Unit - Create 3 MONSTER EAT BRAINZ for (Owner of CASTER) at Temp_Point facing Default building facing degrees
      • Custom script: call RemoveLocation(udg_Temp_Point)
 
Level 2
Joined
Aug 29, 2012
Messages
17
Oh that were 2 separate spells -_- silly me.
Edit// Triggers if you got too confused.
  • Metamorphosis
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Metamorphosisi wuhahaha
    • Actions
      • Set CASTER = (Triggering unit)
      • Set Temp_Integer = (Random integer number between 1 and 100)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Temp_Integer Less than 16
        • Then - Actions
          • Unit - Add Dragon to CASTER
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • Temp_Integer Greater than 79
            • Then - Actions
              • Unit - Add Wolf to CASTER
            • Else - Actions
              • Unit - Add Bird to CASTER
      • Unit - Order CASTER to Night Elf Demon Hunter - Metamorphosis
      • Unit - Remove Wolf from CASTER
      • Unit - Remove Bird from CASTER
      • Unit - Remove Dragon from CASTER
  • Summon
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Summon
    • Actions
      • Set CASTER = (Triggering unit)
      • Set Temp_Point = (Position of CASTER)
      • Set Temp_Point = (Temp_Point offset by 250.00 towards (Facing of CASTER) degrees)
      • Unit - Create 3 MONSTER EAT BRAINZ for (Owner of CASTER) at Temp_Point facing Default building facing degrees
      • Custom script: call RemoveLocation(udg_Temp_Point)
What is monster Eat Brainz???
skill or the summon
 
Level 2
Joined
Aug 29, 2012
Messages
17
CAn still understand though. :D
For ur 1st skill, if u want to create 2 units, base it on Carrion Beetles. If u want to create more, u must use trigger. U have to create 2 or more spell that base on Carrion Beetles (each spell can only summon 2 type of unit), one of them is ur base spell that u give to the heroes, the other are unit spell. Create dummy units to cast the dummy summonning spell for u.
For ur 2nd skill, u need to create 4 spells. 3 of them are based on metamorphosis and they are unit spell (remember this). When the hero cast the base spell (the 4th spell), u will set the random number variable between 0 to 100, if the random number is between 0 to 15, add the drgon metamorphosis to the casting hero and order the casting hero to cast it (also remove the base spell), if the random number is between 15.01 to 80, add the bird metamorphosis to the casting hero and order the casting hero to cast it (also remove the base spell), if the number is between 80.01 to 100, add the wolf metamorphosis to the casting hero and order the casting hero to cast it (also remove the base spell). After casting the metamorphosis ability, remove it and add the base spell back to the casting hero.

Sorry for a long reply. I will make for u a test map as soon as I can.

:goblin_jawdrop::goblin_jawdrop:

i'm so Dizzy...
but i will try
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
Oh that were 2 separate spells -_- silly me.
Edit// Triggers if you got too confused.

  • Summon
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Summon
    • Actions
      • Set CASTER = (Triggering unit)
      • Set Temp_Point = (Position of CASTER)
      • Set Temp_Point = (Temp_Point offset by 250.00 towards (Facing of CASTER) degrees)
      • Unit - Create 3 MONSTER EAT BRAINZ for (Owner of CASTER) at Temp_Point facing Default building facing degrees
      • Custom script: call RemoveLocation(udg_Temp_Point)

You have leak of point.
You should create two (2) point variable instead of one
  • Summon
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Summon
    • Actions
      • Set CASTER = (Triggering unit)
      • Set TempLoc = (Position of CASTER)
      • Set TempLoc2 = (TempLoc offset by 250.00 towards (Facing of CASTER) degrees)
      • Unit - Create 3 MONSTER EAT BRAINZ for (Owner of CASTER) at TempLoc2 facing Default building facing degrees
      • Custom script: call RemoveLocation(udg_TempLoc)
      • Custom script: call RemoveLocation(udg_TempLoc2)
Currently, you just remove the location by the offset function, but you did not remove the location of the base location.
 
Level 12
Joined
Mar 24, 2011
Messages
1,082
Doesn't it move the point to another location... I mean... I got 1 point and just move it around... and then destroy the single point I have... I some how cant see how it would leak when I have 1 point not 2 . . . *confused* *rly rly confused*

What is monster Eat Brainz???
Erm... had too much plants vs zombies...

With the trigger I posted any instant cast,non target skill would work just fine.
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
Do you even read the link I gave to you ????????????????????????

Each time you set the location, IT WILL COUNT AS MEMORY

THIS LEAKS 4 LOCATION (EVEN THEY'RE AT THE SAME LOCATION)
  • Actions
    • Set TempLoc = (Center of (Playable map area))
    • Set TempLoc = (Center of (Playable map area))
    • Set TempLoc = (Center of (Playable map area))
    • Set TempLoc = (Center of (Playable map area))
    • Set TempLoc = (Center of (Playable map area))
    • Custom script: call RemoveLocation(udg_TempLoc)
You only destroyed the last set location, another 4 location leaks.

And as I said, BaseLocation is ONE POINT, and OffsetLocation is ANOTHER point - which means you need 2 point variable to represent them for both of them to be cleaned.

Currently you only destroy OffsetLocation while BaseLocation remains leaked.
 
Status
Not open for further replies.
Top