summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-08-16 10:09:30 -0300
committerJesusaves <cpntb1@ymail.com>2021-08-16 10:09:30 -0300
commite3234c5ebb683950764ecd46dc27f50dfc490ee3 (patch)
treeed9a4df0775a80e6ccab0311f51847b40b16544a
parent8ebf5750decf897810c9ee162ab2d46511ee7b88 (diff)
downloadclient-e3234c5ebb683950764ecd46dc27f50dfc490ee3.tar.gz
client-e3234c5ebb683950764ecd46dc27f50dfc490ee3.tar.bz2
client-e3234c5ebb683950764ecd46dc27f50dfc490ee3.tar.xz
client-e3234c5ebb683950764ecd46dc27f50dfc490ee3.zip
Make the used spheres to be "consumed" (slightly better graphically)
-rw-r--r--game/battle.rpy4
1 files changed, 4 insertions, 0 deletions
diff --git a/game/battle.rpy b/game/battle.rpy
index 3d13134..581f9fa 100644
--- a/game/battle.rpy
+++ b/game/battle.rpy
@@ -55,6 +55,10 @@ init python:
## Animate action caster
bt_anim(entry[0], entry[1], czoom_on)
+ ## "Consume" the sphere (will be reset anyway)
+ if entry[0] == "party" and entry[2] > SPH_NONE and entry[2] < SRV_SKILL:
+ Battle["spheres"][entry[1]] = SPH_NONE
+
## Execute actions
if entry[2] in [SPH_NONE, SPH_PIERCE, SPH_ASSAULT, SPH_HEAL]:
## Play audio (WIP)