Settings

Blockchain
Network
Unit
Language
Theme
Sound New Block

Transaction

879e23f02232b86ba9bb5fbd7caa3a0e794055b4c331cf13a7c9b77e3ec75ec5
Timestamp (utc)
2021-04-17 19:59:34
Fee Paid
0.00001381 BSV
(
0.00982636 BSV
-
0.00981255 BSV
)
Fee Rate
528.5 sat/KB
Version
1
Confirmations
305,088
Size Stats
2,613 B

3 Outputs

Total Output:
0.00981255 BSV
  • jrun cryptofightsM1 {"in":0,"ref":["2224ec6fe2852cca39c8c46c3503e41fe5c121987f3d67b1aa7752a3ea2477f2_o1","079b5eaee4af8e40f9938e02c16a0ccbb33b95f5bb9b33ee5f8b8de72acaeed9_o1","1e7dc1b5184c61c27d91ab737e40191c8d4497ba2025751abce9fe8cb7eca58d_o1","b80281afbc3a80b726da0d10968da984f5fcbdb6584bdd12ec5e05809e590309_o1"],"out":["8b7800de3fcde7c67b5b7a6dd9f814fdc045dc38e166902e285b52e405e46df7"],"del":[],"cre":["n2Bd4cWhEQK1aVjb1R7EBGV9mrw3etvSdC"],"exec":[{"op":"DEPLOY","data":["class Fireball extends FyxClass {\n static run(battle, state, dice, ts) {\n const {Ability, DamageType, SkillType} = Constants;\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 var result = Attack.makeResult(battle, state, dice, Ability.Intelligence, Ability.Intelligence, 0, 0, 0, [damageOutput], defenderPlayer, resultMessage, SkillType.Fireball);\n\n attackActionLog.results.push(result);\n state.actionLogs.push(attackActionLog);\n\n Attack.processPostAttackStatus(state, battle, state.fighterStates[state.playerToAct], state.fighterStates[state.playerToAct ? 0 : 1], SkillType.Fireball, state.fighterStates[state.playerToAct ? 0 : 1].hp, dice, defenderPlayer);\n\n return BattleUtils.endTurn(battle, state, dice);\n }\n}",{"affectsOpponent":true,"deps":{"Attack":{"$jig":0},"BattleUtils":{"$jig":1},"Constants":{"$jig":2},"FyxClass":{"$jig":3}},"description":"Fireball Action","displayName":"Fireball","handle":"fireball","hash":"f20ddaff48c8bf3a5853a747b0e758d10b57b35a37c3f7183c2eb0e6c4b157b3","isAttackAction":true,"requiredLevel":0,"skillType":22}]}]}
    https://whatsonchain.com/tx/879e23f02232b86ba9bb5fbd7caa3a0e794055b4c331cf13a7c9b77e3ec75ec5