Welcome to XOXOXOXO@blogspot.com
Use the arrow keys to move the character
Press the space-key to interact with objects
JASS (Programming language)
Wednesday, March 31, 2010
Pfft.
I tried to get xiian to learn programming =x
Not sure if she will ever try, her excuse is that she can't even understand "HTML"

Jesus Christ!
HTML and JASS are 2 different things!

Besides, JASS was made by Blizzard so that idiots like her and I can learn programming basics.
I mean, how hard is it to understand THIS!:

scope Familiar2 initializer Familiar2

globals
unit array familiardef
boolean array FamiliarActivate
unit array DefTarget
endglobals

private struct Fam
private static Fam data = 0
private static hashtable ht = InitHashtable()
group FamiliarRange = CreateGroup()
unit caster //Hero
unit familiar //Familiar
integer A01PLevel //Napalm Blade
integer AGI //Hero Agility
integer ticks=0 //Number of cycles
timer t //Time in between commands
real Cx //Caster X
real Cy //Caster Y
real Fx //Familiar X
real Fy //Familiar Y
real rad //Radian
real r = 400.00 //Distance Between Hero and Familiar
integer A01YLevel //Familiar Level
group damagedunits = CreateGroup() //Ensures units are damaged once per round?
integer arrayunit = 1 //For FamiliarDef to associate with the spawned dummy
boolean FirstTimeActive = false //Sets life-time of dummy when Devition is cast
static method FamGroup takes nothing returns boolean
local unit u = GetFilterUnit()
local Fam f = Fam.data
local real damage
local location l = Location(GetUnitX(u), GetUnitY(u))
if IsUnitEnemy(u, GetOwningPlayer(f.caster)) == true and IsUnitInGroup(u, f.damagedunits) == false then
set damage = I2R(R2I(((((f.A01PLevel * 0.11) + 0.11 ) * f.AGI)) + (f.A01PLevel * 5) * (f.A01YLevel * 0.1)))
call UnitAddAbility(u, 'A026')
call IssueTargetOrder(u, "bloodlust", u)
call UnitRemoveAbility(u, 'A026')
call DestroyEffect(AddSpecialEffectTarget("Environment\\UndeadBuildingFire\\UndeadLargeBuildingFire2.mdl", u, "chest"))
call CreateTextTagLocBJ( I2S(R2I(damage))+"!", l, 0, 10, 100, 0,0, 0 )
call SetTextTagLifespanBJ( bj_lastCreatedTextTag, 1.00 )
call SetTextTagPermanentBJ( bj_lastCreatedTextTag, false )
call UnitDamageTarget(f.caster,u,damage,false,false,ATTACK_TYPE_MAGIC,DAMAGE_TYPE_FIRE,null)
call GroupAddUnit(f.damagedunits, u)
endif
set u = null
call RemoveLocation(l)
set l = null
return false
endmethod


static method FamTimer takes nothing returns nothing
local Fam f = LoadInteger(Fam.ht, GetHandleId(GetExpiredTimer()), 0)
local integer tickcount
if f.ticks < firsttimeactive ="="" ticks =" R2I(640" firsttimeactive =" true" rad =" f.rad" cx =" GetUnitX(DefTarget[f.arrayunit])" cy =" GetUnitY(DefTarget[f.arrayunit])" fx =" f.Cx" fy =" f.Cy" rad =" f.rad" cx =" GetUnitX(f.caster)" cy =" GetUnitY(f.caster)" fx =" f.Cx" fy =" f.Cy" ticks =" f.ticks+1" data =" f" tickcount =" ModuloInteger(f.ticks," tickcount ="="" f =" Fam.allocate()" caster =" GetTriggerUnit()" cx =" GetUnitX(f.caster)" cy =" GetUnitY(f.caster)" rad =" GetUnitFacing(f.caster)" fx =" f.Cx" fy =" f.Cx" a01plevel =" GetUnitAbilityLevel(f.caster," agi =" GetHeroAgi(f.caster," t =" CreateTimer()" a01ylevel =" GetUnitAbilityLevel(f.caster," udg_klivenapalmlevel =" GetUnitAbilityLevel(GetTriggerUnit()," familiar =" CreateUnit(GetOwningPlayer(f.caster)," udg_napalmbearer =" f.caster" arrayunit ="="" arrayunit =" f.arrayunit+1" caster =" null" familiar =" null" damagedunits =" null"> 0
endfunction


//===========================================================================
private function Familiar2 takes nothing returns nothing
local trigger t = CreateTrigger( )
local integer i = 0
loop
exitwhen i == 8
call TriggerRegisterPlayerUnitEvent(t, Player(i), EVENT_PLAYER_UNIT_SPELL_EFFECT, null)
set i = i+1
endloop
call TriggerAddCondition(t, Condition(function FamCond))
call TriggerAddAction( t, function Fam.FamAct )
endfunction

endscope




Ehh..
Okay, so it might be a teensy bit more complicated than I make it out to be.
But everything takes time..
This post was made @ 11:01 PM
Spectral Force Genesis
Tuesday, March 30, 2010
There's this DS game that isn't exactly new, but I'd only just begun to play it today and I find it awesome.
It's about conquering the whole damn world.
The title of this game is: Spectral Force Genesis

I practically played it from dawn till dusk.
I went to meet xiian, but she was so tired that she went back early =/

Still, at least I had my game to accompany me.
This post was made @ 12:30 AM
Dragon!
Sunday, March 28, 2010
Eh, I didn't update yesterday, did I?
Meh, guy like me has the attention span of 2 goldfishes.

Today, I watched "How to train your dragon", not in 3D, though.
Toothless was so damn cute =/
Gotta' buy myself a dragon some day.

My eyes hurt for some reason, they feel like closing but I ain't tired.
And I swear this pain and my headache are somehow related.

Maybe crushing some rocks with my head will help..
This post was made @ 11:52 PM
xiian
Friday, March 26, 2010
Wahahahaha, I bet xiian thought that I've lost the ability to skin blogs!
BUT!
I haven't!

Well.. okay, so I cheated..
Everything in between the <> and < /head > tags, I copied from an older blogskin I made..
BUT!
I would have coded it the same way if I'd done it from scratch anyway ~_~

Everything else, I re-coded!


Eh, today was kinda' okay..
I went to meet xiian and played "From The Abyss" on teh DS using the WiFi mode.
It's, like, a dungeon game where you control your hero through the labyrinth and defeat the evil boss at the end of it.
But xiian was so tired after her camp that we hardly played at all =/

And I think her fatigue made her mind a bit slow =x
She kept dying xD

Okay, ENOUGH!
Today was kinda' fun.
This post was made @ 6:46 PM
New Blog
Thursday, March 25, 2010
Hey, everybody!
This will be my new blog from now on, because I like how I've made this blog.

Today's post is on the "Thoughts" section
Just click on it, then click on "The 17 Year-Old Principal"

The "Thoughts" section is where I post my RANTS

Yes, I have to let off steam some-how
Do tag, and have a great week!
This post was made @ 1:48 PM
Test
Testing
This post was made @ 5:17 AM
Name : Justin
D.O.B : Jan 08' 1994
Course : Game and Entertainment Technology @ TP
Is in a relationship with Dyana ~