Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 16.11.2006, 14:14   #4
mcrabben7
Архивный участник
 
Join Date: Apr 2006
Posts: 461
Default

Quote:
Originally Posted by HF View Post
hm... Are you can learn me?
Code:
effect = {{t_hp;50;3}} = 700 hp 15sec
effect = {{t_hp;24;3}} = 336 hp 15sec
effect = {{t_hp;8;3}} = 112 hp 15sec
effect = {{t_hp;1;3}} = 14 hp 15sec
1) how do calculate it? 700 hp... 15 sec... from this [t_hp;50;3]
And from 1 to 2 question.
2) what mean each param? 50 what? 3 what?
I'm pretty sure the formula is like so:

t_hp effect = (((param1 * param2) * seconds / param2) - param1)
700 = (((50 * 3) * (15/3)) - 50)
700 = ((150 * 5) - 50)
700 = 750 - 50
700 = 700

So param1 is HP healed per tick (1 second) and param2 is how many ticks to wait between heals (3 seconds). Potions work the same way, healing you n HP every 3 seconds about.
mcrabben7 is offline  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 20:41.