Feature: Geomancy Element Shift

Help spread the word!Share on FacebookShare on TumblrTweet about this on TwitterShare on Google+Share on LinkedInShare on RedditFlattr the author

This feature allows you shift a target’s element rate during damage processing. It uses the following rules for element shifting on the elemental damage:

  • If target absorbs element, then it nulls it
  • If target nulls element, then it halves it
  • If target halves element, then it takes full damage
  • If target takes full damage, then it doubles it
  • If target is weak against element, then it absorbs the extra damage

Download

Script: download here
Required: Feature Manager

Installation

Place this script below Feature Manager and above Main

Usage

Tag feature objects with

<ft: geomancy_element_shift>

All elemental damage will automatically be adjusted based on the following
shift rules: for some rate r,

r < 0, then r = 0
r in [0, 0.5), then r = 0.5
r in [0.5, 1), then r = 1
r == 1, then r = 2
r > 1, then r = -(r - 1)

You can adjust these rules however you wish for your own project.

Help spread the word!Share on FacebookShare on TumblrTweet about this on TwitterShare on Google+Share on LinkedInShare on RedditFlattr the author

You may also like...

Leave a Reply

Your email address will not be published.

To create code blocks or other preformatted text, indent by four spaces:

    This will be displayed in a monospaced font. The first four 
    spaces will be stripped off, but all other whitespace
    will be preserved.
    
    Markdown is turned off in code blocks:
     [This is not a link](http://example.com)

To create not a block, but an inline code span, use backticks:

Here is some inline `code`.

For more help see http://daringfireball.net/projects/markdown/syntax