Jump to content
New account registrations are disabed. This website is now an archive. Read more here.
Sign in to follow this  
isaacsol

Isaacsol's Vampire System

Recommended Posts

I made a simple event system that allows you to make characters vampires:

 

This Event Requires the Following:

  • 1 Common Event
  • 1 Switch
  • 1 Variable
  • 2 Status'

Just a switch and name it "need blood" and make a variable and call it "blood level", after make a status called Drained that prevents the character from doing anything at all in battle (it must last outside of battle as well). After that make a common event and add event commands till it looks like this:

 

@>Control Variables: [0001: Blood Level] = 100
@>Loop
 @>Wait: 500 Frames
 @>Control Variables: [0001: Blood Level] -= 1
 @>Conditional Branch: Variable [0001: Blood Level] <20
 @>Change State: [Character], + [Status]
 @>Conditional Branch: Variable [0001: Blood Level] <5
	 @>Control Switches: [0001: NEED BLOOD!] = ON
	 @>Conditional Branch: Variable [0001: Blood Level] == 0
		@>Change State: [Character]. - [Status from Above]
		@>Change State: [Character], + [Downed]
		@>
	   :	Else
		 @>
	   :	Branch End
	 @>
   :	Else
	 @>
   :	Branch End
 @>
  :	Else
 @>
 :	Branch End
 @>
:	Repeat Above
@>

 

If you want to make it effect more than one character just make more status changes for the appropriate character(s).

 

Once complete just make a new event that is set to parallel process and have it look like this:

 

@>Call Common Event: Vampire System
@>

 

When you have done that you will need to make it so that when the variable reaches below the stated point the character will be able to attack npc's for their blood, to do this make a new event page for every npc and have its Conditions set to the switch called "need blood". Then input the following commands until your event looks like this:

 

@>Show Animation: This event, [Fang]
@>Text: (What you want the npc to say)
@>Text: Blood level Replenished
@>Change State: [Character], - [Drained]
@>Control Switches: [0001: Need Blood!] = OFF
@>Control Variables: [0001: Blood Level] = 100
@>

 

Don't forget to add the change state for any other characters that you have added.

 

And thats it, you have a fully working vampire system. Feel free to use but please credit. If you have any problems please feel free to PM me.

 

-isaacsol-

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...