mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-31 04:51:40 +09:00
Fixed tree Decon
This commit is contained in:
@@ -26,7 +26,8 @@ Event.register(-1,function(event)
|
|||||||
local player = Game.get_player(event)
|
local player = Game.get_player(event)
|
||||||
local rank = Ranking.get_rank(player)
|
local rank = Ranking.get_rank(player)
|
||||||
if rank:allowed('tree-decon') then self.data.chache[event.player_index] = {'tree-decon',false}
|
if rank:allowed('tree-decon') then self.data.chache[event.player_index] = {'tree-decon',false}
|
||||||
elseif not rank:allowed('decon') then self.data.chache[event.player_index] = {'no-decon',false} end
|
elseif not rank:allowed('decon') then self.data.chache[event.player_index] = {'no-decon',false}
|
||||||
|
else self.data.chache[event.player_index] = {'decon',false} end
|
||||||
chache = self.data.chache[event.player_index]
|
chache = self.data.chache[event.player_index]
|
||||||
end
|
end
|
||||||
if not event.entity.last_user then
|
if not event.entity.last_user then
|
||||||
|
|||||||
@@ -124,7 +124,7 @@ groups['User']:add_rank{
|
|||||||
tag='[Regular]',
|
tag='[Regular]',
|
||||||
time=180,
|
time=180,
|
||||||
colour={r=24,g=172,b=188},
|
colour={r=24,g=172,b=188},
|
||||||
power=4
|
power=3
|
||||||
}
|
}
|
||||||
|
|
||||||
local ranks = Ranking._ranks(true)
|
local ranks = Ranking._ranks(true)
|
||||||
|
|||||||
Reference in New Issue
Block a user