Skip to content

Instantly share code, notes, and snippets.

View lctseng's full-sized avatar

Liang-Chi Tseng lctseng

View GitHub Profile
#encoding:utf-8
#===========================================================================
# RMVA 豪華型技能加點|技能被動效果: v1.05
# By希憶 66rpg.com
# 轉載或修改請保留此類信息
#===========================================================================
# 在遊戲系統類的實現
#
# 完工了,大概
#===========================================================================
#encoding:utf-8
#===========================================================================
# RMVA 豪華型技能加點|技能被動效果: v1.05
# By希憶 66rpg.com
# 轉載或修改請保留此類信息
#===========================================================================
# 在遊戲系統類的實現
#
# 完工了,大概
#===========================================================================
class Scene_ItemBase < Scene_MenuBase
def item_usable?
return false unless user.usable?(item)
if item.id == SkillLevel::RESETITEM
return false if item_target_actors[0].class.auto_sp
return true
elsif item.id == Point_Tree::RESET_ITEM and item.is_a?(RPG::Item)
return true
else
item_effects_valid?
#encoding:utf-8
#=============================================================================
#-----------RMVA加点系统正常向-v1.03---By:救世小树--------转载请注明出处-------
#=============================================================================
module Point_Tree
POINT_KIND = 6 #设定加点种类
LEVEL_UP_POINT = 3 #每升一级自由属性点增加数
RESET_ITEM = 29 #洗点水编号
#encoding:utf-8
#===========================================================================
# RMVA 豪華型技能加點|技能被動效果: v1.05
# By希憶 66rpg.com
# 轉載或修改請保留此類信息
#===========================================================================
# 在遊戲系統類的實現
#
# 完工了,大概
#===========================================================================
if true
#==============================================================================
# +++ MOG - Weather EX (v1.7) +++
#==============================================================================
# By Moghunter
# http://www.atelier-rgss.com/
#==============================================================================
# Sistema de clima com efeitos animados.
#==============================================================================
# As imagens usadas pelo sistema do clima devem ser gravadas na pasta
#=begin
#-------------------------------------------------------------------------------
# * [ACE] Khas Awesome Light Effects
#-------------------------------------------------------------------------------
# * By Khas Arcthunder - arcthunder.site40.net
# * Version: 1.0 EN
# * Released on: 17/01/2012
#
#-------------------------------------------------------------------------------
# *整體環境說明
# =============================================================================
# TheoAllen - Fog Screen
# Version : 2.0
# Contact : www.rpgmakerid.com (or) http://theolized.blogspot.com
# (This script documentation is written in informal indonesian language)
# =============================================================================
($imported ||={})[:Theo_FogScreen] = true
# =============================================================================
# CHANGE LOGS:
# -----------------------------------------------------------------------------
@lctseng
lctseng / unix_commands.md
Created February 22, 2017 02:44
some useful commands

replace text

find . -type f -not -path "./.git/*" -exec sed -i 's/tamashi/tamashii/g' {} +
@lctseng
lctseng / 加点(无需变量).rb
Last active March 2, 2017 04:08
移除部分顯示的xparams(id = 3,4,5,6)
#encoding:utf-8
#=============================================================================
#-----------RMVA加点系统正常向-v1.03---By:救世小树--------转载请注明出处-------
#=============================================================================
module Point_Tree
POINT_KIND = 6 #设定加点种类
LEVEL_UP_POINT = 3 #每升一级自由属性点增加数
RESET_ITEM = 29 #洗点水编号