Elemental Reflector
#1
Element Reflector
by Hima
Aug 2 2007

This is a locked, single-post thread from Creation Asylum. Archived here to prevent its loss.
No support is given. If you are the owner of the thread, please contact administration.


Features
  • You can set any enemies to reflect any elements from database.
  • Easy to customize
  • You can create armors that help reflect any elements.
  • You can create status that reflect any elements.
  • You can even reflect any magic or any physical damage.
  • Basic attack with element will also be reflected, if that element reflector is activated.
Screenshots

Cast "Fire" to that stupid Ghost!
[Image: reflect-3.jpg]

Uh-oh! Reflected!?
[Image: reflect-4.jpg]

And look what happened...
[Image: reflect-5.jpg]

I just dealt 300 damage to myself :'(
[Image: reflect-6.jpg]


Script
Script


Instructions
- Copy this script and paste it below other scripts but above Main, named it "Hima_Element_Reflector"

- ELEMENTS is an array of attribute names that will be used to reflect another attributes.

Code:
ELEMENTS =
{"New attribute name" => ID of attribute that this name will reflect, "New attribute name" => ID of attribute that this name will reflect, ...}



In "ID of attribute that this name will reflect", you can enter these two specials input.
  • "Physical" -> For basic attack or any skills with atk_f >0
  • "Magic" -> For any skills with int_f > 0
- Now go to database, and create new attributes that has the same name with what you put in the script
[Image: reflect-1.jpg]

- To activate the reflect attribute, change that attribute into rate "A". For example, In script I put


Code:
Reflect Fire -> 1


that means new attribute with a name "Reflect Fire" will reflect an attribute with ID of 1, which is "Fire"
I want "Ghost" to activate this reflector, so I set "Reflect Fire" to be 'A'
[Image: reflect-2.jpg]

- If you want to create a status that create reflector effect, just mark the new attribute you just created.
[Image: reflect-7.jpg]

- And this also apply to create an armor with reflect status.
[Image: reflect-8.jpg]

Terms and Conditions
If you use this script, please give me credit. Also, it would be nice if you show me your game, because I would really like to play try a game with my script in it :P
}




Users browsing this thread: 1 Guest(s)