Settings

Blockchain
Network
Unit
Language
Theme
Sound New Block

Transaction

2204906af53ff33f7c5441fc97cbba383aaac61bc98a61b684f554e949b8c15e
Timestamp (utc)
2021-05-08 23:06:27
Fee Paid
0.00001614 BSV
(
0.00965188 BSV
-
0.00963574 BSV
)
Fee Rate
612.2 sat/KB
Version
1
Confirmations
306,435
Size Stats
2,636 B

3 Outputs

Total Output:
0.00963574 BSV
  • jrun cryptofightsMG {"in":0,"ref":["097fd460ee517d4311e2cbc8c85cc1cb8157667f4a6f31d692520014c02e3906_o1","fd7455fa0868b80da50fb2703db3f7bdb6b70bad3b0518600ef19dd17406c612_o1","013ba7f4d0fe70aef6b6fa0f7a466ce98bfa38b452ddba20e5d7f98547edb303_o1","0388093d0fbe67cbf69791185954954519e087750836a38c57b5041ca4e032a9_o1"],"out":["3742c92cb65dfcb7373a0fea97ac233e151b0a1152424390e980b2f5caec6955"],"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":"58dd359817bf911460cc09977fd2e7dc52def74925d15431a3501a70d45a98da","isAttackAction":false,"isSpellAction":true,"requiredLevel":0,"skillType":22}]}]}
    https://whatsonchain.com/tx/2204906af53ff33f7c5441fc97cbba383aaac61bc98a61b684f554e949b8c15e