Settings

Blockchain
Network
Unit
Language
Theme
Sound New Block

Transaction

d6a150d91fc4c2ae46cb5438a7fd15f81589b02d725541b674abea12fb48acf2
Timestamp (utc)
2021-06-23 11:25:17
Fee Paid
0.00001861 BSV
(
0.00544970 BSV
-
0.00543109 BSV
)
Fee Rate
521.1 sat/KB
Version
1
Confirmations
299,244
Size Stats
3,571 B

3 Outputs

Total Output:
0.00543109 BSV
  • jrun cryptofightsMî {"in":0,"ref":["8ff9cb13d1a9b3b6fe1538bbba0c8c373c4370792d8587d28e58b26456e94508_o1","bc7bccc739cc471b0656b0ed38b27daef59922c68293ae80c3adef75a746e444_o1","30b52185631dcb9df0461d00ba44b87aa15c162203b450d145f202c11061d370_o1","9f0e192f744258c3484a1c19fa88ef68e46ee6cf75acc78cfe2ad5a0d2340d0e_o1"],"out":["e9b630ecee313f4d52cd1765a797bb648848a3b7816c6b05adbe5b9fceb4f8da"],"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, 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},"FyxClass":{"$jig":3}},"description":"Chill Action","displayName":"Chill","handle":"chill","hash":"5555d6f4bdc9383ab03d7d55ee0f750b556fc6b3ed90ff4ffc424d31d6618cfe","isAttackAction":false,"isSpellAction":true,"requiredLevel":0,"skillType":4}]}]}
    https://whatsonchain.com/tx/d6a150d91fc4c2ae46cb5438a7fd15f81589b02d725541b674abea12fb48acf2