Search results

  1. J

    Alternatives to Hashtables

    Is there a way to pass data between different triggers without using global variables or hashtables? I've recently switched from GUI to Jass and I want to know if there is a better way to do it than hashtables.
  2. J

    Can't Think of the Base Spell

    I can't think of a base spell that is single target and deals damage per second. I don't want to use Shadow Strike because of the green numbers and I don't want to use a spell like Doom where it will silence them. I just want a flat damage per second. I don't know why I can't think of one...
  3. J

    Spells That Lag?

    I've been searching through for a while, but I couldn't find the solution or the reason. The spells that I'm having trouble with are the extremely simple types where after the effect goes off, a dummy unit is created and is ordered to cast another spell at the same target. What's really weird...
  4. J

    Adding Maximum HP

    I'm trying to figure out a way to add maximum HP to a unit. I'm using the +Maximum HP spells that are based on items that give bonus hp. Since those abilities can only have 1 level, I used binaries to add the specific amount. For some reason, the trigger won't add the amount I tell it to. I...
  5. J

    Simple Missile Spell

    Could anyone help me (or better yet show me a sample) of creating a simple missile spell in JASS? I can do it using GUI by using a periodic timer event, but that requires 2 separate triggers (and is detrimental to learning JASS :( ). I'm looking for a method of creating one using Timers instead...
  6. J

    SC2 bugged my Screen Resolution

    My monitor usually runs at 1920 x 1200 and always has. I tried to change my res on SC2 and it, for some odd reason, set it to windowed(fullscreen). Now my screen resolution only goes up to 1600 x 1050 even though it can support 1920x1200. Anyone know how I can change it back to 1920 x 1200...
  7. J

    Native Vs. Bj

    I'm sorry if this thread doesn't belong in this section. I'm not quite familiar with this territory. :P Can anyone explain to me why natives are more preferred than Bj's? I've read quite a few guides on JASS and none of them really gave a decent explanation on why natives would be preferred...
  8. J

    Castable Critical Strike

    I'm looking to make an ability where if you use it, you deal 2/3/4/5x of the unit's damage. I tried using Frost Arrows with GDD like I would for autocast spells that add damage like DotA's Glaives of Wisdom or Impetus. I can't just use the unit's base damage + unit's main stat since it might...
  9. J

    Lava Spawn Model Bug?

    Is there any way to preserve the Lava Spawns' models after they split 3 times from the Lava Spawn ability? They turn into these little... fireballs...
  10. J

    Volcano Physical Damage?

    Does Volcano (Firelord's ultimate) deal physical damage? I set my damage to 120 and it deals about 90 damage (the affected unit had 23% reduction from armor). I personally don't mind if it's magical or physical, but I want to know if it is or not.
  11. J

    Attack Detection

    Is it possible to use GDD and detect attacks only? No spells or immolation or anything like that. Just attacks.
  12. J

    Check When Spell Animation Hits

    How do I check when a spell's animation hits. I don't want something happening to the unit when my storm bolt is still in the air. Any suggestions?
  13. J

    Targetting an Open Gate

    I'm currently using an ability to open closed gates. There's a lot of gates in my map and multiple players can open/close gates. I have no problem targetting a gate with a spell that is closed, but I can't target open gates. Any suggestions?
  14. J

    Never Disappearing Corpse

    Is there any way to make a corpse never disappear until it is used? (via triggers, raise dead, etc.) Or should I just give spawn corpse (graveyard thing) to a dummy?
  15. J

    Weird Trigger Glitch

    I have a trigger for reload that silences the unit when it is cast. But for some reason, it only silences when the game first starts before I move my unit. If I move my unit, it doesnt get silenced anymore. If I leave it at where it spawned, it will get silenced every time it reloads. Any ideas...
  16. J

    Eliminating Cast Time

    Is it possible to eliminate casting time for point or unit targetting spells like berserk does?
  17. J

    Precise Point Targetting

    What should be my base ability for abilities like arrow? I tried using channel and shockwave and those aren't really precise. If I order the unit to fire in a certain direction, it will shoot slightly off.
  18. J

    Not Run When Attacked

    Is it possible to make a unit that does not attack stay in place when attacked? Units typically tend to run away when they are attacked by something they can't attack back. If so, how?
  19. J

    Defend - Chance to deflect

    How do I set the chance to deflect over 10%? With a bit of searching, I found that 1 = 1%, not .01 = 1% and that you can make it go over 10 in the Gameplay Constants. For some reason, I can't seem to find where I could edit the values in the Gameplay Constants. Help please :)
  20. J

    Half Activating Trigger

    I tried making a stamina system like in Diablo and it works for the most part. But for some reason, it works half the time. When it's "walking" it gains the stamina properly but when it's "running" the trigger doesn't run. It doesn't run every .25 seconds as it should and it runs irregularly...
Top