Settings

Blockchain
Network
Unit
Language
Theme
Sound New Block

Transaction

2552b2d1a9f306274defc7f5dedcea75ee38f7578b18f90da37a158595ebcc25
Timestamp (utc)
2021-05-26 13:20:43
Fee Paid
0.00001362 BSV
(
0.00054764 BSV
-
0.00053402 BSV
)
Fee Rate
529.1 sat/KB
Version
1
Confirmations
298,069
Size Stats
2,572 B

3 Outputs

Total Output:
0.00053402 BSV
  • jrun cryptofightsM {"in":0,"ref":["b6faac597f012d045aee3c760ce47752b7708c043b8f3cee48e34bec8524d3a3_o1","9165f35def20216c4ff96cdd3860672e83b672d7043678b8657332929807057a_o1","9593d4e5a149c9772c406fdc90a0fbabf8cad4fa6af953263e01b502e9dda026_o1","0388093d0fbe67cbf69791185954954519e087750836a38c57b5041ca4e032a9_o1"],"out":["6ee575bf814d27889a62150866e2bda5ccb0a7e3a9bd5a85adc4b17b6c1e5c07"],"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, null, 0);\n\n attackActionLog.results.push(result);\n state.actionLogs.push(attackActionLog);\n\n Attack.processPostAttackStatus(state, battle, SkillType.Fireball);\n BattleUtils.applySkillCooldown(battle, state, SkillType.Fireball);\n\n return BattleUtils.endTurn(battle, state, dice);\n }\n}",{"affectsOpponent":true,"cooldown":0,"deps":{"Attack":{"$jig":0},"BattleUtils":{"$jig":1},"Constants":{"$jig":2},"FyxClass":{"$jig":3}},"description":"Fireball Action","displayName":"Fireball","handle":"fireball","hash":"0e424a174d8ee14822ceddb67aff236de5e152e6387fb4cc317e2723d0b8172f","isAttackAction":false,"isSpellAction":true,"requiredLevel":0,"skillType":22}]}]}
    https://whatsonchain.com/tx/2552b2d1a9f306274defc7f5dedcea75ee38f7578b18f90da37a158595ebcc25