Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tales of MajEyal
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
K'van
Tales of MajEyal
Commits
626c577d
Commit
626c577d
authored
10 years ago
by
Eric Wykoff
Browse files
Options
Downloads
Patches
Plain Diff
matter weaving done
parent
2656563b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
game/modules/tome/data/talents/chronomancy/matter.lua
+28
-22
28 additions, 22 deletions
game/modules/tome/data/talents/chronomancy/matter.lua
game/modules/tome/data/zones/ruins-kor-pul/npcs.lua
+2
-2
2 additions, 2 deletions
game/modules/tome/data/zones/ruins-kor-pul/npcs.lua
with
30 additions
and
24 deletions
game/modules/tome/data/talents/chronomancy/matter.lua
+
28
−
22
View file @
626c577d
...
...
@@ -56,32 +56,38 @@ newTalent{
type
=
{
"chronomancy/matter"
,
2
},
require
=
chrono_req2
,
points
=
5
,
paradox
=
function
(
self
,
t
)
return
getParadoxCost
(
self
,
t
,
10
)
end
,
cooldown
=
3
,
tactical
=
{
ATTACKAREA
=
{
TEMPORAL
=
1
,
PHYSICAL
=
1
}
},
range
=
10
,
direct_hit
=
true
,
reflectable
=
true
,
requires_target
=
true
,
target
=
function
(
self
,
t
)
return
{
type
=
"beam"
,
range
=
self
:
getTalentRange
(
t
),
talent
=
t
}
sustain_paradox
=
24
,
mode
=
"sustained"
,
cooldown
=
10
,
tactical
=
{
BUFF
=
2
},
getResist
=
function
(
self
,
t
)
return
self
:
combatTalentLimit
(
t
,
1
,
0
.
15
,
0
.
50
)
end
,
-- Limit <100%
getCap
=
function
(
self
,
t
)
return
100
-
self
:
combatTalentLimit
(
t
,
50
,
10
,
40
)
end
,
-- Limit < 50%end,
activate
=
function
(
self
,
t
)
game
:
playSoundNear
(
self
,
"talents/earth"
)
local
ret
=
{
stun
=
self
:
addTemporaryValue
(
"stun_immune"
,
t
.
getResist
(
self
,
t
)),
cut
=
self
:
addTemporaryValue
(
"cut_immune"
,
t
.
getResist
(
self
,
t
)),
cap
=
self
:
addTemporaryValue
(
"flat_damage_cap"
,
{
all
=
t
.
getCap
(
self
,
t
)}),
}
if
not
self
:
addShaderAura
(
"stone_skin"
,
"crystalineaura"
,
{
time_factor
=
1500
,
spikeOffset
=
0
.
123123
,
spikeLength
=
0
.
9
,
spikeWidth
=
3
,
growthSpeed
=
2
,
color
=
{
100
/
255
,
100
/
255
,
100
/
255
}},
"particles_images/spikes.png"
)
then
ret
.
particle
=
self
:
addParticles
(
Particles
.
new
(
"stone_skin"
,
1
))
end
return
ret
end
,
getDamage
=
function
(
self
,
t
)
return
self
:
combatTalentSpellDamage
(
t
,
20
,
230
,
getParadoxSpellpower
(
self
,
t
))
end
,
action
=
function
(
self
,
t
)
local
tg
=
self
:
getTalentTarget
(
t
)
local
x
,
y
=
self
:
getTarget
(
tg
)
if
not
x
or
not
y
then
return
nil
end
self
:
project
(
tg
,
x
,
y
,
DamageType
.
WARP
,
self
:
spellCrit
(
t
.
getDamage
(
self
,
t
)))
local
_
_
,
_
,
_
,
x
,
y
=
self
:
canProject
(
tg
,
x
,
y
)
game
.
level
.
map
:
particleEmitter
(
self
.
x
,
self
.
y
,
math.max
(
math.abs
(
x
-
self
.
x
),
math.abs
(
y
-
self
.
y
)),
"matter_beam"
,
{
tx
=
x
-
self
.
x
,
ty
=
y
-
self
.
y
})
game
:
playSoundNear
(
self
,
"talents/arcane"
)
deactivate
=
function
(
self
,
t
,
p
)
self
:
removeShaderAura
(
"stone_skin"
)
self
:
removeParticles
(
p
.
particle
)
self
:
removeTemporaryValue
(
"stun_immune"
,
p
.
stun
)
self
:
removeTemporaryValue
(
"cut_immune"
,
p
.
cut
)
self
:
removeTemporaryValue
(
"flat_damage_cap"
,
p
.
cap
)
return
true
end
,
info
=
function
(
self
,
t
)
local
damage
=
t
.
getDamage
(
self
,
t
)
return
(
[[Fires a beam that turns matter into dust, inflicting %0.2f temporal damage and %0.2f physical (warp) damage.
The damage will scale with your Spellpower.]]
):
format
(
damDesc
(
self
,
DamageType
.
TEMPORAL
,
damage
/
2
),
damDesc
(
self
,
DamageType
.
PHYSICAL
,
damage
/
2
))
local
cap
=
t
.
getCap
(
self
,
t
)
local
resist
=
t
.
getResist
(
self
,
t
)
*
100
return
(
[[Weave matter into your flesh, becoming incredibly resilient to damage. While active you can never take a blow that deals more than %d%% of your maximum life.
Additionally you gain %d%% resistance to stunning and cuts.]]
):
format
(
cap
,
resist
)
end
,
}
...
...
This diff is collapsed.
Click to expand it.
game/modules/tome/data/zones/ruins-kor-pul/npcs.lua
+
2
−
2
View file @
626c577d
...
...
@@ -58,7 +58,7 @@ newEntity{ define_as = "SHADE",
stats
=
{
str
=
16
,
dex
=
12
,
cun
=
14
,
mag
=
25
,
con
=
16
},
instakill_immune
=
1
,
blind_immune
=
1
,
bleed
_immune
=
1
,
cut
_immune
=
1
,
move_others
=
true
,
body
=
{
INVEN
=
10
,
MAINHAND
=
1
,
OFFHAND
=
1
,
BODY
=
1
},
...
...
@@ -141,7 +141,7 @@ newEntity{ define_as = "KOR_FURY",
stone_immune
=
1
,
confusion_immune
=
1
,
fear_immune
=
1
,
bleed
_immune
=
1
,
cut
_immune
=
1
,
teleport_immune
=
0
.
5
,
disease_immune
=
1
,
poison_immune
=
1
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment