Glaives of Wisdom? it is posible in GUI? can i request this?

Lifee

New Member
Reaction score
46
Spell from DotA called Glaives of Wisdom,


Nortrom's Glaives are enchanted by his experience in magic. If he kills a hero, he will permanently steal 1 intelligence from it. Damage type is pure.

Level 1 - Deals 15% of your intelligence in bonus damage.
Level 2 - Deals 30% of your intelligence in bonus damage.
Level 3 - Deals 45% of your intelligence in bonus damage.
Level 4 - Deals 60% of your intelligence in bonus damage.

Cooldown: 3/2/1/0 seconds.

Casteable/Autocastable

Bonus damage shoul be shown in the overhead just ike a critical strike on the target unit with teal color.

+1 int on the killer, -1 int on the target killed. (text in red color)

I am not directly requesting this, i would like some guidance on how to make this, but if someone can make this spell for me and post it on the spell section i would be more than gratefull with you guys.



No dude, thats not the real spell from dota. Glaives of Wisdom only deals % of your intelligence in attack damage. The other spell you are talking about is called Last Word.Its an aura and if an enemy hero die in the range of this aura,even if you are NOT the killer you will gain +1 int ( in green text ) the enemy willl gain -1 int ( in red text )


Edit : The aura also have other effect ( if enemy unit cast a spell he will be silenced for 0.75/1.5/2.25/3 seconds at last level,i dont know if u know about the aura that gains +1 int to silencer when enemy hero die.Just want let you know that effect ISNT from the Glaives of Wisdom.
 

Sonic

New Member
Reaction score
10
No dude, thats not the real spell from dota. Glaives of Wisdom only deals % of your intelligence in attack damage. The other spell you are talking about is called Last Word.Its an aura and if an enemy hero die in the range of this aura,even if you are NOT the killer you will gain +1 int ( in green text ) the enemy willl gain -1 int ( in red text )

Glaives of Wisdom also gives and takes 1 int from target and adds to you, even you didn't learn the Last Word
 

Lifee

New Member
Reaction score
46
Omg dude, i have been playing more than 5 years dota... you cant lying me, take a look at this pictyre and dont talk next time when you dont know !

dotade.jpg
 

Sonic

New Member
Reaction score
10
Omg dude, i have been playing more than 5 years dota... you cant lying me, take a look at this pictyre and dont talk next time when you dont know !

dotade.jpg

I know it but Glaives of Wisdom can steal int too, even you haven't Last Word learned
 

Lifee

New Member
Reaction score
46
I know it but Glaives of Wisdom can steal int too, even you haven't Last Word learned


No dude,you cant steal int with Glaives of Wisdom.Do u want screenshot of its description too ? and then maybe tell me where does it says it steals intelligence. Or you mean dota is bugged ? If u want we can test that ;)
 

rafaxik

New Member
Reaction score
2
Well, if it helps you any, I coded Glaives of Wisdom in JASS. It's not import friendly, but I hope it'll help.

Here's the main trigger:
Code:
function Glaives_of_Wisdom_Conditions takes nothing returns boolean
    if GetTriggerEventId() == EVENT_PLAYER_UNIT_SPELL_EFFECT and GetSpellAbilityId() == 'A08E' then
        return true
    elseif GetTriggerEventId() == EVENT_PLAYER_UNIT_ATTACKED and GetUnitAbilityLevel(GetAttacker(), 'A08E') > 0 then
        return true
    endif
    return false
endfunction

function Glaives_of_Wisdom_Effects takes nothing returns boolean
    local unit attacker = GetEventDamageSource()
    local unit attacked = GetTriggerUnit()
    local real damage = .15 * GetUnitAbilityLevel(attacker, 'A08E') * GetHeroInt(attacker, true)
    local texttag tag = null
    
    if GetUnitAbilityLevel(attacked, 'B024') > 0 and GetUnitAbilityLevel(attacker, 'A08E') > 0 then
        call DisableTrigger(GetTriggeringTrigger())
        set tag = CreateTextTag()
        call SetTextTagText(tag, "+" + I2S(R2I(damage)), .023)
        call SetTextTagColor(tag, 50, 165, 205, 255)
        call SetTextTagPosUnit(tag, attacked, -.15)
        call SetTextTagVelocity(tag, .0355 * Cos(90 * bj_DEGTORAD), .0355 * Sin(90 * bj_DEGTORAD))
        call SetTextTagLifespan(tag, 1.)
        call SetTextTagPermanent(tag, false)
        set tag = null
        call UnitDamageTarget(attacker, attacked, damage, true, true, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_DIVINE, null)
    endif

    set attacker = null
    set attacked = null
    return false
endfunction

function Glaives_of_Wisdom_Actions takes nothing returns nothing
    local unit target
    local trigger effects = CreateTrigger()
    
    if GetTriggerEventId() == EVENT_PLAYER_UNIT_SPELL_EFFECT then
        set target = GetSpellTargetUnit()
    else        
        set target = GetTriggerUnit()
    endif
    call TriggerRegisterUnitEvent(effects, target, EVENT_UNIT_DAMAGED)
    call TriggerAddCondition(effects, Condition(function Glaives_of_Wisdom_Effects))
    call TriggerSleepAction(2.)
     
    call DestroyTriggerBJ(effects)
    set effects = null
    set target = null
endfunction

function InitTrig_Glaives_of_Wisdom takes nothing returns nothing
    set gg_trg_Glaives_of_Wisdom = CreateTrigger()
    call TriggerRegisterAnyUnitEventBJ(gg_trg_Glaives_of_Wisdom, EVENT_PLAYER_UNIT_SPELL_EFFECT)
    call TriggerRegisterAnyUnitEventBJ(gg_trg_Glaives_of_Wisdom, EVENT_PLAYER_UNIT_ATTACKED)
    call TriggerAddCondition(gg_trg_Glaives_of_Wisdom, Condition(function Glaives_of_Wisdom_Conditions))
    call TriggerAddAction(gg_trg_Glaives_of_Wisdom, function Glaives_of_Wisdom_Actions)
endfunction

Here's the trigger for when killer kills a unit and gets INT bonus:
Code:
function Glaives_of_Wisdom_Death_Conditions takes nothing returns boolean
    return GetUnitAbilityLevel(GetKillingUnit(), 'A08E') > 0 and not(IsUnitIllusion(GetKillingUnit())) and IsUnitType(GetDyingUnit(), UNIT_TYPE_HERO)
endfunction

function Glaives_of_Wisdom_Death_Actions takes nothing returns nothing
    local unit killer = GetKillingUnit()
    local unit killed = GetTriggerUnit()
    local texttag tagKiller = CreateTextTag()
    local texttag tagKilled = CreateTextTag()
    
    call SetHeroInt(killer, GetHeroInt(killer, false) + 1, true)
    call SetTextTagText(tagKiller, "+1 Int", .023)
    call SetTextTagColor(tagKiller, 255, 0, 0, 255)
    call SetTextTagPosUnit(tagKiller, killer, 0)
    call SetTextTagVelocity(tagKiller, .0255 * Cos(90 * bj_DEGTORAD), .0255 * Sin(90 * bj_DEGTORAD))
    call SetTextTagLifespan(tagKiller, 2.)
    call SetTextTagPermanent(tagKiller, false)
    call SetHeroInt(killed, GetHeroInt(killed, false) + 1, true)
    call SetTextTagText(tagKilled, "-1 Int", .023)
    call SetTextTagColor(tagKilled, 255, 0, 0, 255)
    call SetTextTagPosUnit(tagKilled, killed, 0)
    call SetTextTagVelocity(tagKilled, .0255 * Cos(90 * bj_DEGTORAD), .0255 * Sin(90 * bj_DEGTORAD))
    call SetTextTagLifespan(tagKilled, 2.)
    call SetTextTagPermanent(tagKilled, false)
    
    set killer = null
    set killed = null
    set tagKiller = null
    set tagKilled = null
endfunction

function InitTrig_Glaives_of_Wisdom_Death takes nothing returns nothing
    set gg_trg_Glaives_of_Wisdom_Death = CreateTrigger()
    call TriggerRegisterAnyUnitEventBJ(gg_trg_Glaives_of_Wisdom_Death, EVENT_PLAYER_UNIT_DEATH)
    call TriggerAddCondition(gg_trg_Glaives_of_Wisdom_Death, Condition(function Glaives_of_Wisdom_Death_Conditions))
    call TriggerAddAction(gg_trg_Glaives_of_Wisdom_Death, function Glaives_of_Wisdom_Death_Actions)
endfunction

Spell from DotA called Glaives of Wisdom,


Nortrom's Glaives are enchanted by his experience in magic. If he kills a hero, he will permanently steal 1 intelligence from it. Damage type is pure.

Level 1 - Deals 15% of your intelligence in bonus damage.
Level 2 - Deals 30% of your intelligence in bonus damage.
Level 3 - Deals 45% of your intelligence in bonus damage.
Level 4 - Deals 60% of your intelligence in bonus damage.

Cooldown: 3/2/1/0 seconds.

Casteable/Autocastable

Bonus damage shoul be shown in the overhead just ike a critical strike on the target unit with teal color.

+1 int on the killer, -1 int on the target killed. (text in red color)

I am not directly requesting this, i would like some guidance on how to make this, but if someone can make this spell for me and post it on the spell section i would be more than gratefull with you guys.

Just to everyone knows:
Glaives of wisdom DOES NOT gives you int when you assist to kill or kill some hero in Dota.
You gain int when you do it whenever you have LAST WORD ability, which bestows aura which buffs enemies heroes.
So, the trigger must check if dying unit has specific buff (Last Word buff)...
 

Prince.Zero

New Member
Reaction score
1
Its very easy to do

But you gotta go read some tutorials about hashtables or gamecache

You need an event where your unit is issued an order
just so you check whether your autocast is on or off
then inside the hashtables we store the handle id of our current trigger , a number next to it and false or true deactivated/activated
then when we attack , we check if our value on the hashtable is true
after that we create a trigger event damage taken to check if the targeted unit has our designated buff to trigger the effect.
our trigger must be disabled afterwards and cleared later on.

It's very simple. If i got time i'll make it for you and post it.
Why can't i upload a spell btw? :D
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    Howdy
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +1
  • V-SNES V-SNES:
    Happy Friday!
    +1

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top