자유게시판

아흑1.JPG
TAG •
Comment '6'
  • profile

    #==============================================================================
    #   This script is NOT required to be installed.  In fact, you can configure
    # states within the Config script inself.  These are for the example
    # States 23 to 26 in the demo.  Please use this as an example on how to setup
    # your own customized regen/slip damage states, autolife, etc. - Mr. Bubble
    #==============================================================================

    module RPG
      class State
        alias extra_demo_example_extension extension
     #--------------------------------------------------------------------------
     # ● State Enhancement Extension Settings
     #--------------------------------------------------------------------------
     # - Note about REFLECT and NULL states:
     #      An item/skill is considered physical if "Physical Attack" is
     #      checked under "Options" in your Database.  Otherwise, it is magical.
     #
     # "AUTOLIFE/50"      - Automatically revives when Incapacitated.
     #                      Value after "/" is % of MAXHP restored when revived.
     # "MAGREFLECT/39"    - Reflects magical skills to the original caster.
     #                      Value after "/" is Animation ID when triggered.
     # "MAGNULL/39"       - Nullify magical skills and effects.
     #                      Value after "/" is Animation ID when triggered.
     # "PHYREFLECT/39"    - Reflects physical skills to the original caster.
     #                      Value after "/" is Animation ID when triggered.
     # "PHYNULL/39"       - Nullify physical skills and effects.
     #                      Value after "/" is Animation ID when triggered.
     # "COSTABSORB"       - Absorbs the MP (or HP) cost of an incoming skill when
     #                      affected.  This will not appear as POP Damage.  This
     #                      function is similar to Celes' "Runic" from FF6.
     # "ZEROTURNLIFT"     - State is lifted at the end of turn regardless.
     # "EXCEPTENEMY"      - Enemies will not use animation sequence assigned
     #                      under State Affliction Wait Animation Settings when
     #                      afflicted. (Actors still will.)
     # "NOPOP"            - State name will not appear as POP Damage.
     # "HIDEICON"         - State icon will not appear in the BattleStatus Window.
     # "NOSTATEANIME"     - State's caster and enemies will not use animation
     #                      sequence assigned under State Affliction Wait Animation
     #                      Settings when afflicted.
     # "SLIPDAMAGE"       - Apply slip damage.  Assign values under Slip Damage Settings.
     # "NONE"             - No extension. Used as a default.
        def extension
          case @id
          when 2 # 독
            return ["SLIPDAMAGE"]
          when 22 # 출혈
            return ["SLIPDAMAGE"] 
          when 23 # Regneration
            return ["SLIPDAMAGE"]
          when 24 # Mana Font
            return ["SLIPDAMAGE"]
          when 25 # Auto-life
            return ["AUTOLIFE/40"]
          when 26 # Physical Reflect
            return ["PHYREFLECT/39"]
          end
          extra_demo_example_extension
        end
     #--------------------------------------------------------------------------
     # ● Slip Damage Settings
     #--------------------------------------------------------------------------
     # - Also includes regeneration options.
     #
     # when 1 <- State ID. Slip Damage only applies if "SLIPDAMAGE" is assigned above.
     #      Multiple settings may be applied. Ex)[["hp",0,5,true],["mp",0,5,true]]
     #                          
     #        Type, Constant, %, POP?, Allow Death
     # return [["hp",    0,  10, true,  true]]
     #
     # Type       – "hp" or "mp".
     # Constant   – Set a constant value to apply each turn.
     #              Positive values are damage.  Negative values are recovery.
     # %          - Set a percentage value to apply each turn based on MAX HP/MP.
     #              Positive values are damage. Negative values are recovery.
     # POP?       - Determines whether or not you want slip damage value to
     #              appear as POP Damage.
     # Allow Death - true: Slip damage can kill.
     #               false: Slip damage will not kill. (Battler will be left at 1 HP)
        alias extra_demo_example_slip_extension slip_extension
        def slip_extension
          case @id
          when 2 # 독
            return [["hp", 0, 5, true, true]]
          when 22 # Regeneration
            return [["hp", 0, 5, true, true]]
          when 23 # Regeneration
            return [["hp", 0, -10, true, true]]
          when 24 # Mana Font
            return [["mp", 0, -5, true, true]]
          end
          extra_demo_example_slip_extension
        end
      end
    end

  • ?
    칼리아 2009.08.25 20:36
    ㄳ합니다.
  • ?
    괴도키드 2009.08.25 20:35

    뭘 어찌하라는건지;;

  • ?
    칼리아 2009.08.25 20:37
    뭘까요?
  • ?
    괴도키드 2009.08.25 20:38

    글쎄 제가 댓글을 올릴당시에는 댓글이 하나도 없었는데요 ㅋㅋ

    등록된 시간을 보시면 1 초 차이로 등록이 되었군요 ㅋㅋ

  • profile

    #==============================================================================
    # â–   SephirothSpawn's Slanted bars in VX
    #     25.4.2008
    #------------------------------------------------------------------------------
    #  Script by: Kylock (Based on SephirothSpawn's Original Slanted Bars)
    #==============================================================================
    #    Inspired by Syvkal (http://rmvxpuniverse.com) who ported Cogwheel Style
    #  bars to VX, I realized how much I missed Seph's Slanted Bars.  So here they
    #  are.  Just add this script and it'll automagically transform your HP and MP
    #  bars.  Bar colors are easily customized in the following module.
    #==============================================================================
    #  Change Log
    #  1.0 - Original Release.
    #  1.1 - Added option to use default window skin colors.
    #==============================================================================

    module SLANT_BARS
      USE_WINDOWSKIN = false  # If set to true, the colors will be taken from the
                              #  current system skin and the following settings
                              #  will be ignored.
     
      DEFAULT_HP_BAR_COLOR = Color.new(208,48,65,255)    # Beginning color of HP bar
      DEFAULT_HP_END_COLOR = Color.new(231,185,94,255)# Ending color of HP bar
     
      DEFAULT_MP_BAR_COLOR = Color.new (38,47,187,255)  # Begenning color of MP bar
      DEFAULT_MP_END_COLOR = Color.new(153,57,204,255) # Ending color of MP bar
    end

    class Window_Base < Window
      #==========================================================================
      # * Draw Slant Bar(by SephirothSpawn)
      #==========================================================================
      def draw_slant_bar(x, y, min, max, width = 152, height = 6,
        bar_color = Color.new(150, 0, 0, 255),
        end_color = Color.new(255, 255, 60, 255))
        # Draw Border
        for i in 0..height
          self.contents.fill_rect(x + i, y + height - i, width + 1, 1,
            Color.new(50, 50,50, 255))
        end
        # Draw Background
        for i in 1..(height - 1)
          r = 78 * (height - i) / height + 0 * i / height
          g = 29 * (height - i) / height + 0 * i / height
          b = 1 * (height - i) / height + 0 * i / height
          a = 255 * (height - i) / height + 255 * i / height
          self.contents.fill_rect(x + i, y + height - i, width, 1,
            Color.new(r, b, g, a))
        end
        # Draws Bar
        for i in 1..( (min / max.to_f) * width - 1)
          for j in 1..(height - 1)
            r = bar_color.red * (width - i) / width + end_color.red * i / width
            g = bar_color.green * (width - i) / width + end_color.green * i / width
            b = bar_color.blue * (width - i) / width + end_color.blue * i / width
            a = bar_color.alpha * (width - i) / width + end_color.alpha * i / width
            self.contents.fill_rect(x + i + j, y + height - j, 1, 1,
              Color.new(r, g, b, a))
          end
        end
      end
      #--------------------------------------------------------------------------
      # * Draw HP gauge
      #     actor : actor
      #     x     : draw spot x-coordinate
      #     y     : draw spot y-coordinate
      #     width : Width
      #--------------------------------------------------------------------------
      def draw_actor_hp_gauge(actor, x, y, width = 131)
        if SLANT_BARS::USE_WINDOWSKIN
          draw_slant_bar(x-3,y+13,actor.hp,actor.maxhp,width,8,
            hp_gauge_color1,hp_gauge_color2)
        else
          draw_slant_bar(x-3,y+13,actor.hp,actor.maxhp,width,8,
            SLANT_BARS::DEFAULT_HP_BAR_COLOR,SLANT_BARS::DEFAULT_HP_END_COLOR)
        end
      end
      #--------------------------------------------------------------------------
      # * Draw MP Gauge
      #     actor : actor
      #     x     : draw spot x-coordinate
      #     y     : draw spot y-coordinate
      #     width : Width
      #--------------------------------------------------------------------------
      def draw_actor_mp_gauge(actor, x, y, width = 131)
        if SLANT_BARS::USE_WINDOWSKIN
          draw_slant_bar(x-3,y+13,actor.mp,actor.maxmp,width,8,
            mp_gauge_color1,mp_gauge_color2)
        else
          draw_slant_bar(x-3,y+13,actor.mp,actor.maxmp,width,8,
            SLANT_BARS::DEFAULT_MP_BAR_COLOR,SLANT_BARS::DEFAULT_MP_END_COLOR)
        end
      end
    end


  1. 아방스 게시물 · 댓글 작성 규칙 (최근 수정일 2015.11.25)

    Date2012.07.17 Category공지 By완폐남™ Views41188
    read more
  2. 안녕하세요! 오늘 가입한 깐따삐야라고합니다.

    Date2009.08.25 Category가입 By깐따삐야 Views1725
    Read More
  3. 보스 패턴 두 번째 시간

    Date2009.08.25 Category잡담 By달표범 Views1535
    Read More
  4. 메가맨 혹은 록맨 스프라이트 사이트

    Date2009.08.25 Category잡담 By카르와푸딩의아틀리에 Views2609
    Read More
  5. 열기가 후끈 후끈 느껴지는..

    Date2009.08.25 Category잡담 ByKNAVE Views1101
    Read More
  6. 이벤트로 3d만들기

    Date2009.08.25 Category잡담 Byfgdr147 Views1265
    Read More
  7. 로고

    Date2009.08.25 Category잡담 ByKNAVE Views1378
    Read More
  8. 유즈미님 저 질문좀..?

    Date2009.08.25 Category잡담 By칼리아 Views1073
    Read More
  9. 디아블로식 체력 게이지

    Date2009.08.25 Category잡담 ByKNAVE Views1191
    Read More
  10. 오라테 여자친구있었어 ㅅ*ㅅ*ㅅ*ㅂ*ㅂ*ㅅ*ㅂ*

    Date2009.08.26 By君塚ちえい Views1438
    Read More
  11. 전투방식질문

    Date2009.08.27 By아레나이 Views1190
    Read More
  12. 잉여~~킹!

    Date2009.08.27 Category잡담 By君塚ちえい Views1168
    Read More
  13. NHN DeView 2009가 열립니다.

    Date2009.08.27 By독도2005 Views1736
    Read More
  14. 고기돌리기!!!

    Date2009.08.27 Category잡담 ByKNAVE Views1728
    Read More
  15. 배추벌레님 이거 가지셈

    Date2009.08.27 Category잡담 By카르와푸딩의아틀리에 Views1105
    Read More
  16. 쩝. 전 이제 쪽팔려서 학교 어케 다니죠..

    Date2009.08.27 Category잡담 By'알중_ Views1412
    Read More
  17. 웃긴거 ㅋㅋ

    Date2009.08.27 Category잡담 By괴도키드 Views1486
    Read More
  18. 님들 내가 이런사람입니다..

    Date2009.08.28 Category잡담 BySCUD Views932
    Read More
  19. [98% 부족할 때] 2화 제작 중입니다.

    Date2009.08.28 Category잡담 ByPhotoshop CS2 Views1560
    Read More
  20. 유즈미님 이런거면 되나용?

    Date2009.08.28 Category잡담 BySCUD Views1473
    Read More
  21. 이치고 미안...

    Date2009.08.28 Category잡담 By카르와푸딩의아틀리에 Views1846
    Read More
목록
Board Pagination Prev 1 ... 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 ... 755 Next
/ 755