Цитата Сообщение от Ven00m Посмотреть сообщение
X=904 для 8 ровня заклинания.
Boolshit

PHP код:
// Consecration ============================================================

struct consecration_tick_t : public paladin_spell_t
{
  
consecration_tick_tpaladin_t) :
      
paladin_spell_t"consecration")
  {
    static 
rank_t ranks[] =
    {
      { 
8081131130},
      { 
757,  87,  870},
      { 
706,  72,  720},
      { 
605,  56,  560},
      { 
00000}
    };
    
init_rankranks48819 );

    
aoe        true;
    
dual       true;
    
background true;
    
may_crit   false;
    
may_miss   true;
    
direct_power_mod 1.0;
    
base_spell_power_multiplier  0.04;
    
base_attack_power_multiplier 0.04;

    if ( 
-> librams.resurgence base_spell_power += 141;
  }

  
virtual void execute()
  {
    
paladin_spell_t::execute();
    if ( 
result_is_hit() )
    {
      
tick_dmg direct_dmg;     
    }
    
update_statsDMG_OVER_TIME );
  }
};

struct consecration_t : public paladin_spell_t
{
  
action_tconsecration_tick;

  
consecration_tpaladin_tp, const std::stringoptions_str ) :
      
paladin_spell_t"consecration")
  {
    
option_t options[] =
    {
      { 
NULLOPT_UNKNOWNNULL }
    };
    
parse_optionsoptionsoptions_str );

    
may_miss       false;
    
base_cost      -> resource_baseRESOURCE_MANA ] * 0.22;
    
base_cost     *= 1.0 - ( -> talents.benediction     0.02 +
                             
-> talents.purifying_power 0.05 );
    
num_ticks      8;
    
base_tick_time 1;
    
cooldown -> duration 8;

    if ( 
-> glyphs.consecration )
    {
      
num_ticks += 2;
      
cooldown -> duration += 2;
    }

    
consecration_tick = new consecration_tick_t);

    
id 48819;
  }

  
// Consecration ticks are modeled as "direct" damage, requiring a dual-spell setup.

  
virtual void tick()
  {
    if ( 
sim -> debug log_t::outputsim"%s ticks (%d of %d)"name(), current_ticknum_ticks );
    
consecration_tick -> execute();
    
update_timeDMG_OVER_TIME );
  }
}; 
(8+2) * (113 + 0.04 * 0 + 0.04 * 3524) = 2539,6

т.е на 1 тик 253,96 урона.