Settings

Blockchain
Network
Unit
Language
Theme
Sound New Block

Transaction

12c91480bfe8526695aec412d1c73d4bc70ac53d3ff1d0a35239608e237a8435
Timestamp (utc)
2021-08-06 16:34:05
Fee Paid
0.00001803 BSV
(
0.00098731 BSV
-
0.00096928 BSV
)
Fee Rate
504.7 sat/KB
Version
1
Confirmations
289,841
Size Stats
3,570 B

3 Outputs

Total Output:
0.00096928 BSV
  • jrun cryptofightsMî {"in":0,"ref":["67ce52963b707769c2e7fbd77079d8e49cb04257bbc27fcc54125aa9a929dd67_o1","bfd38f49bb5e2a4e85fe3f344bc6f9a730c6ec8546aabff306aa2b77cdf31c56_o1","e56428d3b9374822d1f6ecf1f412c49985cc5fd302e3b3e7733a0e4319d1295f_o1","9f0e192f744258c3484a1c19fa88ef68e46ee6cf75acc78cfe2ad5a0d2340d0e_o1"],"out":["a7bf4747f3e68641118d13cfa601e3e49d725c73216548b4fdc5caa73f426ae3"],"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, 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":"Chill Action","displayName":"Chill","handle":"chill","hash":"f6857278562c655dbb2d7d67716c85ee3cdfad81342f20670c003fa5b9a8ca86","isAttackAction":false,"isSpellAction":true,"requiredLevel":0,"skillType":4}]}]}
    https://whatsonchain.com/tx/12c91480bfe8526695aec412d1c73d4bc70ac53d3ff1d0a35239608e237a8435