Settings

Blockchain
Network
Unit
Language
Theme
Sound New Block

Transaction

5e2082bca256110952fbfe7e1d3ef0d51211e2239a45ee82af620243e2177a28
Timestamp (utc)
2021-06-16 15:45:26
Fee Paid
0.00001934 BSV
(
0.00195815 BSV
-
0.00193881 BSV
)
Fee Rate
542 sat/KB
Version
1
Confirmations
293,871
Size Stats
3,568 B

3 Outputs

Total Output:
0.00193881 BSV
  • jrun cryptofightsMë {"in":0,"ref":["93ba13e5f1112dbe3fd5c78ab2d415b5f68ef74dda65b69775895c74ed7369ba_o1","70fabfdc38ca827d5f555df866cf9807c0817228f24a0b15e794eea2323474e8_o1","3f41b320ac0e3fc2930585ba768436c89f1f2d42896be9824c982793d482df77_o1","9f0e192f744258c3484a1c19fa88ef68e46ee6cf75acc78cfe2ad5a0d2340d0e_o1"],"out":["a1d1b9885898ebde13785d2ca4bd232e54d57682743e8a9609df8a8d2647a89e"],"del":[],"cre":["n2Bd4cWhEQK1aVjb1R7EBGV9mrw3etvSdC"],"exec":[{"op":"DEPLOY","data":["class Chill 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.Chill))\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} uses <sprite name=\"${BattleUtils.parseSkillName(SkillType.Chill)}\">${BattleUtils.parseSkillName(SkillType.Chill)}\\n<gradient=!log-color> `;\n\n let attackActionLog = {\n actionLogMessage: log,\n playerIndex: state.playerToAct,\n skillType: SkillType.Chill,\n results: []\n };\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.Chill, null, 0);\n attackActionLog.results.push(result);\n state.actionLogs.push(attackActionLog);\n }\n\n Attack.processPostAttackStatus(state, battle, SkillType.Chill);\n BattleUtils.applySkillCooldown(battle, state, SkillType.Chill);\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":"Chill Action","displayName":"Chill","handle":"chill","hash":"deeb4f9b46821041aedf63d6341bb363d8a8685e761b954a2a0d9aee2d54576e","isAttackAction":false,"isSpellAction":true,"requiredLevel":0,"skillType":4}]}]}
    https://whatsonchain.com/tx/5e2082bca256110952fbfe7e1d3ef0d51211e2239a45ee82af620243e2177a28