Spellpack Rikimaru and Mogul Khan

popo80000

New Member
Reaction score
20
[V.3 (Rikimaru and Mogul Khan)]

-Includes all abilities of Rikimaru and Mogul Khan from DotA.
-Leakless,GUI, MUI and Lagless
-Import Difficulty : EASY

Abilities:
Rikimaru
Smoke screen
SmokeScreen.jpg

Blink Strike
BlinkStrike.jpg

Backstab
Backstab.jpg

Permanent Invisibility
PermanentInvisibility.jpg


Mogul Khan
Berserker's Call
BerserkersCall.jpg

Trigger:
  • Berserker Call
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Berserker's Call
    • Actions
      • Set BerserkerCall_Counts = (BerserkerCall_Counts + 1)
      • Set BerserkerCall_Caster[BerserkerCall_Counts] = (Casting unit)
      • Set BerserkerCall_CasterLoc = (Position of BerserkerCall_Caster[BerserkerCall_Counts])
      • Set BerserkerCall_UnitGroup = (Units within 300.00 of BerserkerCall_CasterLoc matching ((((Matching unit) is A structure) Not equal to True) and ((((Matching unit) is alive) Equal to True) and (((Matching unit) belongs to an enemy of (Owner of BerserkerCall_Caster[BerserkerCall_Counts]))
      • Unit - Create 1 Dummy for (Owner of BerserkerCall_Caster[BerserkerCall_Counts]) at BerserkerCall_CasterLoc facing Default building facing degrees
      • Unit - Set the custom value of (Last created unit) to BerserkerCall_Counts
      • Unit Group - Add (Last created unit) to BerserkerCall_DummyGroup
      • Unit Group - Pick every unit in BerserkerCall_UnitGroup and do (Actions)
        • Loop - Actions
          • Unit - Create 1 Dummy for (Owner of BerserkerCall_Caster[BerserkerCall_Counts]) at BerserkerCall_CasterLoc facing Default building facing degrees
          • Unit - Add Berserker's Call Target to (Last created unit)
          • Unit - Order (Last created unit) to Neutral Pandaren Brewmaster - Drunken Haze (Picked unit)
          • Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
          • Unit Group - Add (Picked unit) to BerserkerCall_AttackGroup[BerserkerCall_Counts]
      • Custom script: call RemoveLocation (udg_BerserkerCall_CasterLoc)
      • Custom script: call DestroyGroup (udg_BerserkerCall_UnitGroup)
      • Trigger - Turn on Berserker Call Effects <gen>

Trigger:
  • Berserker Call Effects
    • Events
      • Time - Every 0.10 seconds of game time
    • Conditions
    • Actions
      • Unit Group - Pick every unit in BerserkerCall_DummyGroup and do (Actions)
        • Loop - Actions
          • Set BerserkerCall_CustomValue = (Custom value of (Picked unit))
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (BerserkerCall_Caster[BerserkerCall_CustomValue] has buff Berserker's Call ) Equal to True
            • Then - Actions
              • Unit Group - Pick every unit in BerserkerCall_AttackGroup[BerserkerCall_CustomValue] and do (Actions)
                • Loop - Actions
                  • Unit - Order (Picked unit) to Attack BerserkerCall_Caster[BerserkerCall_CustomValue]
            • Else - Actions
              • Unit Group - Pick every unit in BerserkerCall_AttackGroup[BerserkerCall_CustomValue] and do (Actions)
                • Loop - Actions
                  • Unit - Remove Berserker's Call Target buff from (Picked unit)
                  • Special Effect - Create a special effect attached to the chest of (Picked unit) using Abilities\Weapons\AncientProtectorMissile\AncientProtectorMissile.mdl
                  • Special Effect - Destroy (Last created special effect)
                  • Unit - Order (Picked unit) to Stop
              • Unit Group - Remove (Picked unit) from BerserkerCall_DummyGroup
              • Unit Group - Remove all units from BerserkerCall_AttackGroup[BerserkerCall_CustomValue]
              • Unit - Remove (Picked unit) from the game
              • Custom script: call DestroyGroup (udg_BerserkerCall_AttackGroup[udg_BerserkerCall_CustomValue])
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Number of units in BerserkerCall_DummyGroup) Equal to 0
        • Then - Actions
          • Trigger - Turn off (This trigger)
        • Else - Actions

Battle Hunger
BattleHunger.jpg

Counter Helix
CounterHelix.jpg

Culling Blade
CullingBlade.jpg

Enjoy!
Tell me if there are any leaks or problems with my spellpack. Thanks in advance!

Other spell packs made by me:p :
Priestess of the Moon - http://www.thehelper.net/forums/showthread.php?p=1103833#post1103833
Spiritbreaker - http://www.thehelper.net/forums/showthread.php?p=1104452#post1104452
Storm Spirit - http://www.thehelper.net/forums/showthread.php?p=1107671#post1107671
Tidehunter - http://www.thehelper.net/forums/showthread.php?p=1125148#post1125148

Custom spell packs made by me:
Version 1 [Kamadon] - http://www.thehelper.net/forums/showthread.php?p=1124121#post1124121
 

Attachments

  • DotA Spellpack 2 In 1.w3x
    48.7 KB · Views: 1,883
So, you gonna make some original spells? Or are you going to remake every DotA hero. Either way, pretty cool.
 
I'm too lazy to download the map and check; what does the codes look like?
GUI? JASS? vJASS?
Leakless? Lagless?
MUI?
Screenshots?
 
-Includes all abilities of Spiritbreaker (Barathrum) from DotA.
What is this spellpack of? Spiritbreaker or SA and Axe....
And for the love of god, stop making DotA spells. If you are going to make DotA spells, make Storm Spirit.
 
both of these heroes was already created thats MUI by emirj3
 
What is this spellpack of? Spiritbreaker or SA and Axe....

I have corrected the mistake on top.

And for the love of god, stop making DotA spells. If you are going to make DotA spells, make Storm Spirit.

ok.. :)
I will tell you when i'm done :D

I'm too lazy to download the map and check; what does the codes look like?
GUI? JASS? vJASS?
Leakless? Lagless?
MUI?
Screenshots?

All of them have been mentioned above.
Ahh.. sorry i accidentally double post.. :(

So, you gonna make some original spells? Or are you going to remake every DotA hero. Either way, pretty cool.
Just DotA Heroes. But i think i should start making custom ones after i finish making my Storm Spirit. :p

Gtam: are you refering to DotA Heroes v1b? It was written in JASS.
 
hmm.. ok i will just post the codes for the berserker's call then.
Maybe i should make some spells that are harder nexttime. :p

EDIT: The codes of Berserker's Call are up there.:)
 
It's pretty good, but fails on two counts (at least):

1. It sets the unit's custom data. Bad policy to require exclusive access to custom value in a spell like that.
2. Issueing the order every 0.1 seconds will mean the unit never actually finishes swinging their weapon in most cases, won't it? And that means that counter helix would just go crazy.

It also doesn't clean up the count, I believe. The indices aren't recycled meaning it will eventually run out, and also the ids of the handles being stored in arrays will leak, ey.

If the above 3 issues aren't resolved, I'll need to graveyard this.

PS.
The spell's code must be featured in the spell's original post.
The rule applies to all the spells in all your submissions.
 
2. Issueing the order every 0.1 seconds will mean the unit never actually finishes swinging their weapon in most cases, won't it? And that means that counter helix would just go crazy.

Every 0.5 s? Take a look in emjlr3's DotA Heroes to find out.
 
No, it should be every time the unit is issued an alternate order (anything other than "attack the caster").

Oh.. That's a good idea! :D
1. It sets the unit's custom data. Bad policy to require exclusive access to custom value in a spell like that.
But i only set the custom value of the dummy unit, not the hero one.

It also doesn't clean up the count, I believe. The indices aren't recycled meaning it will eventually run out
o.. Thanks for that. I didn't know that they would run out.

, and also the ids of the handles being stored in arrays will leak, ey.
What do you mean here? o_O
2. Issueing the order every 0.1 seconds will mean the unit never actually finishes swinging their weapon in most cases, won't it? And that means that counter helix would just go crazy.
kingkingyyk3: Nope.. It wouldn't.. Only when the player tries to prevent his hero from attacking the caster. Giving the attack order every 0.1 seconds will not cause the ordered unit to keep swinging their weapon, unless you give a different order than the previous one. Thus, it will not cause counter helix to be triggered like crazy and counter helix got cooldown. So, this would not be an issue.
 
>>the ids of the handles being stored in arrays will leak
>What do you mean here? o_O
Handle ids are not recycled when the handle is destroyed, rather they are recycled when the handle is destroyed and no references remain to it. Since you permenantly store references in a global array with an index that is never recycled, the references will never be overwritten and bam, you have handle id leaks.

Naturally GUI doesn't usually care. It's not a big problem.
Every time you get all units of a player, for example, it creates an unresolvable handle id leak (how tragic). :p
 
>>the ids of the handles being stored in arrays will leak
>What do you mean here? o_O
Handle ids are not recycled when the handle is destroyed, rather they are recycled when the handle is destroyed and no references remain to it. Since you permenantly store references in a global array with an index that is never recycled, the references will never be overwritten and bam, you have handle id leaks.

Naturally GUI doesn't usually care. It's not a big problem.
Every time you get all units of a player, for example, it creates an unresolvable handle id leak (how tragic). :p

o..ok thanks for that! :D
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Varine Varine:
    Or even third party. Like if you don't have an original one in a functional condition, you cannot play this game properly. Like yeah the keyboard mods exist, but I think those are BARELY functional
  • Varine Varine:
    And since almost all of my programming experience is with defunct shit now, I figure my best place is helping preserve legacy stuff. Which I don't know how to do necessarily, but I need some kind of a hobby and figuring out how older things worked is the only shit that really interests me. Well soldering and restoration is fun too, but no one is bringing me new stuff to fix and restore, so it's mostly old shit, and I LOVE OG Xbox so much. I want to make sure it can function as long as possible, until someone can effectively emulate it at least. I have like 15 I was going to fix over the winter and didn't get to.
    +1
  • Varine Varine:
    I also have a couple OG gameboys, but idk if I can do that without like, manufacturing new parts that no one makes anymore and I can't do that right now
  • tom_mai78101 tom_mai78101:
    Currently in the middle of getting the probate process going. We're doing the informal probate process.
    +3
  • Varine Varine:
    A probate is usually done with a will, yes? If so I am sorry for your loss
    +1
  • The Helper The Helper:
    Yeah Tom, me too sorry for your loss buddy my mom told me she finds out her olds friend died from Google searching them. She had not talked to one of her old friends in a year and found out she died from Google. Also another one in the same session. RIP all of them my sincere condolences Tom
    +1
  • Varine Varine:
    We have some elderly guests that regularly come hang out at the bar at the end of the night, and every once in a while we don't see someone for a few weeks and then someone shows up with their obituary.
  • Varine Varine:
    We usually let them do their memorials there in the morning if they want to and I'll make them some snacks and drinks. There was one guy named Tom that came in like every night and would sit by himself and get a bunch of soup and a glass of wine. idk why but he LOVED our fucking soup, like he would order a fucking quart of it at a time and would always get so sad when we stop doing it for the summer.
    +1
  • Varine Varine:
    But he also loved our calamari, which is another thing I hate but it sells super well so I can't change it. There was one day he came in and was asking me how to make it, because he tried to at home once in the off season when we stop running it and he really wanted it lol
  • Varine Varine:
    I think he's one of the only people I've made recipes for for free because he really wanted a broccoli cheddar, and it was like dude I don't have a recipe, it's just whatever I have, but here, this is how you do it
  • Varine Varine:
    I don't think he ever figured out how to do the calamari in a pan though, like idk how to do that either. He was afraid of the at home deep fryers though and it's like yeah, that's fair, I am too
  • Varine Varine:
    He was just such a sweet old man, we had two servers pregnant and they held a baby shower together, he was soooooo fucking excited to get to see a baby. Unfortunately he died a month or so before they were born
  • The Helper The Helper:
    So I decided to Google some people that I had not seen or heard from in a while and sure enough one of my old best friends, we had a falling out years ago but whatever, find out he died of Pancreatic Cancer in January. I have also lost a few of my closer acquaintances from growing up the last year. Getting old - people die - I kinda thought it was going to be this way a few years ago....
    +2
  • The Helper The Helper:
    Forum running super slow again
  • Ghan Ghan:
    Not really clear from the stats as to what is causing the slowness.
  • Ghan Ghan:
    We get a lot of guest traffic so it may just be the load is getting too high and not from any particular source.
  • Ghan Ghan:
    Looks like the server is maxed out on CPU.
  • Ghan Ghan:
    Oh it looks like a lot of the traffic is Silkroad Forums. That domain isn't protected by Cloudflare.
  • Ghan Ghan:
    But the old Silkroad site is still on its own server. I just had a test site set up on this server for it.
  • Ghan Ghan:
    I just disabled that test site. Let's see if that helps the load.
  • Ghan Ghan:
    Looks much better already.
  • The Helper The Helper:
    I had actually forgot about the Silkroad site. I had asked
  • The Helper The Helper:
    SD Ryoko about it and he said the couple of people left on there really like it, that was a few years ago, maybe I should check back
  • jonas jonas:
    I guess when you're getting old, and the last day of soup season draws near, you start wondering
  • jonas jonas:
    will I make it to the start of the next season? or was this the last time I'll ever have my favorite dish?

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials
      Top