Settings

Blockchain
Network
Unit
Language
Theme
Sound New Block

Transaction

9587a531ab0899e9e7c8bafe121f1648e9cec8fa86bb949e67788b15eded6356
Timestamp (utc)
2021-08-06 14:59:39
Fee Paid
0.00002133 BSV
(
0.00810960 BSV
-
0.00808827 BSV
)
Fee Rate
538.7 sat/KB
Version
1
Confirmations
289,310
Size Stats
3,959 B

11 Outputs

Total Output:
0.00808827 BSV
  • jrun cryptofightsMb {"in":0,"ref":["93f07b3fb9e553857448d52b8a0d1496eb09ceea6609178c5bc450f53cdbf837_o1","c466073f8d6b11275cb13ec64fa8493e9953e086127d90c7a77fc86c4c292ded_o1","9d54815a65ea8dfc9fd81159af32a9c5635098f92998ff3c36f924d3fe6c326d_o1","5334f688050535806987424ec00ba75b74a2087c8c3945765dd9107ac81af1a7_o1","9f0e192f744258c3484a1c19fa88ef68e46ee6cf75acc78cfe2ad5a0d2340d0e_o1"],"out":["19fc8f1b445b6dce858b0a43f2296fc9422838374cba0ae533fd91150187c6a2"],"del":[],"cre":["n2Bd4cWhEQK1aVjb1R7EBGV9mrw3etvSdC"],"exec":[{"op":"DEPLOY","data":["class Burn 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.Burn))\n {\n const defenderPlayer = battle.battlePlayers[state.playerToAct ? 0 : 1];\n\n var playerName = BattleUtils.getPrettifiedPlayerName(battle, state);\n let opponentName = BattleUtils.getOpponentName(battle, state);\n\n let log = `${playerName} uses <sprite name=\"${BattleUtils.parseSkillName(SkillType.Burn)}\">${BattleUtils.parseSkillName(SkillType.Burn)}\\n<gradient=!log-color> `;\n\n let attackActionLog = {\n actionLogMessage: log\n };\n attackActionLog.playerIndex = state.playerToAct;\n attackActionLog.skillType = SkillType.Burn;\n attackActionLog.results = [];\n\n let resultMessage = `${playerName} spell attacks ${opponentName} : `; // goes up\n let damageOutput = {type: DamageType.Fire, diceCount: 2, diceFaces: 8};\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.Burn, null, 0);\n\n attackActionLog.results.push(result);\n state.actionLogs.push(attackActionLog);\n }\n Attack.processPostAttackStatus(state, battle, SkillType.Burn);\n BattleUtils.applySkillCooldown(battle, state, SkillType.Burn, 1);\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":1,"deps":{"Attack":{"$jig":0},"BattleUtils":{"$jig":1},"Constants":{"$jig":2},"Dice":{"$jig":3},"FyxClass":{"$jig":4}},"description":"Burn Action","displayName":"Burn","handle":"burn","hash":"697e35c3f3b0ed6f392e8d4bce50997cce0b47386f27f76c8220ef18717faeb5","isAttackAction":false,"isSpellAction":true,"requiredLevel":0,"skillType":3}]}]}
    https://whatsonchain.com/tx/9587a531ab0899e9e7c8bafe121f1648e9cec8fa86bb949e67788b15eded6356
Total Output:
0.00808827 BSV