1. Are you planning to upload your awesome spell or system to Hive? Please review the rules here.
    Dismiss Notice
  2. Seek unity between the elements in the 22nd Terraining Contest Poll.
    Dismiss Notice
  3. Seize the moment! The 18th Mini Mapping Contest has commenced.
    Dismiss Notice
  4. The heavens smile on the old faithful. The 16th Techtree Contest has begun.
    Dismiss Notice
  5. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

Demonic Curse ver0.1

Submitted by unk
This bundle is marked as substandard. It may contain bugs, not perform optimally or otherwise be in violation of the submission rules.
The witch is cursing a mortal whit Demonic Curse .Demonic Curse bring alive for 6 sec the big deamon of the hell that drain's the mortal soul.
Contents

Just another Warcraft III map (Map)

Reviews
Moderator
00:32, 1st Dec 2009 TriggerHappy: You are recycling your instances wrong. The spell is far to simple. You pause the caster. Rejected, permanently.
  1. 00:32, 1st Dec 2009
    TriggerHappy:

    You are recycling your instances wrong.

    The spell is far to simple.

    You pause the caster.

    Rejected, permanently.
     
  2. unk

    unk

    Joined:
    Mar 19, 2009
    Messages:
    25
    Resources:
    0
    Resources:
    0
    • Demonic Curse
      • Events
        • Unit - A unit Starts the effect of an ability
      • Conditions
        • (Ability being cast) Equal to Demonic Curse
      • Actions
        • Set Target1 = (Position of (Target unit of ability being cast))
        • Set Target2 = (Target1 offset by 400.00 towards ((Facing of (Target unit of ability being cast)) - 180.00) degrees)
        • Set Casting_count = (Casting_count + 1)
        • Set Casting_time[Casting_count] = 0
        • Set Casting_unit[Casting_count] = (Triggering unit)
        • Unit Group - Add Casting_unit[Casting_count] to Stun_casters
        • Unit - Add stun sfx (Neutral) to Casting_unit[Casting_count]
        • Unit - Create 1 Dummy unit for (Owner of (Casting unit)) at Target2 facing (Angle from Target2 to Target1) degrees
        • Unit - Add a 5.50 second Generic expiration timer to (Last created unit)
        • Unit - Set level of Life Drain (Neutral Hostile) for (Last created unit) to (Level of Demonic Curse for (Casting unit))
        • Unit - Order (Last created unit) to Neutral Dark Ranger - Life Drain (Target unit of ability being cast)
        • Custom script: call RemoveLocation( udg_Target1 )
        • Custom script: call RemoveLocation( udg_Target2 )




    • Channel Loop
      • Events
        • Time - Every 0.03 seconds of game time
      • Conditions
      • Actions
        • For each (Integer A) from 1 to Casting_count, do (Actions)
          • Loop - Actions
            • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              • If - Conditions
                • Casting_time[(Integer A)] Equal to 0
              • Then - Actions
                • Unit - Pause Casting_unit[(Integer A)]
              • Else - Actions
            • Set Casting_time[(Integer A)] = (Casting_time[(Integer A)] + 1)
            • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              • If - Conditions
                • Casting_time[(Integer A)] Equal to 180
              • Then - Actions
                • Unit - Unpause Casting_unit[(Integer A)]
                • Set Casting_time[(Integer A)] = 0
                • Unit - Remove stun sfx (Neutral) from Casting_unit[(Integer A)]
                • Unit Group - Remove Casting_unit[(Integer A)] from Stun_casters
                • Set Casting_count = (Casting_count - 1)
              • Else - Actions
     
    Last edited: Nov 22, 2009
  3. Catch_ya

    Catch_ya

    Joined:
    May 21, 2009
    Messages:
    981
    Resources:
    1
    Spells:
    1
    Resources:
    1
    Could you post the triggers here please ?? Anyway try take a new in-game screenshot and see if it works.
     
  4. unk

    unk

    Joined:
    Mar 19, 2009
    Messages:
    25
    Resources:
    0
    Resources:
    0
    done ^^
     
    Last edited: Nov 22, 2009
  5. Maker

    Maker

    Joined:
    Mar 6, 2006
    Messages:
    9,174
    Resources:
    17
    Maps:
    2
    Spells:
    14
    Tutorials:
    1
    Resources:
    17
    Use

    Triggers
    • Trigger goes here
    • [ /TRIGGER][ /HIDDEN]
    • Remove the spaces before those /.
    • Right click the name of your trigger in trigger editor, right pane. Select copy as text.
    • The spell is not MUI for some reason. Turn off/on channel loop when needed. Spell is run, trigger is off -> turn on. Caster removed from group, unit group empty -> turn off trigger. Change the tooltip, Stuned -> stunned.
     
  6. Thanathos

    Thanathos

    Joined:
    Aug 2, 2008
    Messages:
    202
    Resources:
    5
    Spells:
    5
    Resources:
    5
    To attatch the triggers to the mainpost just do as Maker told you. I don´t really get why it´s that hard to add a screenshot to the spell, i remember your last spell submission also lacked a screenshot.
    For those who want to see the code and a screenshot

    [​IMG]

    Demonic Curse:
    • Demonic Curse
      • Events
        • Unit - A unit Starts the effect of an ability (Bad)
      • Conditions
        • (Ability being cast) Equal to Demonic Curse
      • Actions
        • Set Target1 = (Position of (Target unit of ability being cast))
        • Set Target2 = (Target1 offset by 400.00 towards ((Facing of (Target unit of ability being cast)) - 180.00) degrees)
        • Set Casting_count = (Casting_count + 1)
        • Set Casting_time[Casting_count] = 0
        • Set Casting_unit[Casting_count] = (Triggering unit)
        • Unit Group - Add Casting_unit[Casting_count] to Stun_casters
        • Unit - Add stun sfx (Neutral) to Casting_unit[Casting_count]
        • Unit - Create 1 Dummy unit for (Owner of (Casting unit)) at Target2 facing (Angle from Target2 to Target1) degrees
        • Unit - Add a 5.50 second Generic expiration timer to (Last created unit)
        • Unit - Set level of LifeDrain (Neutral feindlich) for (Last created unit) to (Level of Demonic Curse for (Casting unit))
        • Unit - Order (Last created unit) to Neutral Dark Ranger - Life Drain (Target unit of ability being cast)
        • Custom script: call RemoveLocation( udg_Target1 )
        • Custom script: call RemoveLocation( udg_Target2 )


    Channel Loop:
    • Channel Loop
      • Events
        • Time - Every 0.03 seconds of game time
      • Conditions
      • Actions
        • For each (Integer A) from 1 to Casting_count, do (Actions)
          • Loop - Actions
            • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              • If - Conditions
                • Casting_time[(Integer A)] Equal to 0
              • Then - Actions
                • Unit - Pause Casting_unit[(Integer A)]
              • Else - Actions
            • Set Casting_time[(Integer A)] = (Casting_time[(Integer A)] + 1)
            • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              • If - Conditions
                • Casting_time[(Integer A)] Equal to 180
              • Then - Actions
                • Unit - Unpause Casting_unit[(Integer A)]
                • Set Casting_time[(Integer A)] = 0
                • Unit - Remove stun sfx (Neutral) from Casting_unit[(Integer A)]
                • Unit Group - Remove Casting_unit[(Integer A)] from Stun_casters
                • Set Casting_count = (Casting_count - 1)
              • Else - Actions

    This spell is basicly life liferdrain, you just added some effects and paused the casting and target unit. The spell is not MUI and therefore the paused caster may never gets unpaused. This also has an useless imported model and lacks description. ATM im not in the mood to check the coding, but recommend you to take a look at the Essentials Tutorial.

    [offtopic]
    Am i the only one who knows the [noparse][/noparse] tags ? They are pretty useful if you want to show someone how to use other tags, for example [hidden="I´m an example"][/hidden]. Just a small hint for those who place some random letters inside the tags to show how they are written.
     

    Attached Files:

  7. unk

    unk

    Joined:
    Mar 19, 2009
    Messages:
    25
    Resources:
    0
    Resources:
    0
    thx thanatos for your help :) ///// rly i don't know what ya did to img but your work my not ... :( dunno why
     
  8. Arnadath

    Arnadath

    Joined:
    Oct 31, 2008
    Messages:
    227
    Resources:
    0
    Resources:
    0
    Leaks integer a whenever u use it and isnt mui
    Replace integer A with a integer of your own
     
  9. unk

    unk

    Joined:
    Mar 19, 2009
    Messages:
    25
    Resources:
    0
    Resources:
    0
    about that leak ... i let it cuz if i remove it ...the spell wount work anymore ... :|if ya didn't notice it
     
  10. Demongrip

    Demongrip

    Joined:
    Sep 8, 2009
    Messages:
    80
    Resources:
    6
    Spells:
    6
    Resources:
    6
    Better description and some documentation will be good.And the spell isn`t MUI too