XP 스크립트

http://www.gamebaker.com/rmxp/scripts/immunity-message.htm
  속성이나 상태공격시 해당 속성이나 상태이상이 무효일 때는 Miss대신 Immune이라는 메세지가 뜨게 한 스크립트입니다.


#=============================================================================
# ** SG Immunity Message
#=============================================================================
# sandgolem
# Version 1
# 20.04.06
#=============================================================================
#
# To check for updates or find more scripts, visit:
#      http://www.gamebaker.com/rmxp/scripts/
#
# To use this script, copy it and insert it in a new section above "Main",
# but under the default scripts and the SDK if you're using it.
#
# Have problems? You can leave me a message at:
# http://www.gamebaker.com/users/sandgolem
#
#=============================================================================

#--------------------------------------------------------------------------
# * SDK Log Script
#--------------------------------------------------------------------------
begin
  SDK.log("SG Immunity Message", "sandgolem", 1, "20.04.06")
  if SDK.state("SG Immunity Message") != true
    @sg_immunemsg_disabled = true
  end
  rescue
end

#--------------------------------------------------------------------------
# * Begin SDK Enable Test
#--------------------------------------------------------------------------
if !@sg_immunemsg_disabled
 
module RPG
  class Sprite < ::Sprite
    alias sandgolem_immunemsg_sprite_dam damage   
    def damage(value, critical)
      if @battler.sg_skill_immune == true
        if value == 'Miss'
          value = 'Immune'
        end
      end
      sandgolem_immunemsg_sprite_dam(value, critical)
    end
  end
end

class Game_Battler
  attr_reader :sg_skill_immune 
  alias sandgolem_immunemsg_gamebat_statesplus states_plus
 
  def sg_state_immune_check(statecheck)
    @sg_skill_immune = nil
    for i in statecheck
      if $data_states[i].nonresistance
        return
      end
      if self.state_ranks[i] != 0 && self.state_ranks[i] != 6
        return
      end
    end
    @sg_skill_immune = true
  end
 
  def states_plus(plus_state_set)
    sg_state_immune_check(plus_state_set)
    sandgolem_immunemsg_gamebat_statesplus(plus_state_set)
  end
end

#--------------------------------------------------------------------------
# * End SDK Enable Test
#--------------------------------------------------------------------------
end

Who's 백호

?

이상혁입니다.

http://elab.kr


List of Articles
번호 분류 제목 글쓴이 날짜 조회 수
공지 스크립트 자료 게시물 작성시 주의사항 습작 2012.12.24 6202
701 기타 [신기술 체험] RM포트리스 4 file 백호 2009.02.22 1430
700 전투 KGC_AutoRecover(매턴 자동 회복) 1 백호 2009.02.22 1431
699 전투 Mr Mo DVV Addon #20~#21 Alkaid 2011.09.05 1432
698 메뉴 Leidy's Ring Command Window 1.2 by DerVVulfman Alkaid 2012.09.09 1433
697 기타 모험 일기 스크립트 2 file 백호 2009.02.21 1434
696 전투 대전게임 Fighter 1 file 백호 2009.02.21 1436
695 스킬 Grouping and Details 8.1 by DerVVulfman 4 file Alkaid 2011.04.18 1437
694 전투 Mr. Mo's ABS Ultimate by DerVVulfman Alkaid 2011.09.05 1438
693 전투 전투 난이도 설정 스크립트 file 백호 2009.02.21 1442
692 전투 배틀 리포트 화면 변경 스크립트 2 file 백호 2009.02.21 1444
691 기타 필드에서 경험치%를 표시합니다. 4 file 백호 2009.02.22 1448
690 기타 프리 윈도우 스크립트 (상입오두막 출처) 6 백호 2009.02.21 1449
689 기타 sandgolem Script Archive (RMXP SDK 1.5 이상 필요) file Alkaid 2011.02.17 1453
688 전투 S ABS_NonSDK ver 1 file 백호 2009.02.22 1458
687 전투 Minkoff's Animated Battlers - Enhanced 13.4 by DerVVulfman 2 Alkaid 2011.07.13 1458
686 전투 추적 공격 스크립트 백호 2009.02.21 1459
685 전투 SG_Batte Retry ver.4 by sandgolem 2 백호 2009.02.22 1460
684 메뉴 FF7형식의 메뉴로 변경하는 스크립트 1 file 백호 2009.02.21 1463
683 HUD 맵 이름 표시 by Slipknot@rmxp.net (SDK호환) 2 백호 2009.02.22 1463
682 장비 MultiSlots! 2.4 by DerVVulfman 2 Alkaid 2011.09.05 1466
Board Pagination Prev 1 ... 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 ... 52 Next
/ 52