- 累计送礼:
- 0 个
- 累计收礼:
- 1 个
TA的每日心情 | 开心 2026-9-3 22:57 |
|---|
签到天数: 211 天 连续签到: 1 天 [LV.7]常住居民III

管理员
  
- VIP
- 7
- 卡币
- 64419
- OK点
- 16
- 推广点
- 0
- 同能卷
- 50
- 积分
- 74390


|
PluginName: SDJB_SaveManager
Author: ShadowDragon
This plugin is completely rewritten from the ground up
and works differently as it was before.
Smoother and save as its own object entirely!
Spoiler: How to use Code: - Introduction
- ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞
- This plugin adds per-save-file changes to the database.
-
- It makes unique (one-of-a-kind) weapons or armors
- easy to upgrade without adding or removing them from the inventory.
- How to use
- ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞
- Types: "weapon" and "armor"
- Available parameters: mhp, mmp, atk, def, mat, mdf, agi, luk
- Upgrade an item using a script call:
- => Example for armor
- SDJB_SaveManager.saveNewValue("armor", 1, {
- name: "Shield +1",
- iconIndex: 20,
- atk: -3,
- def: 20,
- description: "New upgraded shield",
- });
- => Example for weapon
- SDJB_SaveManager.saveNewValue("weapon", 1, {
- name: "Sword +1",
- iconIndex: 10,
- atk: 15,
- description: "New upgraded sword",
- });
- Or fully override the params array (armor or weapon):
- SDJB_SaveManager.saveNewValue("weapon", 1, {
- name: "Sword +1",
- iconIndex: 10,
- params: [0, 0, 15, 0, 0, 0, 0, 0],
- description: "New upgraded sword",
- });
- Both methods update the name, icon, parameters, and description
- of $dataWeapons[1].
- First example: only attack changes to 15.
- Second example: only the attack parameter (params[2]) changes,
- but it requires the full array to set the new values:
- [mhp, mmp, atk, def, mat, mdf, agi, luk].
- First option is cleaner, but both are valid.
复制代码
=== TERMS OF USE ===
Free for Non-Commercial and Commercial use when credit is given.
credit one of the following:
ShadowDragon
ShadowDragonJB
=== WARNING ===
YOU ARE NOT ALLOWED TO REDISTRIBUTE OR SELL IT OR TAKE CODE FOR YOUR OWN.
DO NOT REMOVE THE HEADER.
(require my base plugin ( SDJB_Base or SDJB_BaseMVZ (minified version))
leave Feedback and or suggestions.
Download from itch.io
本贴来自国际rpgmaker官方论坛作者:ShadowDragon处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址: https://forums.rpgmakerweb.com/threads/sdjb_savemanager.149222/ |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?立即注册
x
|