Skip to content

Instantly share code, notes, and snippets.

@allison-casey
Created December 26, 2019 02:17
Show Gist options
  • Save allison-casey/ec2517a3023539403054ba388e15d727 to your computer and use it in GitHub Desktop.
Save allison-casey/ec2517a3023539403054ba388e15d727 to your computer and use it in GitHub Desktop.
;; EFFECTS
{:type :constant
:target "%.aim"
:operator :add
:value 5}
{:type :expression
:target "%.mobility"
:operator :add
:expression "%.mobility * 0.2"}
{:type :expression
:target "%.will"
:operator :sub
:expression "(min (enemies-in-los %) 5)"}
;; ATTRIBUTES
{:key :hunkered
:name "Hunkered Down"
:description "Pressed yourself close against yourcover"
:requires {:or [:half-cover :full-cover]}
:effects [{:type constant
:target "%.defense"
:operator :add
:value 20}]}
{:key :acided
:name "Acided"
:description "Covered in toxic acid that's eating away at your armor and effecting your movement."
:ttl 3
:repeats false
:effects [{:type :expression
:target "%.mobility"
:operator :set
:expression "%.mobility / 2"}
{:type :constant
:target "%.aim"
:operator :sub
:value 20}]}
{:key :on-fire
:name "On Fire"
:description "Lit on fire and taking damage over time"
:ttl 3
:repeats true
:effects [{:type :constant
:target "%.health"
:operator :sub
:value 5}]}
;; ENTITIES
{:key :sectoid
:name "Sectoid"
:description "Ayyy Lmao"
:characteristics {:health 100
:mobility 11}
:traits #{}
:abilities #{}
:systems #{}}
;; TRAITS
;; ABILITIES
;; SYSTEMS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment