All times are UTC


Dear guest, welcome to YouTD!



Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Spell damage
PostPosted: Fri Aug 07, 2009 9:33 pm 
Offline
Power User
User avatar

Joined: Fri Aug 03, 2007 1:51 pm
Posts: 987
Location: Don't FYROM me! Im from Macedonia
Well, i thought i'd make a tower which uses magical damage. Since i dont know anything about JASS, i copied the code from Thunderstorm Generator and change the value for spell damage


function OnDamage takes Tower tower returns nothing
    local Unit creep = Event.getTarget()
        call tower.doSpellDamage(creep,50*(1+tower.getLevel()*0.02),1.0)
endfunction


but it didnt work

any idea why?

(yes i dont know ANYTHING about jass, bare with me if it is a really noobish mistake)

_________________
hi
Human guide


Top
 Profile  
 
 Post subject: Re: Spell damage
PostPosted: Fri Aug 07, 2009 9:47 pm 
Offline
Site Admin
Site Admin
User avatar

Joined: Sat Jun 13, 2009 1:15 am
Posts: 2318
YouTD Score: 53
Which error do you get?

_________________
League of Legends (Missacretsam @ EUW)


Top
 Profile  
 
 Post subject: Re: Spell damage
PostPosted: Sun Aug 09, 2009 2:45 pm 
Offline
Power User
User avatar

Joined: Fri Aug 03, 2007 1:51 pm
Posts: 987
Location: Don't FYROM me! Im from Macedonia
no error, it just didnt happen (no extra damage)

_________________
hi
Human guide


Top
 Profile  
 
 Post subject: Re: Spell damage
PostPosted: Sun Aug 09, 2009 5:36 pm 
Offline
Site Admin
Site Admin
User avatar

Joined: Fri Jul 21, 2006 11:31 pm
Posts: 4710
Location: Munich, Germany / Sydney, Australia
YouTD Score: 270
upload that tower please


Top
 Profile  
 
 Post subject: Re: Spell damage
PostPosted: Sat Aug 15, 2009 4:43 pm 
Offline
Power User
User avatar

Joined: Fri Aug 03, 2007 1:51 pm
Posts: 987
Location: Don't FYROM me! Im from Macedonia
is there a problem if the map is in 1.23 ? (sry for the late reply. Im way too busy at home with tourists and crap, no not real crap, you know what i mean ^^ )

_________________
hi
Human guide


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group