Settings

Blockchain
Network
Unit
Language
Theme
Sound New Block

Transaction

a719230f1ec8ebd3cf5b735139a2e9eca66bcf1f00dacee459005e57e55156d4
Timestamp (utc)
2022-03-25 16:24:52
Fee Paid
0.00000911 BSV
(
0.00064179 BSV
-
0.00063268 BSV
)
Fee Rate
250.2 sat/KB
Version
1
Confirmations
243,572
Size Stats
3,640 B

3 Outputs

Total Output:
0.00063268 BSV
  • jrun cryptofightsM3 {"in":0,"ref":["17c94bb3bb315ce176bc2b2272d37e3fb8111f294d4fc64ba6a675d06e3f9eed_o1","743a27f9c3fb50e35bfdc4f09bb7b1dd98f19d347c2ab858776aa28241c80c16_o1","e5602b14f529aa66499a6dc2b93f7fdf2f091edbbc2b0efd8b2e2161d59b5ca5_o1","5334f688050535806987424ec00ba75b74a2087c8c3945765dd9107ac81af1a7_o1","9f0e192f744258c3484a1c19fa88ef68e46ee6cf75acc78cfe2ad5a0d2340d0e_o1"],"out":["ef92b2bf658aa7bf6c9a102372bdffe38ac314535d0ed7e285f6aba6c3e60a65"],"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 attackActionLog = {\n actionLogMessage: `${playerName} uses <sprite name=\"${BattleUtils.parseSkillName(SkillType.Burn)}\">${BattleUtils.parseSkillName(SkillType.Burn)}\\n<gradient=!log-color> `,\n playerIndex: state.playerToAct,\n skillType: SkillType.Burn,\n results: []\n };\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, attackActionLog, resultMessage, SkillType.Burn, 0);\n attackActionLog.results.push(result);\n state.actionLogs.push(attackActionLog);\n }\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":"07190d6e803b6b30824e1ffd6a44118318a6827216ed7e9608fd97e112b92184","isAttackAction":true,"isSpellAction":true,"requiredLevel":0,"skillType":3}]}]}
    https://whatsonchain.com/tx/a719230f1ec8ebd3cf5b735139a2e9eca66bcf1f00dacee459005e57e55156d4