Dev Archives Gaming Center
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   Web Development Archives Forum Information Dev Archives Gaming Center

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Web Development Archives Sponsor:
  #1  
Old December 22nd, 2006, 02:10 AM
Viper_SB Viper_SB is offline
Registered User
Dev Archives Newbie (0 - 499 posts)
 
Join Date: Jun 2005
Posts: 162 Viper_SB Negative: is most likely a SPAMMER and a traitor to the cause.  
Time spent in forums: 10 h 43 m
Reputation Power: 0
Healing

How does the Healing work?

I had this listing
+25% HP $115 Band-aid and a kiss on the forehead.
+40% HP $104 Show the cashier your money and recieve whatever you can afford.

I was at 199/460

I did the 40% one and got full health. Is it 40% of your total HPs? Or 40% of what you don't have?

Reply With Quote
  #2  
Old December 22nd, 2006, 12:04 PM
Sepodati's Avatar
Sepodati Sepodati is offline
Baked not fried
Dev Archives Newbie (0 - 499 posts)
 
Join Date: Apr 2005
Location: Kentucky
Posts: 334 Sepodati User rank is Just a Lowly Private (1 - 20 Reputation Level)  
Time spent in forums: 1 Day 9 h 4 m 48 sec
Reputation Power: 5
Send a message via ICQ to Sepodati Send a message via Yahoo to Sepodati
40% of total, I think. It is pretty confusing either way, though.

---John Holmes...

Reply With Quote
  #3  
Old December 27th, 2006, 01:51 PM
Rich Rich is offline
Contributing User
Dev Archives Newbie (0 - 499 posts)
 
Join Date: Apr 2005
Posts: 37 Rich Negative: is most likely a SPAMMER and a traitor to the cause.  
Time spent in forums: 3 Days 12 h 29 m 21 sec
Reputation Power: 0
Quote:
Originally Posted by Sepodati
40% of total, I think. It is pretty confusing either way, though.

---John Holmes...


Yeah, this is one of the mysteries I havent delved into yet. If you think THIS was confusing, you should see the logic they use to determine what level you are. Reverse-engineering it to show the NEXT level was an exercise in long-unused trig.

It is on my list, tho.

Reply With Quote
  #4  
Old December 27th, 2006, 03:22 PM
Sepodati's Avatar
Sepodati Sepodati is offline
Baked not fried
Dev Archives Newbie (0 - 499 posts)
 
Join Date: Apr 2005
Location: Kentucky
Posts: 334 Sepodati User rank is Just a Lowly Private (1 - 20 Reputation Level)  
Time spent in forums: 1 Day 9 h 4 m 48 sec
Reputation Power: 5
Send a message via ICQ to Sepodati Send a message via Yahoo to Sepodati
Quote:
Sepodati agrees!
(you just can't see it)

Reply With Quote
  #5  
Old December 28th, 2006, 05:21 PM
Rich Rich is offline
Contributing User
Dev Archives Newbie (0 - 499 posts)
 
Join Date: Apr 2005
Posts: 37 Rich Negative: is most likely a SPAMMER and a traitor to the cause.  
Time spent in forums: 3 Days 12 h 29 m 21 sec
Reputation Power: 0
Quote:
Originally Posted by Sepodati
(you just can't see it)


FYI this is being looked at now (no, not visible reputation)

Reply With Quote
  #6  
Old December 29th, 2006, 10:02 AM
thaminda's Avatar
thaminda thaminda is offline
Contributing User
Dev Archives Newbie (0 - 499 posts)
 
Join Date: Nov 2005
Posts: 46 thaminda User rank is Just a Lowly Private (1 - 20 Reputation Level)  
Time spent in forums: 4 Days 9 h 18 m 10 sec
Reputation Power: 0
Quote:
Originally Posted by Viper_SB
How does the Healing work?

I had this listing
+25% HP $115 Band-aid and a kiss on the forehead.
+40% HP $104 Show the cashier your money and recieve whatever you can afford.

I was at 199/460

I did the 40% one and got full health. Is it 40% of your total HPs? Or 40% of what you don't have?


Hear is how healing calculation done

Heal Cost = HPMAX – HP = 460-199 = 261

Heal Percent = (HPCost/HPMax) x 100 = (261 / 460)*100 = 57%
(You need 57% of healing to get full HP)

New HP = HP + (HPMax * HealPercent)



You will have this option only if you don’t have enough money to get full HP
Show the cashier your money and receive whatever you can afford.

If you select above option, Healing cost and percentage will recalculate

Heal Percent = User Money / Heal Cost * Heal Percent = closer to this = (User Money / HPMax)x100
(by assuming you had about $185 cash in your pocket)
= 185/460 = 40 %

Heal Cost = (Heal Cost ) * Heal Percent
= (261 * 40 / 100) = $104

New HP = (MaxHP / Cost) * User Money
= 460/261*185 = 326

Note
In the actual calculation, there are lot of number rounding, to explain everything simply I ignore those over here.

Reply With Quote
  #7  
Old December 29th, 2006, 10:39 AM
thaminda's Avatar
thaminda thaminda is offline
Contributing User
Dev Archives Newbie (0 - 499 posts)
 
Join Date: Nov 2005
Posts: 46 thaminda User rank is Just a Lowly Private (1 - 20 Reputation Level)  
Time spent in forums: 4 Days 9 h 18 m 10 sec
Reputation Power: 0
Calculation error in above formulas are fixed now, healing cost is now independent from money you have in your pocket.

Reply With Quote
  #8  
Old October 19th, 2007, 11:14 AM
Remdul Remdul is offline
Registered User
Dev Archives Newbie (0 - 499 posts)
 
Join Date: Oct 2007
Posts: 2 Remdul User rank is Just a Lowly Private (1 - 20 Reputation Level)  
Time spent in forums: 27 m 18 sec
Reputation Power: 0
I know this is the wrong place to post this but I don't seem to have permission to post anywhere or even send a PM to an admin, so please bear with me.

I created an account a few days ago here, to ask a question.

However I'd like to delete my account. How do I do this?

Reply With Quote
  #9  
Old October 19th, 2007, 11:37 AM
Rich Rich is offline
Contributing User
Dev Archives Newbie (0 - 499 posts)
 
Join Date: Apr 2005
Posts: 37 Rich Negative: is most likely a SPAMMER and a traitor to the cause.  
Time spent in forums: 3 Days 12 h 29 m 21 sec
Reputation Power: 0
Quote:
Originally Posted by Remdul
I know this is the wrong place to post this but I don't seem to have permission to post anywhere or even send a PM to an admin, so please bear with me.

I created an account a few days ago here, to ask a question.

However I'd like to delete my account. How do I do this?


There is no actual delete function. Just stop using it. It's always here in case you ever decide to come back.

Reply With Quote
  #10  
Old March 5th, 2008, 01:12 AM
Dngrsone's Avatar
Dngrsone Dngrsone is offline
Resident lurker
Dev Archives Newbie (0 - 499 posts)
 
Join Date: Jun 2005
Location: Centrally located far from everywhere
Posts: 31 Dngrsone User rank is Just a Lowly Private (1 - 20 Reputation Level)  
Time spent in forums: 5 h 32 m 8 sec
Reputation Power: 5
Send a message via ICQ to Dngrsone Send a message via Yahoo to Dngrsone
Not that you ever would...

Reply With Quote
Reply

Viewing: Web Development Archives Forum Information Dev Archives Gaming Center > Healing


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 4 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek