CARVIEW |
Select Language
HTTP/2 200
date: Sun, 12 Oct 2025 02:06:55 GMT
content-type: text/html; charset=UTF-8
server: cloudflare
x-frame-options: DENY
x-content-type-options: nosniff
x-xss-protection: 1;mode=block
vary: accept-encoding
cf-cache-status: DYNAMIC
content-encoding: gzip
set-cookie: _csrf-frontend=6b5e2d57b8332984c79d8105d1b9cebe66cf3b38a5002b4dadd1314f9ad10734a%3A2%3A%7Bi%3A0%3Bs%3A14%3A%22_csrf-frontend%22%3Bi%3A1%3Bs%3A32%3A%22-SjDbkZaK24Gx8HEMVCbl4B_wO5elUOz%22%3B%7D; HttpOnly; Path=/
cf-ray: 98d30a6b1c10c1ba-BLR
Hime Enemy Class Addon - Skills - Pastebin.com
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # ╔═════════════════════════════════════╦════════════════════╗
- # ║ Title: Include class skills to enemy║ Version: 1.00 ║
- # ║ Author: Roninator2 ║ ║
- # ╠═════════════════════════════════════╬════════════════════╣
- # ║ Function: ║ Date Created ║
- # ║ ╠════════════════════╣
- # ║ Add class skills to enemy skills ║ 31 May 2022 ║
- # ╚═════════════════════════════════════╩════════════════════╝
- # ╔══════════════════════════════════════════════════════════╗
- # ║ Addon for Hime Enemy Classes script ║
- # ╚══════════════════════════════════════════════════════════╝
- # ╔══════════════════════════════════════════════════════════╗
- # ║ Instructions: ║
- # ║ Plug and play ║
- # ║ ║
- # ║ Script will add any skills in the class to the ║
- # ║ enemies skill list ║
- # ╚══════════════════════════════════════════════════════════╝
- # ╔══════════════════════════════════════════════════════════╗
- # ║ Terms of use: ║
- # ║ Free for all uses in RPG Maker except nudity ║
- # ╚══════════════════════════════════════════════════════════╝
- class Game_Enemy < Game_Battler
- #--------------------------------------------------------------------------
- # * Create Battle Action
- #--------------------------------------------------------------------------
- def make_class_actions
- $data_classes[enemy.class_id].learnings.each { |s|
- skl = RPG::Enemy::Action.new
- skl.skill_id = s.skill_id
- enemy.actions.push(skl)
- }
- end
- if $imported['ARC-AdvAIConditions']
- #--------------------------------------------------------------------------
- # ● Select an action
- #--------------------------------------------------------------------------
- def make_actions
- super
- return if @actions.empty?
- if enemy.class_id != 0
- make_class_actions
- end
- action_list = enemy.actions.select {|a| action_valid?(a) }
- # Process turn patterns
- unless enemy.t_patterns.keys.empty?
- if turn_patterns_ok?
- action_list = make_turn_patterns_list.select {|a| action_valid?(a)}
- end
- end
- # End Process turn patterns
- return if action_list.empty?
- # Process absolute rating
- absolute_list = action_list.reject {|a| a.rating != ARC::ABSOLUTE_RATING}
- unless absolute_list.empty?
- @actions.each do |action|
- action.set_enemy_action(absolute_list[rand(absolute_list.size)])
- end
- return
- end
- # Normal method end
- rating_max = action_list.collect {|a| a.rating }.max
- rating_zero = rating_max - 3
- action_list.reject! {|a| a.rating <= rating_zero }
- @actions.each do |action|
- action.set_enemy_action(select_enemy_action(action_list, rating_zero))
- end
- end
- else
- def make_actions
- super
- return if @actions.empty?
- if enemy.class_id != 0
- make_class_actions
- end
- action_list = enemy.actions.select {|a| action_valid?(a) }
- return if action_list.empty?
- rating_max = action_list.collect {|a| a.rating }.max
- rating_zero = rating_max - 3
- action_list.reject! {|a| a.rating <= rating_zero }
- @actions.each do |action|
- action.set_enemy_action(select_enemy_action(action_list, rating_zero))
- end
- end
- end
- end
Tags:
rpg maker vx ace
Advertisement
Add Comment
Please, Sign In to add comment
-
📌 Swapzone +37% glitch
JavaScript | 7 sec ago | 0.24 KB
-
📝 Exchange profit method
JavaScript | 16 sec ago | 0.24 KB
-
⭐ Free Crypto Method ⭐
JavaScript | 27 sec ago | 0.24 KB
-
📝 EASY MONEY GUIDE ✅ Working
JavaScript | 36 sec ago | 0.24 KB
-
📌 ChangeNOW Exploit
JavaScript | 45 sec ago | 0.24 KB
-
📌 Instant BTC Profit Method ✅ Working
JavaScript | 54 sec ago | 0.24 KB
-
📝 MAKE $2500 IN 15 MIN ✅ Working
JavaScript | 1 min ago | 0.24 KB
-
⭐✅ Marketplace Glitch ✅ Working ✅ NEVER SEEN...
JavaScript | 1 min ago | 0.25 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand