자유게시판

 

 

 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완폐남™ Views41204
    read more
  2. 수능이 얼마 남지 않았군요.

    Date2009.11.03 Category잡담 ByEvangelista Views1319
    Read More
  3. 처참하군요...

    Date2009.11.03 Category잡담 By가이사르 Views1110
    Read More
  4. 작년에 갔었던 일본 사진들..

    Date2009.11.03 Category잡담 By코르뉴 Views904
    Read More
  5. 팬시의 스킬들

    Date2009.11.02 Category잡담 By코르뉴 Views840
    Read More
  6. 채색 잘하시는분..

    Date2009.11.02 Category잡담 By카나미군 Views799
    Read More
  7. 액터부분 윈도스킨없애고 ... 골드 표시 좀 위로올림

    Date2009.11.02 By라이네크 Views935
    Read More
  8. 질문~!!!

    Date2009.11.02 By코르뉴 Views772
    Read More
  9. 요롷코롬 바꿔주세요

    Date2009.11.02 ByLast H Views724
    Read More
  10. 온라인 개발방향 변경 =ㅅ=

    Date2009.11.02 Category잡담 By효과음 Views1318
    Read More
  11. 중화 5천년의 신비 : 최신판

    Date2009.11.02 Category잡담 ByEvangelista Views1041
    Read More
  12. 키보드 워리어즈

    Date2009.11.02 Category잡담 ByEvangelista Views825
    Read More
  13. 이탈리아군의 명성은 익히들어 알고있으나

    Date2009.11.02 Category잡담 ByEvangelista Views999
    Read More
  14. 타이틀 완성햇습니다 .ㅅ.

    Date2009.11.02 By라이네크 Views964
    Read More
  15. 아파치세팅완료 기념

    Date2009.11.01 Category잡담 By이프 Views893
    Read More
  16. Date2009.11.01 Category잡담 By코르뉴 Views744
    Read More
  17. 럭 시스템 완성!!!!

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

    Date2009.11.01 Category잡담 By코르뉴 Views775
    Read More
  19. 코르뉴님 module RPG 관련 일부입니다.

    Date2009.11.01 Category잡담 ByEvangelista Views1024
    Read More
  20. LUK 부분 조금.. 짤렷는데 이거 어찌해야하지 ㅋㅋ

    Date2009.11.01 By라이네크 Views812
    Read More
  21. 서버 ON-OFF 그림으로표시해주기

    Date2009.11.01 By小子非 Views1688
    Read More
목록
Board Pagination Prev 1 ... 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 ... 755 Next
/ 755