Skip to content

Instantly share code, notes, and snippets.

View cgdangelo's full-sized avatar

Charles D'Angelo cgdangelo

View GitHub Profile
diff --git a/engine/class_modules/sc_mage.cpp b/engine/class_modules/sc_mage.cpp
index 22bef767b..b66f2fd0a 100755
--- a/engine/class_modules/sc_mage.cpp
+++ b/engine/class_modules/sc_mage.cpp
@@ -332,6 +332,8 @@ struct proc_source_t : private noncopyable
struct mage_t : public player_t
{
public:
+ event_t* temporal_flux_evocation_event;
+
# Rule of Threes talent: AB/AM is free after building third AC.
# Mana Adept talent: AM fires 2 more missiles above 80% mana.
# Temporal Flux talent: Gain Evocation 5 seconds after first channel ends.
# AC does not buff AM or AE.
# AM not a proc anymore. 18% base mana.
# AC mana penalty reduced to 100% per AC.
# AB has 8% reduced cast time per AC.
# Clearcasting: 2.5% chance per 1% of maximum mana spent to proc a free AM or AE.
html=dikembe.html
// ==========================================================================
// Dedmonwakeen's DPS-DPM Simulator.
// Send questions to [email protected]
// ==========================================================================
#include "simulationcraft.hpp"
namespace { // UNNAMED NAMESPACE
// ==========================================================================
[INFO] 0.000 <CombatStartEvent combat_length=300.0>
[DEBUG] 0.000 <StraightShotCast source=aHjjgXwu target=FhnNYlLu>
[DEBUG] 0.000 <ApplyAuraEvent aura=StraightShotBuff target=aHjjgXwu>
[DEBUG] 2.420 <PlayerReadyEvent actor=aHjjgXwu>
[DEBUG] 2.420 <WindbiteCast source=aHjjgXwu target=FhnNYlLu>
[DEBUG] 2.420 <ApplyAuraEvent aura=WindbiteDebuff target=FhnNYlLu>
[DEBUG] 4.840 <PlayerReadyEvent actor=aHjjgXwu>
[DEBUG] 30.000 <ExpireAuraEvent aura=StraightShotBuff target=aHjjgXwu>
[DEBUG] 30.000 <StraightShotCast source=aHjjgXwu target=FhnNYlLu>
[DEBUG] 30.000 <ApplyAuraEvent aura=StraightShotBuff target=aHjjgXwu>
[DEBUG] {<Attribute.VITALITY: 3>: 2093,
<Attribute.STRENGTH: 1>: 265,
<Attribute.DEXTERITY: 2>: 2643,
<Attribute.INTELLIGENCE: 4>: 246,
<Attribute.MIND: 5>: 233,
<Attribute.CRITICAL_HIT: 6>: 1920,
<Attribute.DETERMINATION: 7>: 1016,
<Attribute.DIRECT_HIT: 8>: 1570,
<Attribute.DEFENSE: 9>: 2848,
<Attribute.MAGIC_DEFENSE: 10>: 2848,
[INFO] Analyzing encounter data...
[INFO] Actor: BmIMThqdmY
-----------------------------------------------------------------------------------------------------------
| Name | Applications | Expirations | Refreshes | Consumptions | Overflow | Overflow (Mean) |
-----------------------------------------------------------------------------------------------------------
| WindbiteDebuff | 11 | 0 | 10 | 0 | 19.820 | 1.982 |
| VenomousBiteDebuff | 11 | 0 | 10 | 0 | 22.240 | 2.224 |
-----------------------------------------------------------------------------------------------------------
[DEBUG] Initialized: <Actor name=PNDjrImYnl>
[DEBUG] Initialized: <Bard name=Dikembe>
[DEBUG] <= 0.000 <CombatStartEvent>
[DEBUG] <= 0.000 <ActorReadyEvent actor=PNDjrImYnl>
[DEBUG] <= 0.000 <ActorReadyEvent actor=Dikembe>
[DEBUG] @@ 0.000 <Bard name=Dikembe> uses <BardShotAction>
[DEBUG] @@ 0.000 <Bard name=Dikembe> uses <FoeRequiemAction>
[DEBUG] <= 0.000 <AutoAttackEvent source=Dikembe target=PNDjrImYnl action=BardShotAction crit=False direct=False damage=1969 traits=[1.0, 1.1, 1.2] buffs=[1.0]>
[DEBUG] <= 0.750 <ActorReadyEvent actor=Dikembe>
[DEBUG] @@ 0.750 <Bard name=Dikembe> uses <RagingStrikesAction>
[DEBUG] Initialized: <Actor name=qBdoJGJBQc>
[DEBUG] Initialized: <Bard name=Dikembe>
[DEBUG] <= 0.000 <CombatStartEvent>
[DEBUG] ^^ 0.000 <Actor name=qBdoJGJBQc> arises
[DEBUG] ^^ 0.000 <Bard name=Dikembe> arises
[DEBUG] <= 0.000 <ActorReadyEvent actor=qBdoJGJBQc>
[DEBUG] <= 0.000 <ActorReadyEvent actor=Dikembe>
[DEBUG] @@ 0.000 <Bard name=Dikembe> uses <BardShotAction>
[DEBUG] <= 0.000 <DamageEvent source=Dikembe target=qBdoJGJBQc action=Shot crit=True direct=True damage=4005 traits=[1.0, 1.1, 1.2] buffs=[1.0]>
[DEBUG] <= 0.000 <ActorReadyEvent actor=Dikembe>
18092467 function calls (18074190 primitive calls) in 12.546 seconds
Ordered by: internal time
ncalls tottime percall cumtime percall filename:lineno(function)
153964 0.703 0.000 1.388 0.000 action.py:251(_speed)
832903 0.562 0.000 0.562 0.000 aura.py:119(remains)
1 0.543 0.543 12.544 12.544 simulator.py:215(run)
245845 0.474 0.000 1.523 0.000 bard.py:69(decide)
155307 0.416 0.000 0.923 0.000 error.py:6(__init__)
#include "Event.h"
namespace simfantasy {
namespace events {
Event::Event(Simulation *simulation) : simulation(simulation) {}
}
}