Settings

Blockchain
Network
Unit
Language
Theme
Sound New Block

Transaction

b287af657661b9cbfe8b6aa97ff0ca0c36c3dffcbbd845accefa043599f2dafb
Timestamp (utc)
2021-08-06 14:59:39
Fee Paid
0.00001828 BSV
(
0.00100000 BSV
-
0.00098172 BSV
)
Fee Rate
504.8 sat/KB
Version
1
Confirmations
285,830
Size Stats
3,621 B

3 Outputs

Total Output:
0.00098172 BSV
  • jrun cryptofightsM! {"in":0,"ref":["93f07b3fb9e553857448d52b8a0d1496eb09ceea6609178c5bc450f53cdbf837_o1","c466073f8d6b11275cb13ec64fa8493e9953e086127d90c7a77fc86c4c292ded_o1","9d54815a65ea8dfc9fd81159af32a9c5635098f92998ff3c36f924d3fe6c326d_o1","9f0e192f744258c3484a1c19fa88ef68e46ee6cf75acc78cfe2ad5a0d2340d0e_o1"],"out":["f5f0b4dff1c6540cc11e4fc1963a319fadc06f70df9feb0b1732cef45711b5c3"],"del":[],"cre":["n2Bd4cWhEQK1aVjb1R7EBGV9mrw3etvSdC"],"exec":[{"op":"DEPLOY","data":["class Freeze 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.Freeze))\n {\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} `;\n\n let attackActionLog = {\n actionLogMessage: `${playerName} uses <sprite name=\"${BattleUtils.parseSkillName(SkillType.Freeze)}\">${BattleUtils.parseSkillName(SkillType.Freeze)}\\n<gradient=!log-color>`\n };\n attackActionLog.playerIndex = state.playerToAct;\n attackActionLog.skillType = SkillType.Freeze;\n attackActionLog.results = [];\n\n let resultMessage = `${playerName} spell attacks ${opponentName} : `; // goes up\n let damageOutput = {type: DamageType.Cold, diceCount: 2, diceFaces: 6};\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, resultMessage, SkillType.Freeze, null, 2);\n attackActionLog.results.push(result);\n state.actionLogs.push(attackActionLog);\n }\n\n Attack.processPostAttackStatus(state, battle, SkillType.Freeze);\n BattleUtils.applySkillCooldown(battle, state, SkillType.Freeze, 2);\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":2,"deps":{"Attack":{"$jig":0},"BattleUtils":{"$jig":1},"Constants":{"$jig":2},"FyxClass":{"$jig":3}},"description":"Freeze Action","displayName":"Freeze","handle":"freeze","hash":"ed5bc6ac5e81cbbb99ef892e90b595b0e36bc186b850d8c1b3938bef7063210f","isAttackAction":false,"isSpellAction":true,"requiredLevel":0,"skillType":23}]}]}
    https://whatsonchain.com/tx/b287af657661b9cbfe8b6aa97ff0ca0c36c3dffcbbd845accefa043599f2dafb