Group: Member
Posts: 35
Type: Developer
RM Skill: Skilled
(Pretty sure this is in the right spot) I was having a custom script being done for my game, but the person scripting it hasn't improved upon this script and hasn't even started and it's been around a month.
The script was made to allow the damage of a skill happen DURING the skill's animation. This allows battles to go a lot faster, and gives the game a more realistic perspective.
The problems with this script are two things: 1. Using "Attack" makes the Attack hit twice, or 4 times for "Dual attack" attacks. 2. Same thing using items that heal/damage ETC.
I normally wouldn't post it, I'm not sure if he wants others using it, but it doesn't work in it's current state due to these 2 problems.
Hungrysnake's Show Damage
CODE
# ============================================================================ # # Quick snippet by HungrySnake # # # # This snippet simply shows the dealt damage directly after using a skill. # # It's plug and play # # ============================================================================ #
def display_normal_animation(targets, animation_id, mirror = false) animation = $data_animations[animation_id] if animation != nil to_screen = (animation.position == 3) # Is the positon "screen"? for target in targets.uniq target.animation_id = animation_id target.animation_mirror = mirror for target1 in targets target1.skill_effect(@active_battler, @skill_lol) display_action_effects(target1, @skill_lol) end wait(20, true) unless to_screen # If for one, wait end wait(20, true) if to_screen # If for all, wait end end end
__________________________
My epic game. Put this in your siggy if you support it! Demo was just updated, check it out!