Skip to content

Instantly share code, notes, and snippets.

View aoxu's full-sized avatar

Ao Xu aoxu

View GitHub Profile
@aoxu
aoxu / coc_1.md
Created January 12, 2013 11:08 — forked from xatest/coc_1.md

#Clash of Clans攻略(一):关键数值的意义

##引言 前段时间对Clash of Clans做了一些游戏策划上的分析,我决定逐篇形成文字公开出来,给新手玩家做个指引,少走点弯路。我的本职工作与游戏策划无关,写此文时我的级别是30级,所以水平有限,多多指教。我不想写过于基础的攻略——有哪些资源,哪些建筑,哪些兵种——这种教程网上一搜一大把。

##关键数值 在游戏主界面上显示的5个数值,无疑是最重要的,分别是等级、奖杯、金币、水、宝石。下面说每个数值代表了什么样的宏观意义。

1. 等级(经验值)

等级代表了整体的建筑水平。经验值有4种输入(增加)途径,按增加的效率排序,1是建造/升级建筑,2是领取成就,3是给同部落盟友送兵,4是去掉地图上的石头/植物(一般叫除草)。其中第1种的增加效率远高于后3种,可以说经验值主要就是通过建造建筑贡献的,反过来经验值也就代表了整体的建筑水平。

@aoxu
aoxu / coc_2.md
Last active September 4, 2018 14:01 — forked from xatest/coc_2.md
Clash of Clans攻略(二):进攻、奖杯与天梯~

#Clash of Clans攻略(二):进攻、奖杯与天梯~ ##引言 防守可以单写一篇来介绍,本篇只谈进攻。进攻与奖杯,奖杯与天梯又密切关联,所以本篇将会一起介绍。

##进攻类建筑 限制村庄发展速度的第一因素是时间,如果你不购买Builder(或者说Builder数量固定),那么第二因素——资源就是你最大的瓶颈。资源的最快获取方式是进攻掠夺。可以说,在所有建筑当中,进攻建筑决定你的发展速度。
上一篇说过,进攻能力主要取决于你的进攻建筑水平,这是大背景。这个道理很自然,比如你的Camp上限总共只有100人口,就不可能有200人口的兵力。所以每次升本(Town Hall)之后,第一件事就是升级进攻类建筑。 进攻类建筑有4种:

  1. 兵工厂(Barracks)。兵工厂至少要有1个升到顶级的,这样才能造高级兵。
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user && killall Finder
@aoxu
aoxu / en.strings
Last active January 1, 2016 11:59 — forked from anonymous/wenan.log
/*--联盟模块--*/
"Message" = "Messages";
"My clan" = "My alliance";
"Search" = "Search";
"Join" = "Join";
"Create" = "Create";
"Anyone can join" = "Anyone can join";
"Invite only" = "Need review";
"Closed" = "Closed";
@aoxu
aoxu / en.strings
Last active January 1, 2016 14:09 — forked from anonymous/en.string
/*--联盟模块--*/
"Message" = "Messages";
"My clan" = "My alliance";
"Search" = "Search";
"Join" = "Join";
"Create" = "Create";
"Anyone can join" = "Anyone can join";
"Invite only" = "Need review";
"Closed" = "Closed";
@aoxu
aoxu / mention_rank
Last active August 29, 2015 14:13 — forked from dbbbit/mention_rank
#: http://www.v2ex.com/api/members/show.json?id=1
member_id rank
1 0.021082598720727041552436276106163859367370605468750000000000
17638 0.004677871797238067341773160023876698687672615051269531250000
18119 0.004215808006276704558712431492040195735171437263488769531250
21351 0.003610164228372608492129147705895775288809090852737426757812
33 0.003468028344499850257331985403652652166783809661865234375000
362 0.002998325412711831325363043276865937514230608940124511718750
@aoxu
aoxu / inject.lua
Last active August 29, 2015 14:15 — forked from cloudwu/inject.lua
local FUNC_TEMP=[[
local $ARGS
return function(...)
$SOURCE
end,
function()
return {$LOCALS}
end
]]
[2044] = {id = 2044, robotIndex = 2007, ignoreGravity = true,
basic = { health = 6, attack = 20, defense = 9999999, },
activate = {delay = 2, location = {x = 0.8, y = 0.7}},
skillConfig = {
fly = {
[1] = {
trigger = {
condition = {"interval"},
interval = 20,
},
@aoxu
aoxu / boss.lua
Last active September 7, 2015 13:02 — forked from anonymous/gist:29a1628201e99d963586
副本小怪
[2016] = {id = 2016, robotIndex = 2016, ignoreGravity = true,
basic = { health = 100000, attack = 20, defense = 0, },
activate = {delay = 2, location = {x = 0.9, y = 0.7}},
areaChase = {
[1] = {
target = {
target = "pathCollision",
},
effect = {
effect = {"attack"},
@aoxu
aoxu / Fuckgfw.conf
Created October 12, 2015 06:35 — forked from jason5ng32/surge.conf
Surge Config
[General]
loglevel = notify
bypass-tun = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12,127.0.0.0/24
[Proxy]
// ADD YOUR PROXY HERE, DON'T FORGET TO REMOVE #
# Proxy = http,$IP,$PORT,$USERNAME,$PASSWORD
# Proxy = https,$IP,$PORT,$USERNAME,$PASSWORD