| [RGSS2] Ethereal Monster & Counter Equips | |
|
|
Pengirim | Message |
---|
richter_h Salto Master Hancip RMID
Posts : 1705 Thanked : 30 Engine : Other Skill : Skilled Type : Developer
Trophies
Awards:
| Subyek: [RGSS2] Ethereal Monster & Counter Equips 2012-08-10, 04:39 | |
| Ethereal Monster and Ethereal Counter Equipment Versi: 1.0 Tipe: Actors and Equips Customization PengenalanSkrip ini buat bikin musuh tipe 'Ghost' yang nggak mungkin dibasmi pake senjata biasa. Cukup ngasi tag <ethereal> di note tag monster buat bikin si monster jadi tipe 'Ethereal' dan ngga bisa disakitin pake senjata biasa. Tentu saja monster Ethereal bisa dibasmi, dengan senjata yang bertipe 'magical.' Kasih tag <magical> di note tag senjata dan senjata tersebut bisa dipake ngelawan monster Ethereal. Bukan cuma senjata, equipment karakter juga bisa dikasi atribut 'magical' dan serangan karakter yang pake equipment tersebut bisa ngelawan monster Ethereal walau senjatanya senjata non-Magical. kasih tag <magical> di note tag armor dan equipment tersebut sudah ada tuahnya yang nular ke senjata. Fitur
- Bikin monster tertentu ngga bisa asal ditabok. Pasti ngindar kalo pake senjata biasa
- Bikin senjata atawa equipment bisa dipake buat basmi monster Ethereal
Screenshotsora perlu Demoora perlu juga cara installnya? biasa, simpen ni skrip di bawah Material dan di atas Main Scripts - Code:
-
# ============================================================================== # richter_h's Ethereal Monster and Ethereal Counter Equipment # v1.0 - August 10, 2012 # Type: Actors and Equips Customization # Level: Easy, Medium # ============================================================================== # Skrip ini buat bikin musuh tipe 'Ghost' yang nggak mungkin dibasmi pake # senjata biasa. Cukup ngasi tag <ethereal> di note tag monster buat bikin si # monster jadi tipe 'Ethereal' dan ngga bisa disakitin pake senjata biasa. # Tentu saja monster Ethereal bisa dibasmi, dengan senjata yang bertipe # 'magical.' Kasih tag <magical> di note tag senjata dan senjata tersebut bisa # dipake ngelawan monster Ethereal. # Bukan cuma senjata, equipment karakter juga bisa dikasi atribut 'magical' dan # serangan karakter yang pake equipment tersebut bisa ngelawan monster Ethereal # walau senjatanya senjata non-Magical. kasih tag <magical> di note tag armor # dan equipment tersebut sudah ada tuahnya yang nular ke senjata. # # Credits if you wanna. Don't claim as your own. # ============================================================================== # New methods: # - RPG::Weapon: magical # - RPG::Enemy: magical # - RPG::Armor: magical # - Game_actor: has_magical_buff? # Overwrites: # - Game_Battler: calc_eva # ==============================================================================
# ============================================================================== # Menyentuh yang di bawah ini lebih bahaya dari tabung LPG 3 kg, lhoo! :hammer # Jadi jauhi yang di bawah kecuali pernah latihan debus atawa ente emang # berpengalaman ngeskrip... :Peace: # ==============================================================================
# ------------------------------------------------------------------------------ # Make flag for Magical weapons # ------------------------------------------------------------------------------ module RPG class Weapon < BaseItem def magical self.note.scan(/<magical>/i){ return true} return false end end class Enemy def ethereal self.note.scan(/<ethereal>/i){ return true} return false end end class Armor < BaseItem def magical self.note.scan(/<magical>/i){ return true} return false end end end
class Game_Actor < Game_Battler def has_magical_buff? equips.compact.each { |item| return true if item.magical } return false end end # ------------------------------------------------------------------------------ # end of Magical Flag # ------------------------------------------------------------------------------
# ------------------------------------------------------------------------------ # Evasion adjusment for Ethereal monsters # ------------------------------------------------------------------------------ class Game_Battler def calc_eva(user, obj = nil) eva = self.eva unless obj == nil eva = 0 unless obj.physical_attack end unless parriable? eva = 0 end # And if the enemy is Ethereal and attacker wields physical weapon... if self.is_a?(Game_Enemy) and self.ethereal and (user.is_a?(Game_Actor) and !user.has_magical_buff?) return eva = 110 end return eva end end Credits
- richter_h yang ganteng
- Mr. G W buat referensi skrip
| |
|
| |
ashm Veteran
Posts : 1131 Thanked : 8 Engine : RMVX Ace Skill : Intermediate Type : Event Designer
Trophies
Awards:
| Subyek: Re: [RGSS2] Ethereal Monster & Counter Equips 2012-08-10, 04:48 | |
| Oh gak via state ya? Padahal keren tuh kombo 2 skill kayak criple + blast.
Uh, gak nambah proporsi damage ya? | |
|
| |
richter_h Salto Master Hancip RMID
Posts : 1705 Thanked : 30 Engine : Other Skill : Skilled Type : Developer
Trophies
Awards:
| Subyek: Re: [RGSS2] Ethereal Monster & Counter Equips 2012-08-10, 04:54 | |
| - ashm wrote:
- Oh gak via state ya?
Padahal keren tuh kombo 2 skill kayak criple + blast.
Uh, gak nambah proporsi damage ya? kalo mau sih ane tambahi juga cuman yang ini yang ane pake buat di ojekan ane niatnya, selain bikin musuh cuma bisa dibunuh pake senjata tertentu, ini juga bikin damage si senjata/serangan ditentuin sama SPI juga cuman, sementara ane masukin yang ini dulu | |
|
| |
aidilriski Senior
Posts : 643 Thanked : 2 Engine : Multi-Engine User Type : Mapper
| Subyek: Re: [RGSS2] Ethereal Monster & Counter Equips 2012-08-10, 10:52 | |
| wah keren Untuk VXA nya gk ada? *Downloaded | |
|
| |
richter_h Salto Master Hancip RMID
Posts : 1705 Thanked : 30 Engine : Other Skill : Skilled Type : Developer
Trophies
Awards:
| Subyek: Re: [RGSS2] Ethereal Monster & Counter Equips 2012-08-10, 10:54 | |
| well kayaknya baru worked buat RMVX sih kalo ada yang mau ngeport, monggo | |
|
| |
vanchamakh Newbie
Posts : 5 Thanked : 0 Engine : RMVX Skill : Beginner Type : Artist
| Subyek: Re: [RGSS2] Ethereal Monster & Counter Equips 2013-02-07, 04:08 | |
| kk koq error di line 87 no method error occured.. itu kenapa kk?? | |
|
| |
Heartbreak61 Novice
Posts : 177 Thanked : 4 Engine : RMVX Ace Skill : Very Beginner Type : Event Designer
| Subyek: Re: [RGSS2] Ethereal Monster & Counter Equips 2013-02-07, 11:12 | |
| coba tambah line ini sebelum line class Game_Battler - Code:
-
class Game_Enemy < Game_Battler def ethereal return enemy.ethereal end end | |
|
| |
bayudwinata10 Novice
Posts : 120 Thanked : 0 Engine : Multi-Engine User Skill : Intermediate
Trophies
Awards: | Subyek: Re: [RGSS2] Ethereal Monster & Counter Equips 2013-02-07, 15:00 | |
| kalo pasang nota tag <magical> diskill bisa kaga untuk lawan monster ethereal nya om ? | |
|
| |
richter_h Salto Master Hancip RMID
Posts : 1705 Thanked : 30 Engine : Other Skill : Skilled Type : Developer
Trophies
Awards:
| |
| |
Sponsored content
| Subyek: Re: [RGSS2] Ethereal Monster & Counter Equips | |
| |
|
| |
| [RGSS2] Ethereal Monster & Counter Equips | |
|