All times are UTC


Dear guest, welcome to YouTD!

Currency Converter by ☞☞☞

The icon is already used by 1 item:

Lucky Coin 

Name General Description
1, 2
Currency Converter v7
0
RARE
General
Wave lvl: 0

Submission
By: ☞☞☞
Date:2015-02-18 13:17:20
Status: PENDING
ID:443
Last Update:2015-02-22 11:02:41
Description
Converts your experience into gold.

Abilities
Exchange
Every 15 seconds the wielder converts a flat 2 experience into 7 gold.

Level Bonus:
-0.3 seconds cooldown.

Status:
PENDING: This item is not yet accepted. Users comments to this item:
lvl 0 ??? 15 sec ??? -2xp/+7gold lvl 25 ??? 7.5 sec ??? -2xp/+7gold

1, 2
Reply to topic

Discussion

Page 1 of 2 [ 18 posts ] Go to page 1, 2  Next
Author Message
 Post subject: Currency Converter v7 (443)
PostPosted: Wed Feb 18, 2015 12:17 pm 
Offline
Super User
User avatar

Joined: Tue Jun 17, 2014 1:44 pm
Posts: 357
Location: RU
This is the discussion thread for the item Currency Converter (443)

Creator's comments for this item:

Rare lowcoster.


Top
 Profile  
 
 Post subject: Update to version v2!
PostPosted: Wed Feb 18, 2015 12:19 pm 
Offline
Super User
User avatar

Joined: Tue Jun 17, 2014 1:44 pm
Posts: 357
Location: RU
The item has been updated to version v2!

Creator's reason for this update:

Visible=true


Top
 Profile  
 
 Post subject: Update to version v3!
PostPosted: Wed Feb 18, 2015 12:21 pm 
Offline
Super User
User avatar

Joined: Tue Jun 17, 2014 1:44 pm
Posts: 357
Location: RU
The item has been updated to version v3!

Creator's reason for this update:

Now I saw all spellings =)


Top
 Profile  
 
 Post subject: Re: Currency Converter v3 (443)
PostPosted: Wed Feb 18, 2015 12:24 pm 
Offline
Super User
User avatar

Joined: Tue Jun 17, 2014 1:44 pm
Posts: 357
Location: RU
Also how can I check the tower's current experience? I do not want level rather experience.

_________________
Image


Top
 Profile  
 
 Post subject: Update to version v4!
PostPosted: Fri Feb 20, 2015 5:46 pm 
Offline
Super User
User avatar

Joined: Tue Jun 17, 2014 1:44 pm
Posts: 357
Location: RU
The item has been updated to version v4!

Creator's reason for this update:

Finally finished! Ready to be released!


Top
 Profile  
 
 Post subject: Update to version v5!
PostPosted: Fri Feb 20, 2015 5:48 pm 
Offline
Super User
User avatar

Joined: Tue Jun 17, 2014 1:44 pm
Posts: 357
Location: RU
The item has been updated to version v5!

Creator's reason for this update:

Removed unneeded information


Top
 Profile  
 
 Post subject: Re: Currency Converter v5 (443)
PostPosted: Sat Feb 21, 2015 12:58 am 
Offline
YouTD Admin
YouTD Admin

Joined: Sat Jan 16, 2010 2:35 am
Posts: 1906
if tower().getExp() >= 2.0 then; this threw an error when testing
->
if tower.getExp() >= 2.0 then

Replace the 'call currency' with the innards of 'function currency'. Extra functions are justifiable when they are used in more places than one.

I think the 2nd floating text could be removed. If you do insist on it, space it out with a small TriggerSleepAction.

Something nice you could do is indentation (tabs at the starts of lines of code that help produce a more readable structure).
function Periodic takes Item itm returns nothing
   local Tower tower = itm.getCarrier()   
   local integer lvl = tower.getLevel()
   call Event.getCurrentPeriodicEvent().enableAdvanced(15 - lvl*0.2, false)
   if tower.getExp() >= 2.0 then
      call SFXOnUnit("UI\\Feedback\\GoldCredit\\GoldCredit.mdl", tower.getUnit(), "head")
      call tower.removeExpFlat(2)
      call tower.getOwner().giveGold(3 + lvl * 0.28,tower.getUnit(), true, true)
   else
      call tower.getOwner().displayFloatingText("Not enough credits!",tower,255, 0, 0)
   endif
endfunction


Top
 Profile  
 
 Post subject: Re: Currency Converter v5 (443)
PostPosted: Sat Feb 21, 2015 8:04 am 
Offline
Power User
User avatar

Joined: Wed Dec 25, 2013 4:53 pm
Posts: 512
Location: Cluster
Deem before coding stuff there is better to determine if this item is needed. To convert exp into gold this slow and this little is useless. I'd rather convert gold into exp, like (wavelvl/2)gold per 1 exp point. Or smth.


Top
 Profile  
 
 Post subject: Re: Currency Converter v5 (443)
PostPosted: Sat Feb 21, 2015 8:25 am 
Offline
YouTD Admin
YouTD Admin

Joined: Sat Jan 16, 2010 2:35 am
Posts: 1906
It's his code, just fixed.

Anyways, current design could do without the level bonuses, that is, the item should probably start at full strength (at least the exp-to-gold ratio should). It currently punishes early and continuous use, which is kind of weird for a level 0 item.

Could transform a percentage of current experience into gold at a set ratio, but that might not be a level 0 item.


Top
 Profile  
 
 Post subject: Update to version v6!
PostPosted: Sat Feb 21, 2015 10:27 am 
Offline
Super User
User avatar

Joined: Tue Jun 17, 2014 1:44 pm
Posts: 357
Location: RU
The item has been updated to version v6!

Creator's reason for this update:

As suggested


Top
 Profile  
 
 Post subject: Re: Currency Converter v6 (443)
PostPosted: Sat Feb 21, 2015 11:26 am 
Offline
YouTD developer
YouTD developer
User avatar

Joined: Wed Dec 29, 2010 12:20 pm
Posts: 4527
Location: Australia
Interesting idea, but a bit on the strong side.

At the start a normal creep grants 2 exp and 2 gold on death.
So this item, every 15 seconds, would be costing you one normal creep's worth of exp and granting half a wave's worth of gold.

Nerf it to 7-8 gold and it's approved.

_________________
Goldcost to waveLevel & elementLevel relationship
Incremental Testmap Stub & Tower Creation Map


Top
 Profile  
 
 Post subject: Re: Currency Converter v6 (443)
PostPosted: Sat Feb 21, 2015 12:49 pm 
Offline
Power User
User avatar

Joined: Wed Dec 25, 2013 4:53 pm
Posts: 512
Location: Cluster
"Glowackos' TD", huh?


Top
 Profile  
 
 Post subject: Update to version v7!
PostPosted: Sun Feb 22, 2015 10:02 am 
Offline
Super User
User avatar

Joined: Tue Jun 17, 2014 1:44 pm
Posts: 357
Location: RU
The item has been updated to version v7!

Creator's reason for this update:

lvl 0 ??? 15 sec ??? -2xp/+7gold
lvl 25 ??? 7.5 sec ??? -2xp/+7gold


Top
 Profile  
 
 Post subject: Approved!
PostPosted: Sun Feb 22, 2015 10:14 am 
Offline
YouTD developer
YouTD developer
User avatar

Joined: Wed Dec 29, 2010 12:20 pm
Posts: 4527
Location: Australia
This item has been approved!
It will be in the next version of YouTD!


Top
 Profile  
 
 Post subject: Re: Currency Converter v7 (443)
PostPosted: Fri Jul 24, 2015 8:52 am 
Offline
Advanced User

Joined: Fri Jun 24, 2011 5:52 am
Posts: 129
Very good item. But you can reset cooldown by putting it into another tower, is this ok?


Top
 Profile  
 
Display posts from previous:  Sort by  
Reply to topic  [ 18 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


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