Jump to content
The forums will be going offline for an extended maintenance period at 1400hrs GMT on 19th June 2025. The number of hours for this downtime is intentionally not advertised due to the nature of these upgrades. ×

Max Trap Control 1.0.0


1 Screenshot

About This File

This mod allows you to control the number of traps that the player can use.

conf/battle/skill.conf

// Max Trap [Hyroshima]
// Functionality to control the number of active traps.
// Note:
//  skill_max_trap > Controls the number of individual active trap skills that were not been to defined parameter ActiveInstance in skill_db.yml
//  global_max_trap > Controls the maximum active trap skills for all skill traps (listed in skill.cpp -> trap_skill_id), this option overrides skill_max_trap if the definer is smaller than it
//-
// skill_max_trap: 0 (disabled)
// global_max_trap: 0 (disabled)
//-
skill_max_trap: 0
global_max_trap: 0
  • the option skill_max_trap only affects skills that do not have the parameter ActiveInstance in skill_db.yml
  • the option global_max_trap affects all trap skills mentioned above in the code box, the skills are listed in the function as I also inform in the description of the code box above.

 

Note: i am making 2 diff files available:

  • _A = Closest to current revision.
  • _B = A little older compared to the current review

As there have been some changes to how some functions receive/send parameters, I will try to maintain this standard when sending diff files.

 


What's New in Version 1.0.0

Released

Fixed a bug that caused a crash when a mob used any of the trap skills, now the limit will only affect players.

  • Love 4

×
×
  • Create New...