자유게시판

 

 

 def add_eexp(type)
    @eexp[type] += 1
    ls_id = EEXP[type][3][@eexp[type]]
    learn_skill(ls_id) if !ls_id.nil?
  end

 

요거랑

class Scene_Battle < Scene_Base
  include Extra_exp
  alias eexp_display_added_states display_added_states
  def display_added_states(target, obj = nil)
    eexp_display_added_states(target,obj)
    eexp_absorb if !$free_eexp.nil?
  end

  def eexp_absorb
    mt = []
    for a in $game_party.members
      mt.push(a) if a.mtype_exp == $free_eexp
    end
      m = $game_party.members[rand($game_party.members.size)]
    $game_actors[m.id].add_eexp($free_eexp)
    $free_eexp = nil
  end
end

 

짐 요부분에서요

 

그 게임안에 이벤트 스크립트로

어떻게 임의의 $free_eexp = n 을정해서

    

  m = $game_party.members[rand($game_party.members.size)]
    $game_actors[m.id].add_eexp[($free_eexp)
    $free_eexp = nil

요것처럼 더해줄 수 있나요?

 

 

 

 

추가내용입니다.

class Game_Enemy < Game_Battler
  include Extra_exp

  alias colapsed_eexp perform_collapse
  def perform_collapse
    colapsed_exep
    if $game_temp.in_battle and dead?
      $free_eexp = eexp_type?(enemy)
    end
  end

 

def eexp_type?(enemy)
    ptype = []; rtype = []   
    for rank in -100..200
      for el_id in 0...$data_system.elements.size
        ptype.push(el_id) if rank == element_rate(el_id)
      end
      if !ptype.empty?
        for sp_i in 0...EEXP.size
          for pt in ptype
            rtype.push(sp_i) if pt == EEXP[sp_i][1]
          end
        end
        type = rtype[rand(rtype.size)]
        if !type.nil?
          return type
          break
        end
      elsif ptype.size == $data_system.elements.size
        return Eexpless ? nil : 0
      end     
    end
    return nil
  end 
end

TAG •

Who's 코르뉴

?

10년차 쯔꾸르시리즈의 아웃사이더.

 제작 완성된 주요 게임들( 2003년 이전 게임들은 현재 자료가 남아있지도 기억도 잘 나지 않아서 생략)

The Knight Part 1 - 창조도시 게임자료실(2003)

The Knight Part 2 - 창조도시 완성작(2003)

The Knight Part 3 - 창조도시 완성작(2004)

The Knight Part 4 - 창조도시 완성작(2004)

The Knight Part 5 - 개인 보관 후 자료 소멸(2005)

Natural selection(아케이드) - 완성판 배포(2005)

Azure Moon (proto type) - 개인 보관 후 자료 소멸(2006)

Azure Moon : limitless addition - 체험판 배포, 완성판 개인 보관 후 자료 소멸(2006)

Stokesia(Azure Moon, proto type)  - 개인 보관 후 자료 소멸 (2007)

Stokesia(Azure Moon)  - 개인 보관 중(2008)

Natural selection(3D FPS Type) - 제작 중단 연구용 완성판 배포(2008)

코르뉴의 전설(proto type) - 체험판 배포, 개인 보관 중(2009)

 

Arcadia - 개인 제작, 테스팅 까지만 완료(2011)

TowerDefence - 개인 제작, 타워 디펜스 카페등에 알파버전까지만 수록(2011)

Avengers - 개인 제작, 일리히트 엔진 + Bullet엔진 사용, 알파 버전까지만 배포(2011)

 

연구과제

-Java 1.6

-mysql, php, flash 연동 웹게임

-Unity Engine with Flash

-Flixel Engine with Flash Builder

Comment '1'
  • ?
    코르뉴 2009.11.02 18:11

    $가 뭘 어떻게하는진 몰라도

    $free_eexp = eexp_type?(1)
    k = $game_party.members.size
    chosen = $game_party.members[rand(k)]
    $game_actors[chosen.id].add_eexp_piece($free_eexp)
    $free_eexp = nil

    요렇게 했는데 안되더군요

     


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

    Date2012.07.17 Category공지 By완폐남™ Views41184
    read more
  2. 으엉으엉... 졸..졸업이다~@#@@ ㅠㅠ

    Date2010.02.10 Category잡담 By『★Browneyedgirls』 Views667
    Read More
  3. 요게 플탐 2시간 이상분량,,

    Date2009.11.06 Category잡담 By코르뉴 Views727
    Read More
  4. VX 그냥 기본 ATB없어서 만들었음

    Date2009.11.05 Category잡담 By코르뉴 Views800
    Read More
  5. 라이네크님.

    Date2009.11.04 Category잡담 By코르뉴 Views736
    Read More
  6. 원본입니다.

    Date2009.11.03 Category잡담 By코르뉴 Views697
    Read More
  7. 질문~!!!

    Date2009.11.02 By코르뉴 Views772
    Read More
  8. 온라인 개발방향 변경 =ㅅ=

    Date2009.11.02 Category잡담 By효과음 Views1318
    Read More
  9. Date2009.11.01 Category잡담 By코르뉴 Views744
    Read More
  10. 럭 시스템 완성!!!!

    Date2009.11.01 Category잡담 By코르뉴 Views804
    Read More
  11. 오류가 나는 부분입니다 , 몹 드랍, luck.

    Date2009.11.01 Category잡담 By코르뉴 Views775
    Read More
  12. 이것은 루즈한 월드맵입니다.

    Date2009.10.31 Category잡담 By코르뉴 Views1073
    Read More
  13. 이것이 바로 루즈한 맵배치입니다.

    Date2009.10.31 Category잡담 By코르뉴 Views1079
    Read More
  14. 맛보기 스샷 입니다.

    Date2009.10.30 Category잡담 By코르뉴 Views1218
    Read More
  15. IS THIS FARMMM?

    Date2009.10.28 Category잡담 By코르뉴 Views1318
    Read More
  16. 이번엔 폭포랄까...

    Date2009.10.26 Category잡담 By코르뉴 Views950
    Read More
  17. 개구락지

    Date2009.10.25 Category잡담 By코르뉴 Views855
    Read More
  18. 환경설정도 완성. 파죽지세.

    Date2009.09.20 Category잡담 ByEvangelista Views1092
    Read More
  19. 배틀메시지 제어때매 골좀 쳤음 ㅡ.ㅡ

    Date2009.09.20 Category잡담 ByEvangelista Views1048
    Read More
  20. 져때씀 ㅡ.ㅡ;

    Date2009.09.12 Category잡담 ByEvangelista Views1097
    Read More
  21. 몬스터도감 인터페이스 완성했습니다.

    Date2009.09.10 Category잡담 ByEvangelista Views1323
    Read More
목록
계속 검색
Board Pagination Prev 1 2 Next
/ 2