-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: offensive and defensive skills
- Loading branch information
1 parent
a49b5d7
commit 50458b9
Showing
18 changed files
with
338 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import my | ||
|
||
|
||
def tp_init(self): | ||
# begin sort marker | ||
my.gfx_ascii_shown(self, True) | ||
my.is_loggable(self, True) | ||
my.is_skill(self, True) | ||
my.is_tickable(self, True) | ||
my.skill_base_name(self, "skill_iron_defense") | ||
my.text_description_long(self, "This skill allows you to focus all your energies purely on defense.") | ||
my.text_description_short(self, "Iron defense skill.") | ||
my.tick_prio(self, my.MAP_TICK_PRIO_NORMAL) | ||
my.z_prio(self, my.MAP_Z_PRIO_ALWAYS_BEHIND) | ||
# end sort marker | ||
my.tile(self, tile="skill_iron_defense") | ||
my.tile(self, tile="skill_iron_defense_activated") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import my | ||
import tp | ||
import skill_iron_defense0 | ||
|
||
self = None | ||
|
||
|
||
def tp_init(name, text_long_name, text_short_name): | ||
global self | ||
self = tp.Tp(name, text_long_name, text_short_name) | ||
# begin sort marker | ||
my.stat_def_bonus(self, 2) | ||
my.text_description_very_short(self, "IronDef1") | ||
# end sort marker | ||
skill_iron_defense0.tp_init(self) | ||
my.tp_update(self) | ||
|
||
|
||
def init(): | ||
tp_init(name="skill_iron_defense1", text_long_name="iron defense 1", text_short_name="iron defense 1") | ||
|
||
|
||
init() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import my | ||
import tp | ||
import skill_iron_defense0 | ||
|
||
self = None | ||
|
||
|
||
def tp_init(name, text_long_name, text_short_name): | ||
global self | ||
self = tp.Tp(name, text_long_name, text_short_name) | ||
# begin sort marker | ||
my.skill_replaces(self, "skill_iron_defense1") | ||
my.stat_def_bonus(self, 4) | ||
my.text_description_very_short(self, "IronDef2") | ||
# end sort marker | ||
skill_iron_defense0.tp_init(self) | ||
my.tp_update(self) | ||
|
||
|
||
def init(): | ||
tp_init(name="skill_iron_defense2", text_long_name="iron defense 2", text_short_name="iron defense 2") | ||
|
||
|
||
init() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import my | ||
import tp | ||
import skill_iron_defense0 | ||
|
||
self = None | ||
|
||
|
||
def tp_init(name, text_long_name, text_short_name): | ||
global self | ||
self = tp.Tp(name, text_long_name, text_short_name) | ||
# begin sort marker | ||
my.skill_replaces(self, "skill_iron_defense2") | ||
my.stat_def_bonus(self, 6) | ||
my.text_description_very_short(self, "IronDef3") | ||
# end sort marker | ||
skill_iron_defense0.tp_init(self) | ||
my.tp_update(self) | ||
|
||
|
||
def init(): | ||
tp_init(name="skill_iron_defense3", text_long_name="iron defense 3", text_short_name="iron defense 3") | ||
|
||
|
||
init() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import my | ||
import tp | ||
import skill_iron_defense0 | ||
|
||
self = None | ||
|
||
|
||
def tp_init(name, text_long_name, text_short_name): | ||
global self | ||
self = tp.Tp(name, text_long_name, text_short_name) | ||
# begin sort marker | ||
my.skill_replaces(self, "skill_iron_defense3") | ||
my.stat_def_bonus(self, 8) | ||
my.text_description_very_short(self, "IronDef4") | ||
# end sort marker | ||
skill_iron_defense0.tp_init(self) | ||
my.tp_update(self) | ||
|
||
|
||
def init(): | ||
tp_init(name="skill_iron_defense4", text_long_name="iron defense 4", text_short_name="iron defense 4") | ||
|
||
|
||
init() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import my | ||
import tp | ||
import skill_iron_defense0 | ||
|
||
self = None | ||
|
||
|
||
def tp_init(name, text_long_name, text_short_name): | ||
global self | ||
self = tp.Tp(name, text_long_name, text_short_name) | ||
# begin sort marker | ||
my.skill_replaces(self, "skill_iron_defense4") | ||
my.stat_def_bonus(self, 10) | ||
my.text_description_very_short(self, "IronDef5") | ||
# end sort marker | ||
skill_iron_defense0.tp_init(self) | ||
my.tp_update(self) | ||
|
||
|
||
def init(): | ||
tp_init(name="skill_iron_defense5", text_long_name="iron defense 5", text_short_name="iron defense 5") | ||
|
||
|
||
init() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import my | ||
|
||
|
||
def tp_init(self): | ||
# begin sort marker | ||
my.gfx_ascii_shown(self, True) | ||
my.is_loggable(self, True) | ||
my.is_skill(self, True) | ||
my.is_tickable(self, True) | ||
my.skill_base_name(self, "skill_power_attack") | ||
my.text_description_long(self, "This skill allows you to increase your attack bonus at the expense of defense.") | ||
my.text_description_short(self, "Power attack skill.") | ||
my.tick_prio(self, my.MAP_TICK_PRIO_NORMAL) | ||
my.z_prio(self, my.MAP_Z_PRIO_ALWAYS_BEHIND) | ||
# end sort marker | ||
my.tile(self, tile="skill_power_attack") | ||
my.tile(self, tile="skill_power_attack_activated") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import my | ||
import tp | ||
import skill_power_attack0 | ||
|
||
self = None | ||
|
||
|
||
def tp_init(name, text_long_name, text_short_name): | ||
global self | ||
self = tp.Tp(name, text_long_name, text_short_name) | ||
# begin sort marker | ||
my.stat_def_bonus(self, -2) | ||
my.stat_att_bonus(self, 2) | ||
my.text_description_very_short(self, "IronDef1") | ||
# end sort marker | ||
skill_power_attack0.tp_init(self) | ||
my.tp_update(self) | ||
|
||
|
||
def init(): | ||
tp_init(name="skill_power_attack1", text_long_name="power attack 1", text_short_name="power attack 1") | ||
|
||
|
||
init() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import my | ||
import tp | ||
import skill_power_attack0 | ||
|
||
self = None | ||
|
||
|
||
def tp_init(name, text_long_name, text_short_name): | ||
global self | ||
self = tp.Tp(name, text_long_name, text_short_name) | ||
# begin sort marker | ||
my.skill_replaces(self, "skill_power_attack1") | ||
my.stat_def_bonus(self, -4) | ||
my.stat_dex_bonus(self, 4) | ||
my.text_description_very_short(self, "IronDef2") | ||
# end sort marker | ||
skill_power_attack0.tp_init(self) | ||
my.tp_update(self) | ||
|
||
|
||
def init(): | ||
tp_init(name="skill_power_attack2", text_long_name="power attack 2", text_short_name="power attack 2") | ||
|
||
|
||
init() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import my | ||
import tp | ||
import skill_power_attack0 | ||
|
||
self = None | ||
|
||
|
||
def tp_init(name, text_long_name, text_short_name): | ||
global self | ||
self = tp.Tp(name, text_long_name, text_short_name) | ||
# begin sort marker | ||
my.skill_replaces(self, "skill_power_attack2") | ||
my.stat_def_bonus(self, -6) | ||
my.stat_att_bonus(self, 6) | ||
my.text_description_very_short(self, "IronDef3") | ||
# end sort marker | ||
skill_power_attack0.tp_init(self) | ||
my.tp_update(self) | ||
|
||
|
||
def init(): | ||
tp_init(name="skill_power_attack3", text_long_name="power attack 3", text_short_name="power attack 3") | ||
|
||
|
||
init() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import my | ||
import tp | ||
import skill_power_attack0 | ||
|
||
self = None | ||
|
||
|
||
def tp_init(name, text_long_name, text_short_name): | ||
global self | ||
self = tp.Tp(name, text_long_name, text_short_name) | ||
# begin sort marker | ||
my.skill_replaces(self, "skill_power_attack3") | ||
my.stat_def_bonus(self, -8) | ||
my.stat_att_bonus(self, 8) | ||
my.text_description_very_short(self, "IronDef4") | ||
# end sort marker | ||
skill_power_attack0.tp_init(self) | ||
my.tp_update(self) | ||
|
||
|
||
def init(): | ||
tp_init(name="skill_power_attack4", text_long_name="power attack 4", text_short_name="power attack 4") | ||
|
||
|
||
init() |
Oops, something went wrong.