Ability Skill Tree + Passive Tree
Mod for RusAcis 3.4 (aCis / Interlude)
Mod for RusAcis 3.4 (aCis / Interlude)
- Ability Tree - complete, main system: 3 themed paths (Defense, Physical, Magical), 45 nodes (15 per tree), 5 rows of 3 skills with progressive tiers (0/5/10/15/20 points). Players spend "Ability Points" (configurable item) to learn and can reset with partial or full refund.
- Passive Tree - secondary/optional system that ships together: buyable passive skill categories with a currency and geometric cost per level.
- Access via NPC (50050) and/or Community Board (_bbsability / _bbspassive).
- Skills are passively re-applied on login from the database, refund on reset follows config.
- 3 skill trees in a Mobius-style grid (rows x columns, tier requirements).
- Node requirements: character level, points spent in the tree (tier), prerequisite skill of the previous row, total points ability cap.
- Learn / level-up / reset (per tree or full reset with refund%).
- Everything configurable by XML - node names, icons, descriptions, levels, costs, prerequisites, stats.
- Skill effects use standard aCis stats (pDef, mDef, maxHp, pAtk, absorbDam, lethalRate, mReuse, skillMastery, etc.) plus a trigger skill (Armor Breaker) via ChanceSkillTrigger.
- Character data persisted in SQL (ability_tree / passive_tree tables).
- Optional Community Board integration (Alt+B) and optional custom interface sidebar button.
1. Database
Execute the two SQL scripts (ability_tree.sql, passive_tree.sql - optional).
2. Data (datapack)
3. Config
4. Java (gameserver)
5. NPC
Spawn an NPC with the configured id (default 50050).
Note: the passive tree requires you to create data/xml/passiveTree.xml with your categories - it does not ship with data in this source.
Full step-by-step is inside README.txt in the package.
Execute the two SQL scripts (ability_tree.sql, passive_tree.sql - optional).
2. Data (datapack)
- data/xml/abilitySkillTree.xml -> dist/data/xml/
- data/xml/skills/50000-abilitytree.xml -> dist/data/xml/skills/
- Paste the NPC 50050 "Ability Tree" definition into your NPC file.
3. Config
- abilityTree.properties (NPC id, ability point item, cost per node, refund %, max points)
- passiveTree.properties (optional)
4. Java (gameserver)
- AbilityTreeManager / AbilityNode / AbilityTreeBoard / PassiveTreeNpc (new files)
- PassiveTreeManager / PassiveCategory / PassiveTreeBoard (optional, passive tree)
- Patches: Config.java (fields + load), GameServer.java (init), EnterWorld.java (apply on login), RequestBypassToServer.java (bypass case), CommunityBoard.java (bbs routes), scripts.xml (script registration).
5. NPC
Spawn an NPC with the configured id (default 50050).
Note: the passive tree requires you to create data/xml/passiveTree.xml with your categories - it does not ship with data in this source.
Full step-by-step is inside README.txt in the package.
1. DEFENSE (50001 - 50015)
| ID | Skill | Tier | MaxLv | Effect |
|---|---|---|---|---|
| 50001 | Physical Defense | 0 | 5 | P.Def +5/10/15/20/25 |
| 50002 | Magical Defense | 0 | 5 | M.Def +5/10/15/20/25 |
| 50003 | Health Increase | 0 | 5 | Max HP/CP +50/100/150/200/250 |
| 50004 | Physical Barrier | 5 | 5 | P.Def x1.005/1.010/1.015/1.020/1.025 |
| 50005 | Magical Barrier | 5 | 5 | M.Def x1.005/1.010/1.015/1.020/1.025 |
| 50006 | Robustness | 5 | 5 | Max HP/CP x1.01/1.02/1.03/1.04/1.05 |
| 50007 | Physical Reflect | 10 | 5 | Reflect Phys. Skill +1/2/3/4/5% |
| 50008 | Elemental Resistance | 10 | 5 | Elem. Res +5/10/15/20/25 |
| 50009 | Deflect Arrows | 10 | 5 | Arrow Res +5/10/15/20/25 |
| 50010 | Magical Reflect | 15 | 5 | Reflect Magic Skill +1/2/3/4/5% |
| 50011 | Divine Protection | 15 | 5 | Elem. Res +1/2/3/4/5 |
| 50012 | Shield Defense | 15 | 5 | Arrow Res +1/2/3/4/5% |
| 50013 | Iron Skin | 20 | 1 | P.Def x1.10 |
| 50014 | Clear Mind | 20 | 1 | M.Def x1.10 |
| 50015 | Indomitable | 20 | 1 | Stun vuln +20 |
2. PHYSICAL (50016 - 50030)
| ID | Skill | Tier | MaxLv | Effect |
|---|---|---|---|---|
| 50016 | Physical Attack | 0 | 5 | P.Atk +25/50/75/100/125 |
| 50017 | Rage Augment | 0 | 5 | Atk.Spd +10/20/30/40/50 |
| 50018 | Speed Effect | 0 | 5 | Speed +2/4/6/8/10 |
| 50019 | Physical Master | 5 | 5 | P.Atk x1.005..1.025 |
| 50020 | Swift Fury | 5 | 5 | Atk.Spd x1.005..1.025 |
| 50021 | Lynx Eye | 5 | 5 | Speed x1.01..1.05 |
| 50022 | Physical Evasion | 10 | 5 | Evasion +2/4/6/8/10 |
| 50023 | Vampiric Power | 10 | 5 | Vampire +0.5/1.0/1.5/2.0/2.5 |
| 50024 | Berserker Fury | 10 | 5 | P.Atk+10, Atk.Spd+5, Spd+1, P/M.Def-20 |
| 50025 | Fatal Strike | 15 | 5 | Lethal x1.05..1.25 |
| 50026 | Vampire Lord | 15 | 5 | P.Atk x1.01..1.05, Vampire +1..5 |
| 50027 | Berserker Rage | 15 | 5 | P.Atk/Atk.Spd mult, Spd+2, P/M.Def x0.98..0.90 |
| 50028 | Titanic Force | 20 | 1 | P.Atk x1.10 |
| 50029 | Bloodlust | 20 | 1 | Vampire +10 |
| 50030 | Armor Breaker | 20 | 1 | On hit 10% -> 50046 (P.Def x0.80, 10s) |
3. MAGICAL (50031 - 50045)
| ID | Skill | Tier | MaxLv | Effect |
|---|---|---|---|---|
| 50031 | Magic Power | 0 | 5 | M.Atk +10/20/30/40/50 |
| 50032 | Arcane Vitality | 0 | 5 | Max HP/MP +30/60/90/120/150 |
| 50033 | Mana Surge | 0 | 5 | M.Atk+10, Cast.Spd+5, P/M.Def x0.995..0.975 |
| 50034 | Destructive Magic | 5 | 5 | M.Atk x1.005..1.025 |
| 50035 | Vitality Flow | 5 | 5 | Max HP/MP x1.02..1.10 |
| 50036 | Arcane Flow | 5 | 5 | M.Atk x1.01..1.05, Cast.Spd x1.005..1.025, P/M.Def x0.98..0.90 |
| 50037 | Arcane Shielding | 10 | 5 | Shield Rate x1.01..1.05 |
| 50038 | Mana Conservation | 10 | 5 | Magic re-use x0.99..0.95 |
| 50039 | Mental Clarity | 10 | 5 | Cast.Spd +10/20/30/40/50 |
| 50040 | Arrow Resistance | 15 | 5 | Bow res x0.99..0.95 |
| 50041 | Magic Efficiency | 15 | 5 | Magic re-use x0.98..0.90 |
| 50042 | Unwavering Focus | 15 | 5 | Cast.Spd x1.005..1.025 |
| 50043 | Arcane Wisdom | 20 | 1 | M.Atk x1.10, Cast.Spd x1.10 |
| 50044 | Soul Drain | 20 | 1 | MP regen +5 |
| 50045 | Arcane Burst | 20 | 1 | Skill Mastery +5 |
Note: row 2 requires the matching row 1 skill at Lv1; row 4 requires the matching row 3 skill at Lv1. Tier = points needed in that tree before unlocking.
Attached: AbilityTree_Release.zip (all XML / SQL / Java / patches / README)
mmo-dev.info
mmo-dev.info
Feel free to modify names, tiers, costs and effects in the XMLs without touching Java code. Any questions, just ask!