Settings

Blockchain
Network
Unit
Language
Theme
Sound New Block

Transaction

01bb224dbaef7b04f32eb7a15e6679010c1ae85daf7cf5131867b3045d410249
Timestamp (utc)
2021-05-14 19:25:41
Fee Paid
0.00001392 BSV
(
0.00679285 BSV
-
0.00677893 BSV
)
Fee Rate
528.2 sat/KB
Version
1
Confirmations
304,573
Size Stats
2,635 B

3 Outputs

Total Output:
0.00677893 BSV
  • jrun cryptofightsMG {"in":0,"ref":["dfc6365a816244ea799eba1713939371e333436d399c3edbcc4d702e754bfcb6_o1","9703e65726f347916f64a50d59be1edc3675ba0eddd3f2ae24f8bf0c6df926f5_o1","13c8f8d93e8dacaf8cf1331523cd2e11b7cda4f53f0935da08dc376499977094_o1","0388093d0fbe67cbf69791185954954519e087750836a38c57b5041ca4e032a9_o1"],"out":["ef4263c7a51f5ac3d362526ace92d4430afc81cfffa3a55397eb1fd8630cbb20"],"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":"198f808806da6ef189d9bd6f8fa8af0a96bb1f2678f1d1f0c2d644e840a43d33","isAttackAction":false,"isSpellAction":true,"requiredLevel":0,"skillType":22}]}]}
    https://whatsonchain.com/tx/01bb224dbaef7b04f32eb7a15e6679010c1ae85daf7cf5131867b3045d410249