gw coba jawab ya...
- Code:
-
module PARA_WSKL
# WEAPON RESTRICTED ELEMENT
# Skills with this tag are only available if no weapon is equipped.
# (Ensure that these skills have extremely low PDEF-F scores... '0' is best.)
NO_WEAPON_NAME = "NoWeapon"
# SKILL RESTRICTING ELEMENT
# Only skills with this element tag are available.
# Any skill without this element is disabled. Also, skills with this element
# prevents disabling through the NO_WEAPON_NAME and VARIABLE_WEAPON elements.
VARIABLE_SKILL = "Skill"
# WEAPON PERMITTING ELEMENT
# If a weapon and skill both share this element, the skill becomes available.
# If a skill has two element attributes, a weapon with at least one of these
# elements will make the skill available.
VARIABLE_WEAPON = ["Slash", "Pierce", "Strike"]
# VISIBILITY OPTION
# (0: Normal / 1: Restricted skills hidden in combat / 2: Restricted skills hidden)
VISIBLE_TYPE = 0
end
coba cek deh configurationnya...
kan ada 3 bagian tuh
WEAPON RESTRICTED ELEMENT
kamu bikin element "NoWeapon", trus setiap skill yang di tag nih element bisa di pake tanpa equip weapon yang dipake (klo di pake malah ilang tuh skill)
SKILL RESTRICTING ELEMENT
kamu bikin element "Skill", trus setiap skill yang di tag nih element bisa di pake di battle tanpa merhatiiin 2 bagian yang laen, tapi klo ga di tag ama element ini skill itu ga bisa di pake dan klo mo make mesti liat 2 bagian yang laen
WEAPON PERMITTING ELEMENT
nih bagian element2 yang mau di bikin ambil contoh aja kamu buat ["Sword","Spear"], tar setiap skill yang di tag ama element2 yang ada di bagian ini bakal dicocokin sama element weapon yang lagi di equip, klo sama ya bisa di pake , klo beda ya ga bisa...
Cth Skill:
Heal di tag element "Skill"
Spear Trust di tag element "Spear"
Knuckle Dust di tag element "NoWeapon"
tuh skill "Heal" bs di pake terus, klo Spear Trust bisa di pake klo pake weapon yang element "Spear" juga, klo Knuckle Dust cuba bisa di pake klo charnya ga pake weapon...
dah gw coba kok... cobain deh