HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Telura Beam

01-04-2006, 12:45 PM#1
Daelin
Spell made for Revival of the High Elves project.

Description: Chain mana burn ability that returns percentage of the total mana burnt to the caster.

Note: Icon included. Made by Daelin!
Like always, comments and suggestions are welcomed!

~Daelin
Attached Images
File type: jpgTeluraBeamScreenshot.jpg (245.7 KB)
Attached Files
File type: w3xTelura Beam.w3x (55.9 KB)
01-04-2006, 02:22 PM#2
boomwolf
inpressive!
01-04-2006, 02:51 PM#3
Vexorian
No leaks found, just a comment

Collapse JASS:
 local effect t
    set e = AddSpecialEffectTarget("Abilities\\Spells\\Items\\AIma\\AImaTarget.mdl", cast, "chest")
    call DestroyEffect(e)
set e=null

//Could be replaced with :
call DestroyEffect(AddSpecialEffectTarget("Abilities\\Spells\\Items\\AIma\\AImaTarget.mdl", cast, "chest"))

//And save a bunch of lines 

01-07-2006, 09:04 AM#4
BertTheJasser
I like the way your spell acts, but I don't like your script itself.

It's a lil dirty and that you used custom script doesn't make it easier to understand.

Spell and Idea: 5/5
Script:3/5

=>4/5

Post Scriptum:
Use this scxript instead of your Manaburntext.
This script doesn't require any timer and you can use it multiple times.

function CreateFadingTextUnit takes unit u,integer r,integer g,integer b,integer a, string text returns nothing
local texttag t=CreateTextTag()
call SetTextTagPosUnit(t,u,0)
call SetTextTagVisibility(t,true)
call SetTextTagColor(t, r,g,b,a)
call SetTextTagVelocity(t,0,0.022) //Speed
call SetTextTagText(t,text,0.023) //Text and Size
call SetTextTagFadepoint(t,1) //Duration Before Fading
call SetTextTagLifespan(t,2) //Total Duration
call SetTextTagPermanent(t,false)
set t=null
endfunction
11-15-2006, 12:51 AM#5
Joker
where or how do you change how much mana it burns? Idk how to control siphon mana
11-15-2006, 07:09 AM#6
Daelin
Inside the script, at the top of it search for something like this:

Collapse JASS:
constant function TeluraBeam_ManaBurned takes nothing returns real
    return 85.00//Mana burned per level
endfunction

Modify 85.00 to the value of the mana stolen/burned at the first level. Second and third level are equal with that amount doubled/tripled I think. I made this spell long time ago... So I may have forgotten about how it was coded.

~Daelin
03-19-2007, 09:00 AM#7
norava
eh i didnt like it much
sry
its a good idea tho