じ☆ve冰风 发表于 4 天前

Guard Upgrade (Custom Guard Skills, Guard Damage Divisor Stat, Set Self to Guard

Guard Upgrade​
(version 1.00)​
by SumRndmDde​
 ​
Intro:

Uuuuuuugh, I hate making these posts.

But, I created the Plugin, so I should post it anyway. T_T

What This Plugin Does:

This Plugin allows you to manipulate the Guard system in your game.

The two main points of this Plugin is:

 - the ability to change an Actor's guard skill,

 - the ability to manipulate how much damage is reduced from Guarding using a new stat called Guard Damage Divisor (GDD).

Other key features of this Plugin include:

- Ability to make an Actor guard when using a Skill that does not target themself

- Ability to use a new stat called Guard Damage Divisor to manipulate guarding damage

- Ability to set Guard Damage Divisor based on Actor/Class/Armor/Weapon/State

- Ability to add Guard Damage Divisor based on Actor/Class/Armor/Weapon/State

- Ability to set Guard Damage Divisor for Enemies

- Ability to set defaults for every value in this Plugin

How Does GDD work:

Before anything else, I think I should go over how Guard Damage Divisor (GDD) works.

Normally, when someone is damaged while they are guarding, the damage is cut in half, like this:

Guarding Damage = Damage * (1 / 2)

However, in this Plugin, GDD replaces the "2" you see in the formula, like this:

Guarding Damage = Damage * (1 / GDD)

This means if GDD is 4, then all damage is 1/4th as strong when guarding.

If GDD is 10, then all damage is 1/10th as strong when guarding.

If GDD is 100, then all damage is 1/100th as strong when guarding.

Finally, just wanted to say that each Actor has a unique GDD.

Furthermore, the amount of GDD that each Actor starts with by default can be changed in the Parameters.

(By default, it is 2).

How To Use It:

Let's start with the Notetags.

 ​
Notetags:

Actor/Class/Weapon/Armor/State Notetags:

<setGuardDamageDivisor: x>

Set x to the Guard Damage Divisor (GDD) you wish for this Actor to have.

This will override all <addGuardDamageDivisor: x> commands.

Furthermore, this command takes the following priority:

- State

- Weapon

- Armor

- Class

- Actor

If multiple of these have <setGuardDamageDivisor: x> in their Notetag,

then the one higher on the list will be the one used.

<addGuardDamageDivisor: x>

Set x to the amount of Guard Damage Divisor (GDD) you wish this

Actor/Class/Armor/Weapon/State to add to their total GDD.

The total number is used as the Actor's GDD.

<guardSkillID: x>

Set x to the Skill ID you wish this Actor to use when they

use the Guard command in battle.

Furthermore, this command takes the following priority:

- State

- Weapon

- Armor

- Class

- Actor

If multiple of these have <guardSkillID: x> in their Notetag,

then the one higher on the list will be the one used.

Enemy Notetags:

<guardDamageDivisor: x>

Set x to the Guard Damage Divisor (GDD) you wish this Enemy to have.

 ​
Skill Notetags:.

<appliesGuardToUser>

Inputting this into the Notetag of a Skill will make the User guard

no matter what the Skill's scope (target) is.

 ​
 ​
Parameters:

Default GDD (Actors)

This is the default Guard Damage Divisor (GDD) that Actors

use when they do not have a specific one.

Default is 2

Default GDD (Enemies)

This is the default Guard Damage Divisor (GDD) that Enemies

use when they do not have a specific one.

Default is 2

Default Guard Skill

Input the Skill ID you wish for Actors to use when

one hasn't specifically been set.

Default is 2

Guard State ID

Input the State ID for a "normal" guard State.

It is used in the <appliesGuardToUser> command.

Default is 2



Show GDD in Status?

Set this to 'yes' if you wish for the Actor's Guard

Damage Divisor (GDD) to be displayed on the Status Menu.

Default is yes

Status GDD Name

This is what Guard Damage Divisor (GDD) is called on the Status Menu.

Default is Guard Damage Divisor

Status GDD Color

This is what Guard Damage Divisor (GDD) is colored on the Status Menu.

Default is 2

Status GDD Width

This is how wide the Guard Damage Divisor (GDD) is on the Status Menu.

If it looks squished, then increase this number.

Default is 240

 ​
 ​
Damage Formula Functions:

a.gdd

Returns the battler's Guard Damage Divisor (GDD).

Screenshots:



Spoiler
http://i.imgur.com/B1ECIwj.jpg



http://i.imgur.com/YsQobka.jpg



http://i.imgur.com/rnEZ1UA.png



http://i.imgur.com/n8uwcrL.png



http://i.imgur.com/JoXp2u0.png



http://i.imgur.com/A9yAgzT.png



http://i.imgur.com/PoGhxpH.png






Download:

There is a link to download the plugin in the description of this YouTube video.

https://www.youtube.com/watch?v=xIfIqABfOxk

It's a tutorial/trailer for the plugin also, so feel free to watch and enjoy it!     
data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7

Terms of Use:

Two rules:

1) This script is free for usage in non-commercial and commercial projects.

2) If used in a commercial project, give credit to "SumRndmDde" somewhere!

FAQ:

Q: The plugin receives an error or doesn't work for whatever reason.

A: Post whatever error you get or what won't work in a reply, and I'll see what I can do.

Q: You suck.

A: How else am I going to use a straw? 

Change Log:

Version 1.00

- Plugin Created


本贴来自国际rpgmaker官方论坛作者:SumRndmDde处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/guard-upgrade-custom-guard-skills-guard-damage-divisor-stat-set-self-to-guard-and-more.51484/
页: [1]
查看完整版本: Guard Upgrade (Custom Guard Skills, Guard Damage Divisor Stat, Set Self to Guard