• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

Help at Triggers!!!

You are good at triggers?

  • Perfect (100%)

    Votes: 2 25.0%
  • Yes (80%)

    Votes: 2 25.0%
  • Medium (60%)

    Votes: 2 25.0%
  • Not so much (40%)

    Votes: 1 12.5%
  • A bit (20%)

    Votes: 1 12.5%

  • Total voters
    8
  • Poll closed .
Status
Not open for further replies.
Level 2
Joined
Mar 2, 2016
Messages
9
Hello

I want to make with intelligence more strong the skills with triggers.
Like 1 Intelligence do 20 Bonus damage on a skill.

Someone can help me??
 
Level 3
Joined
Mar 5, 2016
Messages
25
Not impossible at my sight but its quite less detailed

for example 10 int does 468 damage 20 int does 660 damage here is triggers

  • INT trigger
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Ability being cast) Equal to Frost Nova
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Level of Frost Nova for (Casting unit)) Equal to 1
        • Then - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Intelligence of (Casting unit) (Exclude bonuses)) Less than 10
            • Then - Actions
              • Unit - Cause (Casting unit) to damage (Target unit of ability being cast), dealing 200.00 damage of attack type Spells and damage type Normal
            • Else - Actions
              • Do nothing
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Intelligence of (Casting unit) (Exclude bonuses)) Less than 20
              • (Intelligence of (Casting unit) (Exclude bonuses)) Greater than or equal to 10
            • Then - Actions
              • Unit - Cause (Casting unit) to damage (Target unit of ability being cast), dealing 400.00 damage of attack type Spells and damage type Normal
            • Else - Actions
              • Do nothing
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Intelligence of (Casting unit) (Exclude bonuses)) Less than 30
              • (Intelligence of (Casting unit) (Exclude bonuses)) Greater than or equal to 20
            • Then - Actions
              • Unit - Cause (Casting unit) to damage (Target unit of ability being cast), dealing 600.00 damage of attack type Spells and damage type Normal
            • Else - Actions
              • Do nothing
        • Else - Actions
          • Do nothing
if you add more "If int greater/lesser" you can make more detail
 
Level 14
Joined
Nov 30, 2013
Messages
926
Not impossible at my sight but its quite less detailed

for example 10 int does 468 damage 20 int does 660 damage here is triggers

  • INT trigger
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Ability being cast) Equal to Frost Nova
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Level of Frost Nova for (Casting unit)) Equal to 1
        • Then - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Intelligence of (Casting unit) (Exclude bonuses)) Less than 10
            • Then - Actions
              • Unit - Cause (Casting unit) to damage (Target unit of ability being cast), dealing 200.00 damage of attack type Spells and damage type Normal
            • Else - Actions
              • Do nothing
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Intelligence of (Casting unit) (Exclude bonuses)) Less than 20
              • (Intelligence of (Casting unit) (Exclude bonuses)) Greater than or equal to 10
            • Then - Actions
              • Unit - Cause (Casting unit) to damage (Target unit of ability being cast), dealing 400.00 damage of attack type Spells and damage type Normal
            • Else - Actions
              • Do nothing
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Intelligence of (Casting unit) (Exclude bonuses)) Less than 30
              • (Intelligence of (Casting unit) (Exclude bonuses)) Greater than or equal to 20
            • Then - Actions
              • Unit - Cause (Casting unit) to damage (Target unit of ability being cast), dealing 600.00 damage of attack type Spells and damage type Normal
            • Else - Actions
              • Do nothing
        • Else - Actions
          • Do nothing
if you add more "If int greater/lesser" you can make more detail

Or this will be more efficient.
  • Unit - Cause (Casting unit) to damage (Target unit of ability being cast), dealing (20.00 x (Real((Intelligence of (Casting unit) (Include bonuses))))) damage of attack type Spells and damage type Normal
Also, most ability's missile can't be very accurate so this will required a DDS Detection.
 
Level 3
Joined
Mar 5, 2016
Messages
25
Well for me if you want to go easy as damage timing you can simply just set missle speed to 3685 and then add same wait time event in to trigger to 0.65

this will work so fine(if its not just short the damage time or make missle slower)
 
Level 5
Joined
Mar 6, 2015
Messages
130
its possible but with a proper schedule like either using new Damage Detecting System to Get income damage and check whether the taken damage was from a magical source and amplify it with a formula based on unit`s intelligence or consider intelligence as damage factor in your spells for example you creating a spell to death 200 damage to a unit consider a real variable like spellpower and add it to damage dealing function do this for all of your map`s spells thats how you can do that i will create a example map for you if didn`t understand
 
Status
Not open for further replies.
Top