Skip to content

Instantly share code, notes, and snippets.

View lionel-panhaleux's full-sized avatar

Lionel Panhaleux lionel-panhaleux

  • Stuart
View GitHub Profile

History of cards and rules changes

2024-02-01

V5 Companion

  • Ashur Tablets: Only one can be played per turn
  • Emerald Legionnaire: Can only bring another back from the ash heap if there are less Legionnaires than ready unique Harbingers.
  • My Enemy's Enemy: Cannot be used in a duel anymore.

2023-08-31

@lionel-panhaleux
lionel-panhaleux / bibliodeque.md
Last active October 30, 2020 16:02
Bibliodèque

Channels proposal

Motivations

  • Make it easier for people to know where to post something
  • Make it easier for people to configure their notifications to their likings

Proposal

  • Information

Roles proposal

Motivations

  • Help users identify who's who more immediately.
  • Make sure everyone feels good and not left aside.

Proposal

Remove the following roles:

@lionel-panhaleux
lionel-panhaleux / template_design.md
Last active May 19, 2020 07:43
Jinja template design for i18n

Simplest design

Maybe KISS, easy to code, a bit cumbersome to translate (4 separated translation strings will be generated)

<p>
    {% trans %}Combat occurs when a block succeeds,
    but can also be provoked directly using actions like{% endtrans %}
    <span class="card" onclick="dC('bumsrush')">{% trans %}Bum’s Rush{% endtrans %}</span>:
[ DEBUG] [ 6664][2019rhho] unexpected multiline comment "-- This isn't THAT many allies to transform, but there are usually possibilities..."
[ DEBUG] [ 8115][2019rmdc] unexpected multiline comment "-- Xipe's text special is stupidly good in the current metagame. It gets even be..."
[ DEBUG] [ 8133][2019rmdc] unexpected multiline comment "-- This is a deep Master package, at least 7 of them are trifles. From there, di..."
[ DEBUG] [ 8144][2019rmdc] unexpected multiline comment "-- This deck doesn't need Carlton, it just steals someone else's. -- There was a..."
[ DEBUG] [ 8149][2019rmdc] unexpected multiline comment "-- There used to be a Bowl of Convergence, but Xipe often ends up too busy to bo..."
[ DEBUG] [ 8166][2019rmdc] unexpected multiline comment "-- I omitted Delaying Tactics because I see Undele vote decks so much that it wa..."
[ DEBUG] [ 16838][2019uscpc] unexpected multiline comment "-- Note: No pool gain, you need all the blood on the vampires to pay for cards, ..."
[ DEBUG] [ 168
@lionel-panhaleux
lionel-panhaleux / quizz.py
Created August 1, 2019 14:16
Python test
#!/usr/bin/env python
# Write a function that determines if any of its arguments evaluates to True.
def test_find_true():
"""
>>> find_true(True, {})
True
>>> find_true(None, (), 0)
False
"""

Generic notes

Damage

  • Enhance CC (Critical hit Chance) and CD (Critical hit Damage):
    • Get CC & CD on Glove, Ring and Amulet
    • Get CC on Bracer and Helm
    • Put the biggest Emeralds in weapons for CD. With enough CC, this is superior to Ruby for damages
  • Get sockets on Rings and Amulet for Legendary Gems
  • Get % [Element] damage on Bracer and Amulet for your damage dealing skill element
@lionel-panhaleux
lionel-panhaleux / civ_6_tips_and_tricks.md
Last active November 16, 2016 13:03
Tips & Tricks for Civilization VI

Civ 6 tips and tricks

Movement

You need two MP (Movement Point) to move to difficult ground hexes (hill, forest, jungle, across river), if you cross a plain (costs 1MP), you won't be able to climb the hill or cross the river next to it in the same move. This is a legit change, but it takes time to get accustomed to: one would optimize movements to use the last MP for hills or forest in civ 5. Range units, artillery and naval raiders do not exercize a ZoC (Zone of Control) unless they are promoted to it. ZoCs work the same way as in civ5, except they do not extend across rivers anymore.

@lionel-panhaleux
lionel-panhaleux / pglocks.py
Created September 17, 2015 16:28
pg_*_advisory_lock functions for django
# -*- coding: utf-8 -*-
# Copyright (c) Polyconseil SAS.
#
# Licensed under the MIT License
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is