Settings

Blockchain
Network
Unit
Language
Theme
Sound New Block

Transaction

feb1cdc3ff6bc5259407a0565e53c9982ab3a7ad58555eb67fae7c095f74acbe
Timestamp (utc)
2021-08-23 21:52:25
Fee Paid
0.00002145 BSV
(
0.00996019 BSV
-
0.00993874 BSV
)
Fee Rate
543 sat/KB
Version
1
Confirmations
285,023
Size Stats
3,950 B

12 Outputs

Total Output:
0.00993874 BSV
  • jrun cryptofightsM7 {"in":0,"ref":["98b19cfb7c959d45aea8b4e9541fdce008d648393b6a4e07bea103c1513c2674_o1","b065101d6511a1bcc82f11ebd297186a31c526c69fb84752ea84f0f4d79814b2_o1","4d3a002b38a225fb945cfb079365ed14b79b51008ec721cbe78b6de78a122f6f_o1","9f0e192f744258c3484a1c19fa88ef68e46ee6cf75acc78cfe2ad5a0d2340d0e_o1"],"out":["b8cfeb93a5ca1f28d9b0239bde385f6acae7d08db6a5d288c7838e03289fc55a"],"del":[],"cre":["n2Bd4cWhEQK1aVjb1R7EBGV9mrw3etvSdC"],"exec":[{"op":"DEPLOY","data":["class Fireball extends FyxClass {\n static run(battle, state, dice, ts) {\n const {Ability, DamageType, SkillType, StatusEffect} = Constants;\n if(!BattleUtils.isSkillInCooldown(battle.battlePlayers[state.playerToAct], state.fighterStates[state.playerToAct]\n , state.fighterStates[state.playerToAct].turnCounter, SkillType.Fireball))\n {\n const defenderPlayer = battle.battlePlayers[state.playerToAct ? 0 : 1];\n\n let opponentName = BattleUtils.getOpponentName(battle, state);\n var playerName = BattleUtils.getPrettifiedPlayerName(battle, state);\n \n let log = `${playerName} uses <sprite name=\"${BattleUtils.parseSkillName(SkillType.Fireball)}\">${BattleUtils.parseSkillName(SkillType.Fireball)}\\n<gradient=!log-color> `;\n\n let attackActionLog = {\n actionLogMessage: log\n };\n attackActionLog.playerIndex = state.playerToAct;\n attackActionLog.skillType = SkillType.Fireball;\n attackActionLog.results = [];\n\n let resultMessage = `${playerName} spell attacks ${opponentName} : `; // goes up\n let damageOutput = {type: DamageType.Fire, diceCount: 3, diceFaces: 6};\n\n const defenderState = state.fighterStates[state.playerToAct ? 0 : 1];\n const attackerState = state.fighterStates[state.playerToAct];\n // Process pre-attack saving throws actionLogs\n if (BattleUtils.isUnderStatusEffect(defenderState, StatusEffect.Hidden, defenderState.turnCounter)) { // Spot\n state.actionLogs.push(Attack.makeSpotActionLog(battle, state, dice, attackerState, defenderState, state.playerToAct));\n }\n \n if (!BattleUtils.isUnderStatusEffect(defenderState, StatusEffect.Hidden, defenderState.turnCounter)) {\n var result = Attack.makeResult(battle, state, dice, Ability.Intelligence, Ability.Intelligence, 0, 0, 0, [damageOutput], defenderPlayer, resultMessage, SkillType.Fireball, null, 0);\n attackActionLog.results.push(result);\n state.actionLogs.push(attackActionLog);\n }\n\n Attack.processPostAttackStatus(state, battle, SkillType.Fireball);\n BattleUtils.applySkillCooldown(battle, state, SkillType.Fireball, 3);\n }\n else\n {\n return BattleUtils.skipTurn(battle, state, dice);\n }\n\n return BattleUtils.endTurn(battle, state, dice);\n }\n}",{"affectsOpponent":true,"cooldown":3,"deps":{"Attack":{"$jig":0},"BattleUtils":{"$jig":1},"Constants":{"$jig":2},"FyxClass":{"$jig":3}},"description":"Fireball Action","displayName":"Fireball","handle":"fireball","hash":"96c7f9949012f0c3f1e4c713ffc825b510d661a088c08bf6a8a5c2d8de90288c","isAttackAction":false,"isSpellAction":true,"requiredLevel":0,"skillType":22}]}]}
    https://whatsonchain.com/tx/feb1cdc3ff6bc5259407a0565e53c9982ab3a7ad58555eb67fae7c095f74acbe
Total Output:
0.00993874 BSV