Floodeiros
Ola Convidado Seja bem vindo a Floodeiros!




Entre clicando aqui ou se Registre clicando aqui

Register Now!
Members have more Vantages
its Free!
Floodeiros
Ola Convidado Seja bem vindo a Floodeiros!




Entre clicando aqui ou se Registre clicando aqui

Register Now!
Members have more Vantages
its Free!
Floodeiros
Gostaria de reagir a esta mensagem? Crie uma conta em poucos cliques ou inicie sessão para continuar.


Floodeiros, o seu forum de informação e diversão!
 
InícioPortalÚltimas imagensProcurarRegistarEntrar
Convidado, seja bem vindo a Floodeiros!!
Leia as nossas Regras
Procurar
 
 

Resultados por:
 
Rechercher Pesquisa avançada
Últimos assuntos
» Excluir Conta Nesse Site
Controle de Veneno HoT DoT Icon_minitimeDom Nov 04, 2012 9:00 pm por Khronos

» Regras Gerais
Controle de Veneno HoT DoT Icon_minitimeTer Set 25, 2012 4:14 pm por rafaelgato

» Via Láctea pode ter planetas 'nômades', sugere estudo
Controle de Veneno HoT DoT Icon_minitimeTer Set 18, 2012 9:17 pm por Khronos

» Poketeck
Controle de Veneno HoT DoT Icon_minitimeSáb Jul 14, 2012 3:03 pm por Marcio1000

» [Matematica] 1° ano do ensino Medio - Apostila Volume 2
Controle de Veneno HoT DoT Icon_minitimeTer Jun 19, 2012 12:47 pm por daniel oliveira

» Aberturas de Pokemon PT-BR+PT-PT+Japonês+Americana
Controle de Veneno HoT DoT Icon_minitimeSáb Jun 09, 2012 4:19 pm por Marcio1000

» CHAT blad
Controle de Veneno HoT DoT Icon_minitimeSáb Jun 02, 2012 3:08 pm por Marcio1000

» As maiores farsas do Facebook
Controle de Veneno HoT DoT Icon_minitimeSáb Jun 02, 2012 2:57 pm por Marcio1000

» Cachorro sem dono corre 1,7 mil quilômetros ao lado de ciclistas
Controle de Veneno HoT DoT Icon_minitimeSáb Jun 02, 2012 2:50 pm por Marcio1000

Quem está conectado?
23 usuários online :: 0 registrados, 0 invisíveis e 23 visitantes

Nenhum

O recorde de usuários online foi de 277 em Dom Abr 11, 2021 9:43 pm
Estatísticas
Temos 62 usuários registrados
O último membro registrado é rafaelgato

Os nossos membros postaram um total de 9320 mensagens em 2345 assuntos
Tradutor Google
English French German Spain Italian Dutch
Russian Portuguese Japanese Korean Arabic Chinese Simplified
Contador de visitas
contador de visitas
contador de visitas
Parceiros

Controle de Veneno HoT DoT Banneryl

PumaCheats

Controle de Veneno HoT DoT Narutoconnectionbanner

Controle de Veneno HoT DoT De18it

Naruto Rpg Akateam

Rpg Dynamics

Divulgue!
Copie o codigo e divulgue tbm! Controle de Veneno HoT DoT Banner10 (codigo no spoiler)
Spoiler:
 
Visite a floodeiros no:
Controle de Veneno HoT DoT Twittermbi Controle de Veneno HoT DoT Facebookia Controle de Veneno HoT DoT Orkutig Controle de Veneno HoT DoT Iconte10

Compartilhe | 
 

 Controle de Veneno HoT DoT

Ver o tópico anterior Ver o tópico seguinte Ir para baixo 
AutorMensagem
Khronos
Administrador
Administrador
Khronos

Mensagens Mensagens : 4647
Pontos Pontos : 20402
Creditos Creditos : 200
Data de inscrição Data de inscrição : 12/11/2010
Idade Idade : 29
Localização Localização : Sky
Respeito as Regras : Controle de Veneno HoT DoT 11101010

Controle de Veneno HoT DoT Empty
MensagemAssunto: Controle de Veneno HoT DoT   Controle de Veneno HoT DoT Icon_minitimeQui Jan 20, 2011 11:48 pm

Introdução


Esse script permite você ter um controle melhor sobre o status de
veneno(poison),no rpg maker VX,envenamento faz apenas uma coisa,mas com
esse script voce pode configurá-lo de várias maneiras o fazendo retirar
mais por exemplo,ou rancando por tempo ao invé de por turnos,bom,eis
todas as características:


  1. Permite vários tipos de veneno
  2. Pode fazer veneno que até cura
  3. Envenenamento pode acertar MP também dentre outros status
  4. Mais que um veneno o acerta
Instruções


Copie e cole o script acima do Main,o resto está no script,ele pode ser facilmente configurado a seu gosto,use sua imaginação

Script


Código:
#==============================================================================
# HoT DoT
# Author: Shdwlink1993
# Version: 1.0b
# Type: Poison Control
#:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=
# HT Date 1.0b: 1/11/2009
#:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=
#
# #  This work is protected by the following license:
# #----------------------------------------------------------------------------
# # 
# #  Creative Commons - Attribution-NonCommercial-ShareAlike 3.0 Unported
# #  ( http://creativecommons.org/licenses/by-nc-sa/3.0/ )
# # 
# #  You are free:
# # 
# #  to Share - to copy, distribute and transmit the work
# #  to Remix - to adapt the work
# # 
# #  Under the following conditions:
# # 
# #  Attribution. You must attribute the work in the manner specified by the
# #  author or licensor (but not in any way that suggests that they endorse you
# #  or your use of the work).
# # 
# #  Noncommercial. You may not use this work for commercial purposes.
# # 
# #  Share alike. If you alter, transform, or build upon this work, you may
# #  distribute the resulting work only under the same or similar license to
# #  this one.
# # 
# #  - For any reuse or distribution, you must make clear to others the license
# #    terms of this work. The best way to do this is with a link to this web
# #    page.
# # 
# #  - Any of the above conditions can be waived if you get permission from the
# #    copyright holder.
# # 
# #  - Nothing in this license impairs or restricts the author's moral rights.
# # 
# #----------------------------------------------------------------------------
# #
# # Note that if you share this file, even after editing it, you must still
# # give proper credit to shdwlink1993.
#
#:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=
#
#                                ~= Function =~
#
# This script is designed to allow you to expand what poison does to your
# character. Poison now is able to affect HP or MP, and take off a fraction or
# a set amount of HP/MP.
#
#:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=
#
#                              ~= Version History =~
#
# Version 1.0b ---------------------------------------------------- [1/11/2009]
#
#:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=
#
#                              ~= Customization =~
#
# Customization can be found right under where the Poison Database begins.
#
#:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=
#
#                              ~= Compatability =~
#
# - Will not work with other Poison-editing scripts.
#
#:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=

module SL93
 
  def self.hotdot(id)
    case id
    #------------------------------------------------------------------------
    # Poison Database Begins
    #------------------------------------------------------------------------
    #  when STATE_NUMBER then return [TYPE, DAMAGE, VARIANCE, LIMIT_DRAIN]
    #  * STATE_NUMBER is the state you want to be affected by this.
    #  * TYPE refers to the thing sustaining damage.
    #      1 = HP, 2 = MP. If the type is positive, the amount is a literal
    #      number (eg. You lose about 50 HP). If the type is negative, then
    #      the amount is a fraction of the maximum (eg. You lose about 50% of
    #      your HP).
    #  * DAMAGE refers to how much damage is healed/taken.
    #      A Positive amount hurts you and a negative amount heals you.
    #  * VARIANCE refers to how much the damage varies. Positive only.
    #      This depends in part on if the type was positive (~5 HP difference)
    #      or negative (~5% HP difference).
    #  * LIMIT_DRAIN refers to if the poison can leave you with 0 HP/SP.
    #      If true, then it is limited, and stops at 1. If false, then it
    #      isn't.
    #------------------------------------------------------------------------
    when 2 then return [-1, 10, 10, false]  # Standard Poison
    #------------------------------------------------------------------------
    # Poison Database Ends
    #------------------------------------------------------------------------
    end
    return false
  end
 
end

class Game_Battler
 
  def slip_damage?
    return @states.any? {|i| SL93.hotdot(i) != false }
  end
 
  def slip_damage_effect
    ids = []
    for i in @states
      ids.push(i) if SL93.hotdot(i) != false
    end
    for i in ids
      damage = SL93.hotdot(i)[1] if SL93.hotdot(i)[0] > 0
      damage = self.maxhp / SL93.hotdot(i)[1] if SL93.hotdot(i)[0] == -1
      damage = self.maxsp / SL93.hotdot(i)[1] if SL93.hotdot(i)[0] == -2
      if damage.abs > 0 && SL93.hotdot(i)[2] > 0
        amp = [damage.abs - SL93.hotdot(i)[2], 1].max if SL93.hotdot(i)[0] > 0
        amp = [damage.abs * SL93.hotdot(i)[2] / 100, 1].max if SL93.hotdot(i)[0] < 0
        damage += rand(amp+1) + rand(amp+1) - amp
      end
      damage = damage * -1 if SL93.hotdot(i)[0] < 0
      if SL93.hotdot(i)[0] == 1 || SL93.hotdot(i)[0] == -1
        damage = self.hp - 1 if !SL93.hotdot(i)[3] && (0 > self.hp += damage)
        self.hp += damage
      elsif SL93.hotdot(i)[0] == 2 || SL93.hotdot(i)[0] == -2
        damage = self.mp - 1 if !SL93.hotdot(i)[3] && (0 > self.mp += damage)
        self.mp += damage
      end
    end
    return true
  end
 
end

class Game_Party
 
  def on_player_walk
    for actor in members
      if actor.slip_damage?
        actor.slip_damage_effect
        $game_map.screen.start_flash(Color.new(255,0,0,64), 4)
        $game_temp.next_scene = "gameover" if $game_party.all_dead?
      end
    end
  end
 
end

Creditos

shdwlink1993 por criar
eu Khronos por postar aqui
e você Convidado Por ler e comentar ;D


anyway

see yaa ;D
Ir para o topo Ir para baixo
https://floodeiros.forumeiros.com
 

Controle de Veneno HoT DoT

Ver o tópico anterior Ver o tópico seguinte Ir para o topo 

 Tópicos semelhantes

-
» Forças de Khadafi recuperam controle de Zauia
» Harvest moon Island of Happiness: Controle de Qualidade
» Gamer cria controle de PS3 a partir de um Xbox360 quebrado.
» Controle que fica quente ou frio de acordo com a fase do game ^^
» Cirurgiões utilizam controle de Xbox para raio-X 3D de pacientes
Página 1 de 1

Permissões neste sub-fórumNão podes responder a tópicos
Floodeiros :: RPG Maker :: RPG Maker VX :: RGSS2 (Scripts)-
Ir para: