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
Lisa Greene
Tales of MajEyal
Commits
31da54d2
Commit
31da54d2
authored
14 years ago
by
dg
Browse files
Options
Downloads
Patches
Plain Diff
stuff
git-svn-id:
http://svn.net-core.org/repos/t-engine4@923
51575b47-30f0-44d4-a5cc-537603b46e54
parent
4ec0e2e6
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
game/modules/tome/data/talents/spells/golemancy.lua
+1
-1
1 addition, 1 deletion
game/modules/tome/data/talents/spells/golemancy.lua
game/modules/tome/data/talents/spells/ice.lua
+22
-11
22 additions, 11 deletions
game/modules/tome/data/talents/spells/ice.lua
with
23 additions
and
12 deletions
game/modules/tome/data/talents/spells/golemancy.lua
+
1
−
1
View file @
31da54d2
...
...
@@ -30,7 +30,7 @@ local function makeGolem()
return
require
(
"mod.class.NPC"
).
new
{
type
=
"construct"
,
subtype
=
"golem"
,
display
=
'g'
,
color
=
colors
.
WHITE
,
level_range
=
{
1
,
50
},
level_range
=
{
1
,
50
},
exp_worth
=
0
,
life_rating
=
13
,
combat
=
{
dam
=
10
,
atk
=
10
,
apr
=
0
,
dammod
=
{
str
=
1
}
},
...
...
This diff is collapsed.
Click to expand it.
game/modules/tome/data/talents/spells/ice.lua
+
22
−
11
View file @
31da54d2
...
...
@@ -30,12 +30,17 @@ newTalent{
range
=
20
,
reflectable
=
true
,
action
=
function
(
self
,
t
)
local
tg
=
{
type
=
"ball"
,
range
=
self
:
getTalentRange
(
t
),
radius
=
1
,
talent
=
t
}
local
x
,
y
=
self
:
getTarget
(
tg
)
if
not
x
or
not
y
then
return
nil
end
self
:
project
(
tg
,
x
,
y
,
DamageType
.
ICE
,
self
:
spellCrit
(
self
:
combatTalentSpellDamage
(
t
,
18
,
200
)))
game
.
level
.
map
:
particleEmitter
(
self
.
x
,
self
.
y
,
math.max
(
math.abs
(
x
-
self
.
x
),
math.abs
(
y
-
self
.
y
)),
"ice_shards"
,
{
tx
=
x
-
self
.
x
,
ty
=
y
-
self
.
y
})
game
:
playSoundNear
(
self
,
"talents/ice"
)
return
true
end
,
info
=
function
(
self
,
t
)
return
(
[[Conjures up a bolt of fire, setting the target ablaze and doing %0.2f fire damage over 3 turns.
The damage will increase with the Magic stat]]
):
format
(
self
:
combatTalentSpellDamage
(
t
,
25
,
2
9
0
))
The damage will increase with the Magic stat]]
):
format
(
self
:
combatTalentSpellDamage
(
t
,
25
,
2
0
0
))
end
,
}
...
...
@@ -88,19 +93,25 @@ newTalent{
type
=
{
"spell/ice"
,
4
},
require
=
spells_req4
,
points
=
5
,
mana
=
12
,
cooldown
=
3
,
tactical
=
{
ATTACK
=
10
,
},
range
=
20
,
reflectable
=
true
,
action
=
function
(
self
,
t
)
mode
=
"sustained"
,
sustain_mana
=
80
,
cooldown
=
30
,
activate
=
function
(
self
,
t
)
game
:
playSoundNear
(
self
,
"talents/ice"
)
return
{
dam
=
self
:
addTemporaryValue
(
"inc_damage"
,
{[
DamageType
.
COLD
]
=
self
:
getTalentLevelRaw
(
t
)
*
2
}),
resist
=
self
:
addTemporaryValue
(
"resists_pen"
,
{[
DamageType
.
COLD
]
=
self
:
getTalentLevelRaw
(
t
)
*
10
}),
particle
=
self
:
addParticles
(
Particles
.
new
(
"uttercold"
,
1
)),
}
end
,
deactivate
=
function
(
self
,
t
,
p
)
self
:
removeParticles
(
p
.
particle
)
self
:
removeTemporaryValue
(
"inc_damage"
,
p
.
dam
)
self
:
removeTemporaryValue
(
"resists_pen"
,
p
.
resist
)
return
true
end
,
info
=
function
(
self
,
t
)
return
(
[[
Conjures up a bolt of fire, setting the target ablaze and do
ing %
0.2f
fire
damage over 3 turns.
The damage will increase with the Magic stat]]
):
format
(
self
:
combatTalentSpellDamage
(
t
,
25
,
29
0
)
)
return
(
[[
Surround yourself with Wildfire, increasing all your fire damage by %d%% and ignor
ing %
d%%
fire
resistance of your targets.]]
)
:
format
(
self
:
getTalentLevelRaw
(
t
)
*
2
,
self
:
getTalentLevelRaw
(
t
)
*
1
0
)
end
,
}
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